]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - Makefile
Merge branch 'linus' into x86/apic
[linux-2.6-omap-h63xx.git] / Makefile
index b280cfcf1efe630c0ec183c7a3e280e555c00222..96628d0b48d27a76e0dfa7b2bb4c5c261b98b696 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -389,6 +389,7 @@ PHONY += outputmakefile
 # output directory.
 outputmakefile:
 ifneq ($(KBUILD_SRC),)
+       $(Q)ln -fsn $(srctree) source
        $(Q)$(CONFIG_SHELL) $(srctree)/scripts/mkmakefile \
            $(srctree) $(objtree) $(VERSION) $(PATCHLEVEL)
 endif
@@ -947,7 +948,6 @@ ifneq ($(KBUILD_SRC),)
            mkdir -p include2;                                          \
            ln -fsn $(srctree)/include/asm-$(SRCARCH) include2/asm;     \
        fi
-       ln -fsn $(srctree) source
 endif
 
 # prepare2 creates a makefile if using a separate output directory