From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from metis.ext.pengutronix.de ([2001:6f8:1178:4:290:27ff:fe1d:cc33]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1WcuDj-00076I-CQ for barebox@lists.infradead.org; Wed, 23 Apr 2014 10:16:04 +0000 Date: Wed, 23 Apr 2014 12:15:41 +0200 From: Sascha Hauer Message-ID: <20140423101541.GP5858@pengutronix.de> References: <0180a16d5e953baca89cf12113f9122f8c8e6696.1397656442.git.silvio.fricke@gmail.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <0180a16d5e953baca89cf12113f9122f8c8e6696.1397656442.git.silvio.fricke@gmail.com> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "barebox" Errors-To: barebox-bounces+u.kleine-koenig=pengutronix.de@lists.infradead.org Subject: Re: [PATCH] make: fix searchpath of generated autoconf.h To: Silvio Fricke Cc: barebox@lists.infradead.org On Wed, Apr 16, 2014 at 03:56:12PM +0200, Silvio Fricke wrote: > If barebox is builded out-of-tree we don't find the autogenerated > autoconf.h because we search in the srctree. > > With this patch we don't get this error message: > > cc1: fatal error: /[...]/barebox/include/generated/autoconf.h: No such file or directory > > Signed-off-by: Silvio Fricke Tested-by: Sascha Hauer Applied, thanks Sascha > --- > scripts/Makefile.lib | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/scripts/Makefile.lib b/scripts/Makefile.lib > index d403037..cf7e2d5 100644 > --- a/scripts/Makefile.lib > +++ b/scripts/Makefile.lib > @@ -376,7 +376,7 @@ cmd_imximage_S_dcd= \ > > imxcfg_cpp_flags = -Wp,-MD,$(depfile) -nostdinc -x assembler-with-cpp \ > -I $(srctree)/include -I $(MACH)/include \ > - -include $(srctree)/include/generated/autoconf.h > + -include include/generated/autoconf.h > > dcd-tmp = $(subst $(comma),_,$(dot-target).dcd.tmp) > > -- > 1.9.1 > > > _______________________________________________ > barebox mailing list > barebox@lists.infradead.org > http://lists.infradead.org/mailman/listinfo/barebox > -- Pengutronix e.K. | | Industrial Linux Solutions | http://www.pengutronix.de/ | Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | _______________________________________________ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox