diff options
author | Sam Ravnborg <sam@ravnborg.org> | 2008-11-30 00:53:26 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-12-04 12:17:14 -0500 |
commit | c489326939b28ca93a8cfcbda8adbeb328101682 (patch) | |
tree | 45cb40dbad464b8f1613e441023365d859b0d886 /arch/sparc | |
parent | db5ea21a14b7c69bf495a741ae37ba15fb9eabd1 (diff) |
sparc: clean boot/
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>
Diffstat (limited to 'arch/sparc')
-rw-r--r-- | arch/sparc/Makefile | 2 | ||||
-rw-r--r-- | arch/sparc/boot/Makefile | 3 |
2 files changed, 2 insertions, 3 deletions
diff --git a/arch/sparc/Makefile b/arch/sparc/Makefile index 43db7e1d5335..9c4c8b8b451d 100644 --- a/arch/sparc/Makefile +++ b/arch/sparc/Makefile | |||
@@ -58,8 +58,6 @@ archclean: | |||
58 | # This is the image used for packaging | 58 | # This is the image used for packaging |
59 | KBUILD_IMAGE := $(boot)/zImage | 59 | KBUILD_IMAGE := $(boot)/zImage |
60 | 60 | ||
61 | CLEAN_FILES += arch/$(ARCH)/boot/System.map | ||
62 | |||
63 | # Don't use tabs in echo arguments. | 61 | # Don't use tabs in echo arguments. |
64 | define archhelp | 62 | define archhelp |
65 | echo '* image - kernel image ($(boot)/image)' | 63 | echo '* image - kernel image ($(boot)/image)' |
diff --git a/arch/sparc/boot/Makefile b/arch/sparc/boot/Makefile index 4fd562034a74..06b653df820d 100644 --- a/arch/sparc/boot/Makefile +++ b/arch/sparc/boot/Makefile | |||
@@ -7,7 +7,8 @@ ROOT_IMG := /usr/src/root.img | |||
7 | ELFTOAOUT := elftoaout | 7 | ELFTOAOUT := elftoaout |
8 | 8 | ||
9 | hostprogs-y := piggyback btfixupprep | 9 | hostprogs-y := piggyback btfixupprep |
10 | targets := tftpboot.img btfix.o btfix.S image | 10 | targets := tftpboot.img btfix.o btfix.S image zImage |
11 | clean-files := System.map | ||
11 | 12 | ||
12 | quiet_cmd_elftoaout = ELFTOAOUT $@ | 13 | quiet_cmd_elftoaout = ELFTOAOUT $@ |
13 | cmd_elftoaout = $(ELFTOAOUT) $(obj)/image -o $@ | 14 | cmd_elftoaout = $(ELFTOAOUT) $(obj)/image -o $@ |