From patchwork Wed Jan 6 22:33:23 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: John Kacur X-Patchwork-Id: 71454 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter.kernel.org (8.14.3/8.14.2) with ESMTP id o06MYBm9019034 for ; Wed, 6 Jan 2010 22:34:12 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756462Ab0AFWdk (ORCPT ); Wed, 6 Jan 2010 17:33:40 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1756459Ab0AFWdj (ORCPT ); Wed, 6 Jan 2010 17:33:39 -0500 Received: from mx1.redhat.com ([209.132.183.28]:35207 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756452Ab0AFWdg (ORCPT ); Wed, 6 Jan 2010 17:33:36 -0500 Received: from int-mx04.intmail.prod.int.phx2.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.17]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id o06MXVZG023752 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Wed, 6 Jan 2010 17:33:31 -0500 Received: from vpn1-7-105.ams2.redhat.com (vpn1-7-105.ams2.redhat.com [10.36.7.105]) by int-mx04.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id o06MXOjS029957 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 6 Jan 2010 17:33:27 -0500 Date: Wed, 6 Jan 2010 23:33:23 +0100 (CET) From: John Kacur X-X-Sender: jkacur@localhost.localdomain To: Michal Marek cc: linux-kernel@vger.kernel.org, Sam Ravnborg , linux-kbuild@vger.kernel.org Subject: Re: [PATCH] Don't mkdir -p include/config in the sourcetree when using O=outputdir option In-Reply-To: <520f0cf11001061430l2b363d90qce43bf94a384cf13@mail.gmail.com> Message-ID: References: <4B44E5C8.2050006@suse.cz> <520f0cf11001061210w4d33fca6y98f091c4260577c0@mail.gmail.com> <4B44F665.6050008@suse.cz> <520f0cf11001061430l2b363d90qce43bf94a384cf13@mail.gmail.com> User-Agent: Alpine 2.00 (LFD 1167 2008-08-23) MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.67 on 10.5.11.17 Sender: linux-kbuild-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kbuild@vger.kernel.org diff --git a/Makefile b/Makefile index 1231094..2f3ba92 100644 --- a/Makefile +++ b/Makefile @@ -454,11 +454,11 @@ include $(srctree)/arch/$(SRCARCH)/Makefile export KBUILD_DEFCONFIG KBUILD_KCONFIG config: scripts_basic outputmakefile FORCE - $(Q)mkdir -p include/linux include/config + $(Q)mkdir -p $(objtree)/include/linux $(objtree)/include/config $(Q)$(MAKE) $(build)=scripts/kconfig $@ %config: scripts_basic outputmakefile FORCE - $(Q)mkdir -p include/linux include/config + $(Q)mkdir -p $(objtree)/include/linux $(objtree)/include/config $(Q)$(MAKE) $(build)=scripts/kconfig $@ else