diff options
author | Silvio Fricke <silvio.fricke@gmail.com> | 2014-04-16 15:56:12 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2014-04-23 12:14:21 +0200 |
commit | 0af79fbb6779921d3f1962773adb7fb57d3c89d4 (patch) | |
tree | 04d8fb5f05f47682d2fb801df4e12f6e82a8b949 | |
parent | 877a50c5995d8570ba1913dfa71182992e62dbd3 (diff) | |
download | barebox-0af79fbb6779921d3f1962773adb7fb57d3c89d4.tar.gz barebox-0af79fbb6779921d3f1962773adb7fb57d3c89d4.tar.xz |
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>
-rw-r--r-- | scripts/Makefile.lib | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/Makefile.lib b/scripts/Makefile.lib index d403037c17..cf7e2d54f7 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) |