Author: jow Date: 2015-02-05 17:58:16 +0100 (Thu, 05 Feb 2015) New Revision: 44280
Added: trunk/tools/mkimage/patches/100-freebsd-compat.patch Log: tools: Fix mkimage build on FreeBSD 10.1 Signed-off-by: Jo-Philipp Wich <[email protected]> Added: trunk/tools/mkimage/patches/100-freebsd-compat.patch =================================================================== --- trunk/tools/mkimage/patches/100-freebsd-compat.patch (rev 0) +++ trunk/tools/mkimage/patches/100-freebsd-compat.patch 2015-02-05 16:58:16 UTC (rev 44280) @@ -0,0 +1,14 @@ +--- 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 _______________________________________________ openwrt-commits mailing list [email protected] https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-commits
