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@xxxxxxxxxxxxxx> --- 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 _______________________________________________ barebox mailing list barebox@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox