From patchwork Wed Jan 6 16:09: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: 71320 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 o06G9elf024174 for ; Wed, 6 Jan 2010 16:09:40 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754754Ab0AFQJj (ORCPT ); Wed, 6 Jan 2010 11:09:39 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1754622Ab0AFQJj (ORCPT ); Wed, 6 Jan 2010 11:09:39 -0500 Received: from mx1.redhat.com ([209.132.183.28]:9527 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754754Ab0AFQJi (ORCPT ); Wed, 6 Jan 2010 11:09:38 -0500 Received: from int-mx03.intmail.prod.int.phx2.redhat.com (int-mx03.intmail.prod.int.phx2.redhat.com [10.5.11.16]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id o06G9S1J023216 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Wed, 6 Jan 2010 11:09:28 -0500 Received: from vpn1-7-168.ams2.redhat.com (vpn1-7-168.ams2.redhat.com [10.36.7.168]) by int-mx03.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id o06G9Ond003590 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 6 Jan 2010 11:09:27 -0500 Date: Wed, 6 Jan 2010 17:09:23 +0100 (CET) From: John Kacur X-X-Sender: jkacur@localhost.localdomain To: linux-kernel@vger.kernel.org, Michal Marek cc: Sam Ravnborg , linux-kbuild@vger.kernel.org Subject: [PATCH] Don't mkdir -p include/config in the sourcetree when using O=outputdir option Message-ID: User-Agent: Alpine 2.00 (LFD 1167 2008-08-23) MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.67 on 10.5.11.16 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..7d8d722 100644 --- a/Makefile +++ b/Makefile @@ -458,7 +458,7 @@ config: scripts_basic outputmakefile FORCE $(Q)$(MAKE) $(build)=scripts/kconfig $@ %config: scripts_basic outputmakefile FORCE - $(Q)mkdir -p include/linux include/config + $(Q)mkdir -p $(objtree)/include/linux include/config $(Q)$(MAKE) $(build)=scripts/kconfig $@ else