summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/Makefile
diff options
context:
space:
mode:
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>2005-11-14 11:02:20 +1100
committerPaul Mackerras <paulus@samba.org>2005-11-14 16:35:50 +1100
commit50092b233afa96b4c9a4b24ac38199c34e0880cd (patch)
tree03bf19e82f5808f9d8f7fe538b0a3f56c70c3672 /arch/powerpc/Makefile
parent593e537b93193d1696809817533ce5ad510445b1 (diff)
downloadlinux-50092b233afa96b4c9a4b24ac38199c34e0880cd.tar.gz
linux-50092b233afa96b4c9a4b24ac38199c34e0880cd.tar.bz2
linux-50092b233afa96b4c9a4b24ac38199c34e0880cd.zip
[PATCH] powerpc: Always rebuild arch/powerpc/include/asm symlink
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>
Diffstat (limited to 'arch/powerpc/Makefile')
-rw-r--r--arch/powerpc/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/Makefile b/arch/powerpc/Makefile
index 5bc11bd36c1f..d41ad2e675db 100644
--- a/arch/powerpc/Makefile
+++ b/arch/powerpc/Makefile
@@ -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