aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernhard Rosenkränzer <Bernhard.Rosenkranzer@linaro.org>2013-12-12 09:08:08 +0100
committerBernhard Rosenkraenzer <Bernhard.Rosenkranzer@linaro.org>2014-02-15 13:36:03 +0100
commitce01a5193c08b2f4afe8ea5a8ed0153d5241c9ee (patch)
treec634c96d2c1e857f2bf1d67f20fd6fa3971c7188
parented61530e0978f7bfb92255b925ae7b5471f3b7c6 (diff)
downloadbuild-ce01a5193c08b2f4afe8ea5a8ed0153d5241c9ee.tar.gz
Allow building with make 4.0
Change-Id: I1f20d9ab675114e99ff808251e78cc0af38fe9ff Signed-off-by: Bernhard Rosenkränzer <Bernhard.Rosenkranzer@linaro.org>
-rw-r--r--core/main.mk4
1 files changed, 3 insertions, 1 deletions
diff --git a/core/main.mk b/core/main.mk
index f955d99276..bab8c5d8f3 100644
--- a/core/main.mk
+++ b/core/main.mk
@@ -42,15 +42,17 @@ endif
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))
+ifeq (0,$(shell expr $$(echo $(MAKE_VERSION) | sed "s/[^0-9\.].*//") = 4.0))
$(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, 3.82 and 4.0.)
$(warning * see https://source.android.com/source/download.html)
$(warning ********************************************************************************)
$(error stopping)
endif
endif
endif
+endif
# Absolute path of the present working direcotry.
# This overrides the shell variable $PWD, which does not necessarily points to