Skip to content
Snippets Groups Projects
Commit d91e0a4d authored by Jo-Philipp Wich's avatar Jo-Philipp Wich
Browse files

tools: Fix mkimage build on FreeBSD 10.1


Signed-off-by: default avatarJo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 44280
parent a854d5c4
No related branches found
No related tags found
No related merge requests found
--- a/Makefile
+++ b/Makefile
@@ -584,7 +584,10 @@ UBOOTINCLUDE := \
-I$(srctree)/arch/$(ARCH)/include \
-include $(srctree)/include/linux/kconfig.h
-NOSTDINC_FLAGS += -nostdinc -isystem $(shell $(CC) -print-file-name=include)
+ifneq ($(shell uname),FreeBSD)
+ NOSTDINC_FLAGS += -nostdinc -isystem $(shell $(CC) -print-file-name=include)
+endif
+
CHECKFLAGS += $(NOSTDINC_FLAGS)
# FIX ME
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