It was not possible to use the same output directory for two different source repositories becuase the asm symlink in include2/asm would point to the first repository. We now create the symlink each time thus allowing switch between different source repositories. This feature was requested by Andi Kleen. Signed-off-by: Sam Ravnborg <sam@xxxxxxxxxxxx> Cc: Andi Kleen <andi@xxxxxxxxxxxxxx> --- Makefile | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/Makefile b/Makefile index b3d1c8f..2da055c 100644 --- a/Makefile +++ b/Makefile @@ -961,8 +961,8 @@ ifneq ($(KBUILD_SRC),) fi; $(Q)if [ ! -d include2 ]; then \ mkdir -p include2; \ - ln -fsn $(srctree)/include/asm-$(SRCARCH) include2/asm; \ fi + $(Q)ln -fsn $(srctree)/include/asm-$(SRCARCH) include2/asm endif # prepare2 creates a makefile if using a separate output directory -- 1.6.0.2.GIT -- To unsubscribe from this list: send the line "unsubscribe linux-kbuild" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html