summaryrefslogtreecommitdiff
path: root/tools/mkimage/patches/040-include_order.patch
blob: e4dc78ef27427e6b601a5891909079cd784c4524 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
--- a/tools/Makefile
+++ b/tools/Makefile
@@ -160,9 +160,9 @@
 # Define __KERNEL_STRICT_NAMES to prevent typedef overlaps
 #
 HOSTCPPFLAGS =	-include $(SRCTREE)/include/libfdt_env.h \
-		-idirafter $(SRCTREE)/include \
+		-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) \