Skip to contentSkip to conversation

sparc: clean boot/

PATCH New Sam Ravnborg 1 participant 1 message Nov 29, 2008 SPARC + UltraSPARC (sparc/sparc64)

lore
Share & tools
lore
#0 lore raw

PATCH 6/10 sparc: clean boot/

Leave all clening to boot/Makefile
and delete zImage too when we do a 'make clean'

---
 arch/sparc/Makefile      |    2 --
 arch/sparc/boot/Makefile |    3 ++-
 2 files changed, 2 insertions(+), 3 deletions(-)
arch/sparc/Makefile +0 -2
index b8d1c5b..e83ec16 100644
@@ -54,8 +54,6 @@ archclean:
 # 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)'
arch/sparc/boot/Makefile +2 -1
index 014e3d1..74ba65b 100644
@@ -7,7 +7,8 @@ ROOT_IMG	:= /usr/src/root.img
 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 $@
Signature · 1 line
1.5.6.GIT