summaryrefslogtreecommitdiff
path: root/tools/mkimage/patches/040-include_order.patch
blob: f4fbbaf7578d1db1e3ee4137d3dedb1ea5e5c6cd (plain)
1
2
3
4
5
6
7
8
9
10
11
--- a/tools/Makefile
+++ b/tools/Makefile
@@ -173,7 +173,7 @@
 # Define _GNU_SOURCE to obtain the getline prototype from stdio.h
 #
 HOST_EXTRACFLAGS += -include $(srctree)/include/libfdt_env.h \
-		$(patsubst -I%,-idirafter%, $(UBOOTINCLUDE)) \
+		-I$(srctree)/include \
 		-I$(srctree)/lib/libfdt \
 		-I$(srctree)/tools \
 		-DCONFIG_SYS_TEXT_BASE=$(CONFIG_SYS_TEXT_BASE) \