diff options
author | Kumar Gala <galak@kernel.crashing.org> | 2008-02-11 10:32:00 -0500 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2008-02-14 06:11:02 -0500 |
commit | e4ccde0262a2b4d0889b1cbe4874d2aed120bbe4 (patch) | |
tree | 47e8b2e3dd31046e4fa6aa2f53a94c8f38b9c6b9 /arch | |
parent | 7084ebaa266e1686ef6e157aff9137cc28a92843 (diff) |
[POWERPC] Remove generated files on make clean
vmlinux.lds and dtc-parser.tab.h get created but never cleaned up.
Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/powerpc/boot/Makefile | 2 | ||||
-rw-r--r-- | arch/powerpc/kernel/Makefile | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/arch/powerpc/boot/Makefile b/arch/powerpc/boot/Makefile index 49797a45416c..63d07ccbb9db 100644 --- a/arch/powerpc/boot/Makefile +++ b/arch/powerpc/boot/Makefile | |||
@@ -147,6 +147,8 @@ HOSTCFLAGS += -I$(src)/dtc-src/ -I$(src)/libfdt/ | |||
147 | targets += dtc-src/dtc-parser.tab.c | 147 | targets += dtc-src/dtc-parser.tab.c |
148 | targets += dtc-src/dtc-lexer.lex.c | 148 | targets += dtc-src/dtc-lexer.lex.c |
149 | 149 | ||
150 | clean-files += dtc-src/dtc-parser.tab.h | ||
151 | |||
150 | ifdef DTC_GENPARSER | 152 | ifdef DTC_GENPARSER |
151 | BISON = bison | 153 | BISON = bison |
152 | FLEX = flex | 154 | FLEX = flex |
diff --git a/arch/powerpc/kernel/Makefile b/arch/powerpc/kernel/Makefile index 0662ae46f724..c1baf9d5903f 100644 --- a/arch/powerpc/kernel/Makefile +++ b/arch/powerpc/kernel/Makefile | |||
@@ -104,3 +104,5 @@ quiet_cmd_systbl_chk = CALL $< | |||
104 | PHONY += systbl_chk | 104 | PHONY += systbl_chk |
105 | systbl_chk: $(src)/systbl_chk.sh $(obj)/systbl_chk.i | 105 | systbl_chk: $(src)/systbl_chk.sh $(obj)/systbl_chk.i |
106 | $(call cmd,systbl_chk) | 106 | $(call cmd,systbl_chk) |
107 | |||
108 | clean-files := vmlinux.lds | ||