All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] idirafter causes host sha256.h to be included
@ 2014-05-09 22:31 Jeroen Hofstee
  2014-05-24  1:37 ` Simon Glass
  0 siblings, 1 reply; 4+ messages in thread
From: Jeroen Hofstee @ 2014-05-09 22:31 UTC (permalink / raw)
  To: u-boot

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?

Regards,
Jeroen

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2014-05-27  3:37 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-05-09 22:31 [U-Boot] idirafter causes host sha256.h to be included Jeroen Hofstee
2014-05-24  1:37 ` Simon Glass
2014-05-24 21:09   ` Jeroen Hofstee
2014-05-27  3:37     ` Simon Glass

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.