diff options
author | Andi Kleen <andi@firstfloor.org> | 2009-01-10 04:56:13 +0100 |
---|---|---|
committer | Sam Ravnborg <sam@ravnborg.org> | 2009-02-15 12:51:05 +0100 |
commit | 929799973ba4a40f7b8001e9cc461c13d04c4124 (patch) | |
tree | 8d2116ea6f0f972bb2ef5765a6a9d469b77d6958 /Makefile | |
parent | 11df65c3c6f7fdc837a5be8787d31011e8bb93c1 (diff) | |
download | op-kernel-dev-929799973ba4a40f7b8001e9cc461c13d04c4124.zip op-kernel-dev-929799973ba4a40f7b8001e9cc461c13d04c4124.tar.gz |
kbuild: create the source symlink earlier in the objdir
It's useful to already have the source symlink in a
objdir when one just runs make *config. Then one
can do
mkdir obj-allyes
cd obj-allyes
make -C ../sourcedir O=$(pwd) allyesconfig
./source/scripts/config --disable debug_info
make CC=icecc -j18
without having to interrupt the make first just to
get the source symlink.
Signed-off-by: Andi Kleen <ak@linux.intel.com>
[sam: deleted the other source symlink statement]
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 @@ -946,7 +947,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 |