X-Git-Url: http://git.openwrt.org/?a=blobdiff_plain;f=include%2Ftoplevel.mk;fp=include%2Ftoplevel.mk;h=4003b4824182bf7d3f4243e68c3d4da806d4fc76;hb=31043704558efdeb25e2be9b03f211513047c635;hp=c233a4c214c9ba01734ef129b93943784cb528d9;hpb=0fd214d89fa970b967c1aaf5613f145c869db2b1;p=openwrt%2Fstaging%2Fdedeckeh.git diff --git a/include/toplevel.mk b/include/toplevel.mk index c233a4c214..4003b48241 100644 --- a/include/toplevel.mk +++ b/include/toplevel.mk @@ -29,6 +29,12 @@ export GNU_HOST_NAME:=$(shell $(TOPDIR)/scripts/config.guess) export HOST_OS:=$(shell uname) export HOST_ARCH:=$(shell uname -m) +ifeq ($(HOST_OS),Darwin) + ifneq ($(filter /Applications/Xcode.app/% /Library/Developer/%,$(MAKE)),) + $(error Please use a newer version of GNU make. The version shipped by Apple is not supported) + endif +endif + # prevent perforce from messing with the patch utility unexport P4PORT P4USER P4CONFIG P4CLIENT