diff options
author | Andi Kleen <andi@firstfloor.org> | 2009-01-03 03:21:42 +0100 |
---|---|---|
committer | Sam Ravnborg <sam@ravnborg.org> | 2009-01-07 21:44:22 +0100 |
commit | 399b835be30e8fdec6705fa9803f9fb8822c52ae (patch) | |
tree | bc35ff8c3927d3c8e40bf50e6c164ae28ab465c6 | |
parent | 8e54701ea85b0ab0971637825a628f5aa2b678a4 (diff) | |
download | kernel_samsung_smdk4412-399b835be30e8fdec6705fa9803f9fb8822c52ae.zip kernel_samsung_smdk4412-399b835be30e8fdec6705fa9803f9fb8822c52ae.tar.gz kernel_samsung_smdk4412-399b835be30e8fdec6705fa9803f9fb8822c52ae.tar.bz2 |
kbuild: add a symlink to the source for separate objdirs
I have some scripts which need to map back to the source directory
from an objdir. This was so far done by parsing the Makefile,
but the Makefile format changes occasionally and breaks my scripts
then.
To make this more reliable add a "source" symlink back.
Signed-off-by: Andi Kleen <ak@linux.intel.com>
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
-rw-r--r-- | Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -965,6 +965,7 @@ 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 |