summaryrefslogtreecommitdiffstats
path: root/images
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2020-09-15 14:22:48 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2020-09-15 14:42:49 +0200
commit9f22aed2e11c704a8762ed370524b5fc85e11e75 (patch)
tree589f392e15d7bb2c2962a96dd7f6b391225a2119 /images
parenta7e01ac1499787b55d6733b7abdd76ac5ab67c5e (diff)
downloadbarebox-9f22aed2e11c704a8762ed370524b5fc85e11e75.tar.gz
barebox-9f22aed2e11c704a8762ed370524b5fc85e11e75.tar.xz
ARM: zync: Fix include path
When building out of tree we must explicitly include an absolute path starting with $(srctree) as a relative path would be relative to $(objtree). Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'images')
-rw-r--r--images/Makefile.zynq2
1 files changed, 1 insertions, 1 deletions
diff --git a/images/Makefile.zynq b/images/Makefile.zynq
index 062496ac7d..b00e748697 100644
--- a/images/Makefile.zynq
+++ b/images/Makefile.zynq
@@ -3,7 +3,7 @@
#
zynqcfg_cpp_flags = -Wp,-MD,$(depfile) -nostdinc -x assembler-with-cpp \
- -I arch/arm/mach-zynq/include
+ -I $(srctree)/arch/arm/mach-zynq/include
zynqcfg-tmp = $(subst $(comma),_,$(dot-target).zynqcfg.tmp)