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