]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
[PATCH] powerpc: Always rebuild arch/powerpc/include/asm symlink
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Mon, 14 Nov 2005 00:02:20 +0000 (11:02 +1100)
committerPaul Mackerras <paulus@samba.org>
Mon, 14 Nov 2005 05:35:50 +0000 (16:35 +1100)
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@kernel.crashing.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/Makefile

index 5bc11bd36c1f8eba426466ba7e4b136ca51bb2aa..d41ad2e675dbace2c626b8881484558ba302a5fa 100644 (file)
@@ -187,7 +187,7 @@ archprepare: checkbin
 
 # 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