From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mail.data-modul.de ([212.184.205.171] helo=mailgw1.data-modul.com) by bombadil.infradead.org with smtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1WaQUx-0002m7-P6 for barebox@lists.infradead.org; Wed, 16 Apr 2014 14:07:36 +0000 From: Silvio Fricke Date: Wed, 16 Apr 2014 15:56:12 +0200 Message-Id: <0180a16d5e953baca89cf12113f9122f8c8e6696.1397656442.git.silvio.fricke@gmail.com> In-Reply-To: References: In-Reply-To: References: List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 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: [PATCH] make: fix searchpath of generated autoconf.h To: barebox@lists.infradead.org Cc: Silvio Fricke 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 --- 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