summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2014-01-29 23:14:20 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2014-02-13 11:34:29 +0100
commitde20596e17899b70542039769545cecfabefad79 (patch)
tree6335efdb53455a35cff21ceccbe1143fa16826d7 /scripts
parent403fbbbc3411a3dccc80f0c0798b0c2c9924eda9 (diff)
downloadbarebox-de20596e17899b70542039769545cecfabefad79.tar.gz
barebox-de20596e17899b70542039769545cecfabefad79.tar.xz
ARM: i.MX: Add include directories to imximage target
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'scripts')
-rw-r--r--scripts/Makefile.lib4
1 files changed, 3 insertions, 1 deletions
diff --git a/scripts/Makefile.lib b/scripts/Makefile.lib
index 73a433dfcf..8da3345036 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)