From patchwork Wed Nov 25 14:28:20 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michal Marek X-Patchwork-Id: 62830 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 nAPESNJi007871 for ; Wed, 25 Nov 2009 14:28:23 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758456AbZKYO2Q (ORCPT ); Wed, 25 Nov 2009 09:28:16 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1758607AbZKYO2Q (ORCPT ); Wed, 25 Nov 2009 09:28:16 -0500 Received: from cantor2.suse.de ([195.135.220.15]:38645 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753208AbZKYO2P (ORCPT ); Wed, 25 Nov 2009 09:28:15 -0500 Received: from relay1.suse.de (charybdis-ext.suse.de [195.135.221.2]) by mx2.suse.de (Postfix) with ESMTP id E24288765C; Wed, 25 Nov 2009 15:28:20 +0100 (CET) Received: by sepie.suse.cz (Postfix, from userid 10020) id 7D9D576415; Wed, 25 Nov 2009 15:28:20 +0100 (CET) Date: Wed, 25 Nov 2009 15:28:20 +0100 From: Michal Marek To: Sam Ravnborg Cc: kbuild , lkml Subject: Re: [PATCH 13/14] kbuild: move autoconf.h to include/generated Message-ID: <20091125142820.GA10565@sepie.suse.cz> References: <20091018080635.GA13767@merkur.ravnborg.org> <1255853723-477-13-git-send-email-sam@ravnborg.org> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <1255853723-477-13-git-send-email-sam@ravnborg.org> User-Agent: Mutt/1.5.20 (2009-06-14) 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 7bd2531..74ad9a9 100644 --- a/Makefile +++ b/Makefile @@ -491,7 +491,6 @@ $(KCONFIG_CONFIG) include/config/auto.conf.cmd: ; # if auto.conf.cmd is missing then we are probably in a cleaned tree so # we execute the config step to be sure to catch updated Kconfig files include/config/auto.conf: $(KCONFIG_CONFIG) include/config/auto.conf.cmd - $(Q)mkdir -p include/generated $(Q)$(MAKE) -f $(srctree)/Makefile silentoldconfig else # external modules needs include/generated/autoconf.h and include/config/auto.conf diff --git a/scripts/kconfig/Makefile b/scripts/kconfig/Makefile index 6d69c7c..ca5ce8e 100644 --- a/scripts/kconfig/Makefile +++ b/scripts/kconfig/Makefile @@ -27,6 +27,7 @@ oldconfig: $(obj)/conf $< -o $(Kconfig) silentoldconfig: $(obj)/conf + $(Q)mkdir -p include/generated $< -s $(Kconfig) localmodconfig: $(obj)/streamline_config.pl $(obj)/conf