Allow make 3.82 to be used under Cygwin 1.7

OTOH, should we just allow the expression to be >= 3.81
for all platforms? For cygwin it's a specific case since
we don't build the platform, only a handful set of tools
and it works just fine with a newer make 3.82.

Change-Id: Icff0d0e13bce79f7164007985f14db56e9049552
This commit is contained in:
Raphael
2011-12-19 13:37:55 -08:00
parent 0ae6d29568
commit 76bf62d75e

View File

@@ -37,7 +37,9 @@ endif
#TOPDIR := $(TOP)/
#endif
# check for broken versions of make
# Check for broken versions of make.
# (Allow any version under Cygwin since we don't actually build the platform there.)
ifeq (,$(findstring CYGWIN,$(shell uname -sm)))
ifeq (0,$(shell expr $$(echo $(MAKE_VERSION) | sed "s/[^0-9\.].*//") = 3.81))
$(warning ********************************************************************************)
$(warning * You are using version $(MAKE_VERSION) of make.)
@@ -46,6 +48,7 @@ $(warning * see http://source.android.com/source/download.html)
$(warning ********************************************************************************)
$(error stopping)
endif
endif
TOP := .
TOPDIR :=