[PATCH] powerpc: Always rebuild arch/powerpc/include/asm symlink

Benjamin Herrenschmidt benh at kernel.crashing.org
Mon Nov 14 11:02:20 EST 2005


This patch uses a FORCE dependency on the arch/powerpc/include/asm
symlink so that it always gets rebuilt, thus avoiding all sort of funny
errors if the .config is changed between 32 and 64 bits.

Signed-off-by: Benjamin Herrenschmidt <benh at kernel.crashing.org>

Index: linux-work/arch/powerpc/Makefile
===================================================================
--- linux-work.orig/arch/powerpc/Makefile	2005-11-14 11:02:20.000000000 +1100
+++ linux-work/arch/powerpc/Makefile	2005-11-14 11:03:03.000000000 +1100
@@ -187,7 +187,7 @@
 
 # Temporary hack until we have migrated to asm-powerpc
 include/asm: arch/$(ARCH)/include/asm
-arch/$(ARCH)/include/asm:
+arch/$(ARCH)/include/asm: FORCE
 	$(Q)if [ ! -d arch/$(ARCH)/include ]; then mkdir -p arch/$(ARCH)/include; fi
 	$(Q)ln -fsn $(srctree)/include/asm-$(OLDARCH) arch/$(ARCH)/include/asm
 






More information about the Linuxppc64-dev mailing list