powerpc: Fix clean target for empty.c

David Gibson david at gibson.dropbear.id.au
Wed Oct 4 13:41:11 EST 2006


Paulus, another tiny fix.  Applies after by fix for the dtc make rules.

The files listed in the clean-files variable should not include the
$(obj) prefix.  This patch corrects this for
arch/powerpc/boot/empty.c, which was not previously removed on "make
clean" for this reason.

Signed-off-by: David Gibson <david at gibson.dropbear.id.au>

Index: working-2.6/arch/powerpc/boot/Makefile
===================================================================
--- working-2.6.orig/arch/powerpc/boot/Makefile	2006-10-04 13:31:54.000000000 +1000
+++ working-2.6/arch/powerpc/boot/Makefile	2006-10-04 13:38:31.000000000 +1000
@@ -74,7 +74,7 @@ $(obj)/zImage.lds $(obj)/zImage.coff.lds
 	@cp $< $@
 
 clean-files := $(zlib) $(zlibheader) $(zliblinuxheader) \
-		$(obj)/empty.c *.dtb
+		empty.c *.dtb
 
 quiet_cmd_bootcc = BOOTCC  $@
       cmd_bootcc = $(CROSS32CC) -Wp,-MD,$(depfile) $(BOOTCFLAGS) -c -o $@ $<


-- 
David Gibson			| I'll have my music baroque, and my code
david AT gibson.dropbear.id.au	| minimalist, thank you.  NOT _the_ _other_
				| _way_ _around_!
http://www.ozlabs.org/~dgibson



More information about the Linuxppc-dev mailing list