Messages in this thread Patch in this message | | | From | Sam Ravnborg <> | Subject | [PATCH 26/26] kbuild: support switching source directories with O=.. builds | Date | Sat, 20 Dec 2008 15:31:37 +0100 |
| |
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@ravnborg.org> Cc: Andi Kleen <andi@firstfloor.org> --- 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
| |