[POWERPC] Remove generated files on make clean
authorKumar Gala <galak@kernel.crashing.org>
Mon, 11 Feb 2008 15:32:00 +0000 (02:32 +1100)
committerPaul Mackerras <paulus@samba.org>
Thu, 14 Feb 2008 11:11:02 +0000 (22:11 +1100)
vmlinux.lds and dtc-parser.tab.h get created but never cleaned up.

Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/boot/Makefile
arch/powerpc/kernel/Makefile

index 49797a45416c8ce441c3255ae2b0ce41a9989dbb..63d07ccbb9db5646e2a50522eb0206f4460bbefb 100644 (file)
@@ -147,6 +147,8 @@ HOSTCFLAGS += -I$(src)/dtc-src/ -I$(src)/libfdt/
 targets += dtc-src/dtc-parser.tab.c
 targets += dtc-src/dtc-lexer.lex.c
 
+clean-files += dtc-src/dtc-parser.tab.h
+
 ifdef DTC_GENPARSER
 BISON = bison
 FLEX = flex
index 0662ae46f7246321d865be8a92239679f1837d06..c1baf9d5903feaac10959b604d8a92ca5671c91e 100644 (file)
@@ -104,3 +104,5 @@ quiet_cmd_systbl_chk = CALL    $<
 PHONY += systbl_chk
 systbl_chk: $(src)/systbl_chk.sh $(obj)/systbl_chk.i
        $(call cmd,systbl_chk)
+
+clean-files := vmlinux.lds