diff options
Diffstat (limited to 'tools/mkimage/patches/040-include_order.patch')
-rw-r--r-- | tools/mkimage/patches/040-include_order.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/tools/mkimage/patches/040-include_order.patch b/tools/mkimage/patches/040-include_order.patch new file mode 100644 index 0000000..3b9ecc6 --- /dev/null +++ b/tools/mkimage/patches/040-include_order.patch @@ -0,0 +1,11 @@ +--- a/tools/Makefile ++++ b/tools/Makefile +@@ -194,7 +194,7 @@ endif # !LOGO_BMP + # Define _GNU_SOURCE to obtain the getline prototype from stdio.h + # + HOST_EXTRACFLAGS += -include $(srctree)/include/libfdt_env.h \ +- $(patsubst -I%,-idirafter%, $(filter -I%, $(UBOOTINCLUDE))) \ ++ -I$(srctree)/include \ + -I$(srctree)/lib/libfdt \ + -I$(srctree)/tools \ + -DCONFIG_SYS_TEXT_BASE=$(CONFIG_SYS_TEXT_BASE) \ |