From: Benjamin Herrenschmidt Date: Mon, 14 Nov 2005 00:02:20 +0000 (+1100) Subject: [PATCH] powerpc: Always rebuild arch/powerpc/include/asm symlink X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=50092b233afa96b4c9a4b24ac38199c34e0880cd;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git [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 Signed-off-by: Paul Mackerras --- 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