Root/tools/mkimage/patches/040-include_order.patch

1--- a/tools/Makefile
2+++ b/tools/Makefile
3@@ -159,9 +159,9 @@ NOPEDOBJS := $(addprefix $(obj),$(NOPED_
4 # Use native tools and options
5 # Define __KERNEL_STRICT_NAMES to prevent typedef overlaps
6 #
7-HOSTCPPFLAGS = -idirafter $(SRCTREE)/include \
8+HOSTCPPFLAGS = -I $(SRCTREE)/include \
9         -idirafter $(OBJTREE)/include2 \
10- -idirafter $(OBJTREE)/include \
11+ -I $(OBJTREE)/include \
12             -I $(SRCTREE)/lib/libfdt \
13         -I $(SRCTREE)/tools \
14         -DCONFIG_SYS_TEXT_BASE=$(CONFIG_SYS_TEXT_BASE) \
15

Archive Download this file



interactive