forked from openkylin/platform_build
am 71e5dd30: am 7a772619: Merge "core: support make 4.00"
* commit '71e5dd3055dc6a441ce20f0905f1b3893f79d27e': core: support make 4.00
This commit is contained in:
commit
13ca2c7f5c
|
@ -40,17 +40,15 @@ endif
|
|||
# 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.82))
|
||||
ifneq (1,$(strip $(shell expr $(MAKE_VERSION) \>= 3.81)))
|
||||
$(warning ********************************************************************************)
|
||||
$(warning * You are using version $(MAKE_VERSION) of make.)
|
||||
$(warning * Android can only be built by versions 3.81 and 3.82.)
|
||||
$(warning * Android can only be built by versions 3.81 and higher.)
|
||||
$(warning * see https://source.android.com/source/download.html)
|
||||
$(warning ********************************************************************************)
|
||||
$(error stopping)
|
||||
endif
|
||||
endif
|
||||
endif
|
||||
|
||||
# Absolute path of the present working direcotry.
|
||||
# This overrides the shell variable $PWD, which does not necessarily points to
|
||||
|
|
Loading…
Reference in New Issue