[PATCH 01/14] ARM: i.MX: Add include directories to imximage target
Sascha Hauer
s.hauer at pengutronix.de
Thu Feb 13 05:42:19 EST 2014
Signed-off-by: Sascha Hauer <s.hauer at pengutronix.de>
---
scripts/Makefile.lib | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/scripts/Makefile.lib b/scripts/Makefile.lib
index 73a433d..8da3345 100644
--- a/scripts/Makefile.lib
+++ b/scripts/Makefile.lib
@@ -327,7 +327,9 @@ cmd_imximage_S_dcd= \
echo '.balign STRUCT_ALIGNMENT'; \
) > $@
-imxcfg_cpp_flags = -Wp,-MD,$(depfile) -nostdinc -x assembler-with-cpp
+imxcfg_cpp_flags = -Wp,-MD,$(depfile) -nostdinc -x assembler-with-cpp \
+ -I $(srctree)/include -I $(MACH)/include \
+ -include $(srctree)/include/generated/autoconf.h
dcd-tmp = $(subst $(comma),_,$(dot-target).dcd.tmp)
--
1.8.5.3
More information about the barebox
mailing list