aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernhard Rosenkraenzer <Bernhard.Rosenkranzer@linaro.org>2013-07-25 07:26:30 +0530
committerBernhard Rosenkränzer <Bernhard.Rosenkranzer@linaro.org>2013-12-12 03:57:31 +0100
commitd7aa54e85caeb1da85f7bf6aa9db51456cdff2b9 (patch)
treee80e2be150be2b57e4b5be90894b253b765cdcfd
parent986567dc07e6053e3b9980419dca496fa8fd90af (diff)
downloadbuild-d7aa54e85caeb1da85f7bf6aa9db51456cdff2b9.tar.gz
build: Allow building with OpenJDK
My local builds with OpenJDK have been successful - no reason to disallow it, let's go free... Signed-off-by: Bernhard Rosenkraenzer <Bernhard.Rosenkranzer@linaro.org> Signed-off-by: Amit Pundir <amit.pundir@linaro.org>
-rw-r--r--core/main.mk16
1 files changed, 9 insertions, 7 deletions
diff --git a/core/main.mk b/core/main.mk
index d424b25bd8..761e06fee9 100644
--- a/core/main.mk
+++ b/core/main.mk
@@ -142,14 +142,16 @@ endif
# Check for the corrent jdk
ifneq ($(shell java -version 2>&1 | grep -i openjdk),)
-$(info ************************************************************)
-$(info You are attempting to build with an unsupported JDK.)
+$(warning ************************************************************)
$(info $(space))
-$(info You use OpenJDK but only Sun/Oracle JDK is supported.)
-$(info Please follow the machine setup instructions at)
-$(info $(space)$(space)$(space)$(space)https://source.android.com/source/download.html)
-$(info ************************************************************)
-$(error stop)
+$(warning You are attempting to build with an unsupported JDK.)
+$(warning AOSP errors out when using OpenJDK, saying you need to use)
+$(warning Java SE 1.6 instead.)
+$(warning A build with OpenJDK seems to work fine though - if you)
+$(warning run into any Java errors, you may want to try using the)
+$(warning version required by AOSP though using instructions at)
+$(warning $(space)$(space)$(space)$(space)https://source.android.com/source/download.html)
+$(warning ************************************************************)
endif
# Check for the correct version of java