From 4b1898026d1a8ebbc8b112caec1603c35f58c1fa Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Tue, 18 Jun 2013 21:53:46 +0000 Subject: [PATCH] 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 SVN-Revision: 36967 --- tools/mkimage/patches/040-include_order.patch | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 tools/mkimage/patches/040-include_order.patch diff --git a/tools/mkimage/patches/040-include_order.patch b/tools/mkimage/patches/040-include_order.patch new file mode 100644 index 0000000000..94324666f4 --- /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) \ -- 2.30.2