+Masahiro Hi Jeroen,
On 9 May 2014 12:31, Jeroen Hofstee <dasub...@myspectrum.nl> wrote: > Hello, > > tools/Makefile uses the following substitution > > HOST_EXTRACFLAGS += -include $(srctree)/include/libfdt_env.h \ > $(patsubst -I%,-idirafter%, $(UBOOTINCLUDE)) \ > ... > > Which adds -idirafterinclude when compiling image-fit.c. Since > mentioned file includes sha256.h, which is a system include on FreeBSD, > the system version is included instead of the intended U-boot > include/sha256.h and building fails. Without the substitution it builds > successfully. > > What is the intention of using idirafter? I believe this is so that U-Boot headers are available when building. You might need to add a work-around like we have for libfdt_env.h. It is also possible that there is a more general solution, sorry I'm not sure what it might be. Regards, Simon _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot