[PATCH 10/10] ARM: zync: Fix include path

Sascha Hauer s.hauer at pengutronix.de
Tue Sep 15 08:25:39 EDT 2020


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 at pengutronix.de>
---
 images/Makefile.zynq | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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)
 
-- 
2.28.0




More information about the barebox mailing list