From patchwork Sat Jan 10 03:56:13 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andi Kleen X-Patchwork-Id: 1676 Received: from vger.kernel.org (vger.kernel.org [209.132.176.167]) by demeter.kernel.org (8.14.2/8.14.2) with ESMTP id n0A3qr1F007796 for ; Fri, 9 Jan 2009 19:52:53 -0800 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751863AbZAJD4i (ORCPT ); Fri, 9 Jan 2009 22:56:38 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751733AbZAJD4i (ORCPT ); Fri, 9 Jan 2009 22:56:38 -0500 Received: from one.firstfloor.org ([213.235.205.2]:36492 "EHLO one.firstfloor.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751433AbZAJD4h (ORCPT ); Fri, 9 Jan 2009 22:56:37 -0500 Received: from basil.firstfloor.org (p5B3C82DA.dip0.t-ipconnect.de [91.60.130.218]) by one.firstfloor.org (Postfix) with ESMTP id 56D7F1AD0022; Sat, 10 Jan 2009 05:10:52 +0100 (CET) Received: by basil.firstfloor.org (Postfix, from userid 1000) id E7B0E3E6657; Sat, 10 Jan 2009 04:56:13 +0100 (CET) Date: Sat, 10 Jan 2009 04:56:13 +0100 From: Andi Kleen To: sam@ravnborg.org, linux-kbuild@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] KBUILD: Create the source symlink earlier in the objdir Message-ID: <20090110035613.GA7225@basil.nowhere.org> MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.5.13 (2006-08-11) Sender: linux-kbuild-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kbuild@vger.kernel.org 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 --- Makefile | 1 + 1 file changed, 1 insertion(+) -- To unsubscribe from this list: send the line "unsubscribe linux-kbuild" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Index: linux-2.6.28-kbuild/Makefile =================================================================== --- linux-2.6.28-kbuild.orig/Makefile 2009-01-07 22:16:49.000000000 +0100 +++ linux-2.6.28-kbuild/Makefile 2009-01-10 04:50:53.000000000 +0100 @@ -383,6 +383,7 @@ # output directory. outputmakefile: ifneq ($(KBUILD_SRC),) + @ln -fsn $(srctree) $(objtree)/source $(Q)$(CONFIG_SHELL) $(srctree)/scripts/mkmakefile \ $(srctree) $(objtree) $(VERSION) $(PATCHLEVEL) endif