aboutsummaryrefslogtreecommitdiffstats
path: root/tools/mkimage/patches/040-include_order.patch
blob: f94e91d700006fb2486196a73eb90bedfc6cb285 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
--- 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) \