Skip to content
Snippets Groups Projects
Commit bfab8239 authored by Felix Fietkau's avatar Felix Fietkau
Browse files

tools/mkimage: add back a fixed version of 040-include_order.patch to fix...

tools/mkimage: add back a fixed version of 040-include_order.patch to fix build errors on some systems (#12232)

Signed-off-by: default avatarFelix Fietkau <nbd@openwrt.org>

SVN-Revision: 36967
parent b4babf9f
No related branches found
No related tags found
No related merge requests found
--- 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) \
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment