9
0
Fork 0

make: fix searchpath of generated autoconf.h

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 <silvio.fricke@gmail.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
This commit is contained in:
Silvio Fricke 2014-04-16 15:56:12 +02:00 committed by Sascha Hauer
parent 877a50c599
commit 0af79fbb67
1 changed files with 1 additions and 1 deletions

View File

@ -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)