summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLucas Stach <l.stach@pengutronix.de>2014-08-12 18:05:49 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2014-09-01 14:24:51 +0200
commit9b707a1fa3aad5fa03cf5bb691f059b0b8993253 (patch)
tree3ec8cff30b9e924e10ef7122934d5e08fa6c92a5
parenta744d022984eeec6ed46050797f94e0964c3a6d2 (diff)
downloadbarebox-9b707a1fa3aad5fa03cf5bb691f059b0b8993253.tar.gz
Makefile.lib: imxcfg: fix include path
MACH is not defined in this context, also it's very unlikely that we will use the imximg tool with an other arch than IMX, so just hardcode the path. Signed-off-by: Lucas Stach <l.stach@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
-rw-r--r--scripts/Makefile.lib2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/Makefile.lib b/scripts/Makefile.lib
index 7d97d57..05387b2 100644
--- a/scripts/Makefile.lib
+++ b/scripts/Makefile.lib
@@ -372,7 +372,7 @@ cmd_imximage_S_dcd= \
) > $@
imxcfg_cpp_flags = -Wp,-MD,$(depfile) -nostdinc -x assembler-with-cpp \
- -I $(srctree)/include -I $(MACH)/include \
+ -I $(srctree)/include -I $(srctree)/arch/arm/mach-imx/include \
-include include/generated/autoconf.h
dcd-tmp = $(subst $(comma),_,$(dot-target).dcd.tmp)