--- a/tools/Makefile +++ b/tools/Makefile @@ -162,9 +162,9 @@ # Use native tools and options # Define __KERNEL_STRICT_NAMES to prevent typedef overlaps # -HOSTCPPFLAGS = -idirafter $(SRCTREE)/include \ +HOSTCPPFLAGS = -I $(SRCTREE)/include \ -idirafter $(OBJTREE)/include2 \ - -idirafter $(OBJTREE)/include \ + -I $(OBJTREE)/include \ -I $(SRCTREE)/lib/libfdt \ -I $(SRCTREE)/tools \ -DCONFIG_SYS_TEXT_BASE=$(CONFIG_SYS_TEXT_BASE) \