summaryrefslogtreecommitdiffstats
path: root/core/main.mk
diff options
context:
space:
mode:
authorTom Giordano <tomgiordano83@gmail.com>2011-11-19 02:39:54 +1100
committerRicardo Cerqueira <cyanogenmod@cerqueira.org>2012-11-17 17:33:32 +0000
commit0f400c6b9019235f7bbfee2de9683b530053420c (patch)
treeffc94f5326bd9a98833b9fa4255deb8944d48092 /core/main.mk
parent53056b82149ffaa1b5df071df9b8a274bb9cf003 (diff)
downloadbuild-0f400c6b9019235f7bbfee2de9683b530053420c.zip
build-0f400c6b9019235f7bbfee2de9683b530053420c.tar.gz
build-0f400c6b9019235f7bbfee2de9683b530053420c.tar.bz2
build: allow use of openjdk and other versions of make
Change-Id: I2e3c7f89ce51888afb9cda30eeaf6d757b057e2e
Diffstat (limited to 'core/main.mk')
-rw-r--r--core/main.mk6
1 files changed, 2 insertions, 4 deletions
diff --git a/core/main.mk b/core/main.mk
index 87488f4..9481b9f 100644
--- a/core/main.mk
+++ b/core/main.mk
@@ -44,10 +44,9 @@ 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 versions 3.81 and 3.82.)
+$(warning * Android is tested to build with versions 3.81 and 3.82.)
$(warning * see https://source.android.com/source/download.html)
$(warning ********************************************************************************)
-$(error stopping)
endif
endif
endif
@@ -129,7 +128,7 @@ java_version :=
endif
ifeq ($(strip $(java_version)),)
$(info ************************************************************)
-$(info You are attempting to build with the incorrect version)
+$(info You are attempting to build with an unsupported version)
$(info of java.)
$(info $(space))
$(info Your version is: $(shell java -version 2>&1 | head -n 1).)
@@ -138,7 +137,6 @@ $(info $(space))
$(info Please follow the machine setup instructions at)
$(info $(space)$(space)$(space)$(space)https://source.android.com/source/download.html)
$(info ************************************************************)
-$(error stop)
endif
# Check for the correct version of javac