[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20090215111608.GE26292@one.firstfloor.org>
Date: Sun, 15 Feb 2009 12:16:08 +0100
From: Andi Kleen <andi@...stfloor.org>
To: Sam Ravnborg <sam@...nborg.org>
Cc: Andi Kleen <andi@...stfloor.org>, linux-kbuild@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] KBUILD: Create the source symlink earlier in the objdir
> diff --git a/Makefile b/Makefile
> index 22d7584..76ee131 100644
> --- a/Makefile
> +++ b/Makefile
> @@ -388,6 +388,7 @@ PHONY += outputmakefile
> # separate output directory. This allows convenient use of make in the
> # output directory.
> outputmakefile:
> + $(Q)ln -fsn $(srctree) source
> ifneq ($(KBUILD_SRC),)
Haven't tried it, but
doesn't that create the symlink in the non separate objdir case too
because it's outside the ifneq?
> $(Q)$(CONFIG_SHELL) $(srctree)/scripts/mkmakefile \
> $(srctree) $(objtree) $(VERSION) $(PATCHLEVEL)
> @@ -946,7 +947,6 @@ ifneq ($(KBUILD_SRC),)
> mkdir -p include2; \
> ln -fsn $(srctree)/include/asm-$(SRCARCH) include2/asm; \
> fi
> - ln -fsn $(srctree) source
> endif
-Andi
--
ak@...ux.intel.com -- Speaking for myself only.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists