Leave all cleaning to boot/Makefile
and delete zImage too when we do a 'make clean'
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
# This is the image used for packaging
KBUILD_IMAGE := $(boot)/zImage
-CLEAN_FILES += arch/$(ARCH)/boot/System.map
-
# Don't use tabs in echo arguments.
define archhelp
echo '* image - kernel image ($(boot)/image)'
ELFTOAOUT := elftoaout
hostprogs-y := piggyback btfixupprep
-targets := tftpboot.img btfix.o btfix.S image
+targets := tftpboot.img btfix.o btfix.S image zImage
+clean-files := System.map
quiet_cmd_elftoaout = ELFTOAOUT $@
cmd_elftoaout = $(ELFTOAOUT) $(obj)/image -o $@