1
0

100-freebsd-compat.patch 408 B

1234567891011121314
  1. --- a/Makefile
  2. +++ b/Makefile
  3. @@ -584,7 +584,10 @@ UBOOTINCLUDE := \
  4. -I$(srctree)/arch/$(ARCH)/include \
  5. -include $(srctree)/include/linux/kconfig.h
  6. -NOSTDINC_FLAGS += -nostdinc -isystem $(shell $(CC) -print-file-name=include)
  7. +ifneq ($(shell uname),FreeBSD)
  8. + NOSTDINC_FLAGS += -nostdinc -isystem $(shell $(CC) -print-file-name=include)
  9. +endif
  10. +
  11. CHECKFLAGS += $(NOSTDINC_FLAGS)
  12. # FIX ME