From: Ying Wang Date: Wed, 22 Sep 2010 21:11:49 +0000 (-0700) Subject: resolved conflicts for merge of 554402f7 to master X-Git-Tag: android-x86-4.4-r1~2134 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=1613f4ff1ee432a01fcce70a9020f19929e7290a;p=android-x86%2Fbuild.git resolved conflicts for merge of 554402f7 to master Change-Id: Ia72f326ca91311c9eaa05aa4f5a134a60171cafb --- 1613f4ff1ee432a01fcce70a9020f19929e7290a diff --cc core/config.mk index e8eef8117,24380d40a..3a068d878 --- a/core/config.mk +++ b/core/config.mk @@@ -268,10 -265,6 +268,10 @@@ ifeq ($(HOST_OS),darwin HOST_JDK_TOOLS_JAR := else HOST_JDK_TOOLS_JAR:= $(shell $(BUILD_SYSTEM)/find-jdk-tools-jar.sh) +ifeq ($(wildcard $(HOST_JDK_TOOLS_JAR)),) - $(error Error: could not find jdk tools.jar, please install JDK-5.0, \ - update 12 or higher, which you can download from java.sun.com) ++$(error Error: could not find jdk tools.jar, please install JDK-6.0, \ ++ which you can download from java.sun.com) +endif endif # It's called md5 on Mac OS and md5sum on Linux diff --cc core/find-jdk-tools-jar.sh index f21c48b94,e772a1568..ed0b12715 --- a/core/find-jdk-tools-jar.sh +++ b/core/find-jdk-tools-jar.sh @@@ -3,7 -3,8 +3,7 @@@ if [ "x$ANDROID_JAVA_HOME" != x ] && [ else JAVAC=$(which javac) if [ -z "$JAVAC" ] ; then - echo "Please-install-JDK-6.0,-which-you-can-download-from-java.sun.com" -- exit 1 ++ exit 1 fi while [ -L $JAVAC ] ; do LSLINE=$(ls -l $JAVAC)