diff options
author | Felix Fietkau <nbd@openwrt.org> | 2013-06-18 21:53:46 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2013-06-18 21:53:46 +0000 |
commit | bfab82392ab267d46de9bee914345c1a1008a6fc (patch) | |
tree | 2b353ef61e8144fb5fae5223f31bfd5e2b83b475 /tools | |
parent | b4babf9f8134e4c95adfabd82408c0a2f57909ac (diff) | |
download | mtk-20170518-bfab82392ab267d46de9bee914345c1a1008a6fc.zip mtk-20170518-bfab82392ab267d46de9bee914345c1a1008a6fc.tar.gz mtk-20170518-bfab82392ab267d46de9bee914345c1a1008a6fc.tar.bz2 |
tools/mkimage: add back a fixed version of 040-include_order.patch to fix build errors on some systems (#12232)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 36967
Diffstat (limited to 'tools')
-rw-r--r-- | tools/mkimage/patches/040-include_order.patch | 14 |
1 files changed, 14 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..9432466 --- /dev/null +++ b/tools/mkimage/patches/040-include_order.patch @@ -0,0 +1,14 @@ +--- a/tools/Makefile ++++ b/tools/Makefile +@@ -165,9 +165,9 @@ NOPEDOBJS := $(addprefix $(obj),$(NOPED_ + # 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) \ |