From f2feb1c5a36c812cd7741d1b41164f2d8d4597e3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bernhard=20Rosenkr=C3=A4nzer?= Date: Thu, 12 Dec 2013 09:08:08 +0100 Subject: Allow building with make 4.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I1f20d9ab675114e99ff808251e78cc0af38fe9ff Signed-off-by: Bernhard Rosenkränzer --- core/main.mk | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 -- cgit v1.2.3