summaryrefslogtreecommitdiffstats
path: root/core/main.mk
diff options
context:
space:
mode:
authorConley Owens <cco3@android.com>2011-12-22 09:46:19 -0800
committerConley Owens <cco3@android.com>2011-12-22 09:56:18 -0800
commitd7a1a9b49b9d6e8331bcc5b2ece84903a94553de (patch)
tree7d2cacb338a5ebf0c159791dbfa73557c7d46ff2 /core/main.mk
parentfe927e18a698b62b48ce4f662a1170de5b1295ac (diff)
downloadbuild-d7a1a9b49b9d6e8331bcc5b2ece84903a94553de.zip
build-d7a1a9b49b9d6e8331bcc5b2ece84903a94553de.tar.gz
build-d7a1a9b49b9d6e8331bcc5b2ece84903a94553de.tar.bz2
Get build system to work with Make 3.82
Note: `sort` can't seem to handle newlines in 3.82. Change-Id: Ieeaee1d19688688a02e396bbc5b4dea26e7f6943
Diffstat (limited to 'core/main.mk')
-rw-r--r--core/main.mk4
1 files changed, 3 insertions, 1 deletions
diff --git a/core/main.mk b/core/main.mk
index cfca47d..140e896 100644
--- a/core/main.mk
+++ b/core/main.mk
@@ -41,14 +41,16 @@ endif
# (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))
$(warning ********************************************************************************)
$(warning * You are using version $(MAKE_VERSION) of make.)
-$(warning * Android can only be built by version 3.81.)
+$(warning * Android can only be built by versions 3.81 and 3.82.)
$(warning * see http://source.android.com/source/download.html)
$(warning ********************************************************************************)
$(error stopping)
endif
endif
+endif
TOP := .
TOPDIR :=