am f515ad27: am b6addfb2: am a8dd58a8: Merge "Allow make 3.82 to be used under Cygwin 1.7"

* commit 'f515ad27974dc18a2ae2579cee16a800d539d06d':
  Allow make 3.82 to be used under Cygwin 1.7
This commit is contained in:
Raphael Moll 2012-03-27 17:57:40 -07:00 committed by Android Git Automerger
commit 5d2f6cb1b1
1 changed files with 4 additions and 1 deletions

View File

@ -37,7 +37,9 @@ endif
#TOPDIR := $(TOP)/ #TOPDIR := $(TOP)/
#endif #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)) ifeq (0,$(shell expr $$(echo $(MAKE_VERSION) | sed "s/[^0-9\.].*//") = 3.81))
ifeq (0,$(shell expr $$(echo $(MAKE_VERSION) | sed "s/[^0-9\.].*//") = 3.82)) ifeq (0,$(shell expr $$(echo $(MAKE_VERSION) | sed "s/[^0-9\.].*//") = 3.82))
$(warning ********************************************************************************) $(warning ********************************************************************************)
@ -48,6 +50,7 @@ $(warning **********************************************************************
$(error stopping) $(error stopping)
endif endif
endif endif
endif
TOP := . TOP := .
TOPDIR := TOPDIR :=