2015-02-05 16:58:16 +00:00
|
|
|
--- a/Makefile
|
|
|
|
+++ b/Makefile
|
2018-04-14 21:00:12 +00:00
|
|
|
@@ -634,7 +634,10 @@ UBOOTINCLUDE := \
|
2015-02-05 16:58:16 +00:00
|
|
|
-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
|