changeset 2304:05e04a29c589

6825175: Remove or disable sanity check on binary plugs Reviewed-by: xdono
author ohair
date Wed, 01 Apr 2009 16:49:43 -0700
parents 719eef0932ce
children 8e995449d1a9
files jdk/make/common/shared/Sanity.gmk
diffstat 1 files changed, 4 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/jdk/make/common/shared/Sanity.gmk	Wed Apr 01 08:58:18 2009 -0700
+++ b/jdk/make/common/shared/Sanity.gmk	Wed Apr 01 16:49:43 2009 -0700
@@ -502,13 +502,15 @@
 ######################################################
 ifdef OPENJDK
 sane-binary-plugs:
+  ifeq ($(IMPORT_BINARY_PLUGS),true)
 	@if [ ! -d "$(BINARY_PLUGS_PATH)" ]; then \
-	  $(ECHO) "ERROR: Can't locate pre-built libraries. \n" \
+	  $(ECHO) "WARNING: Can't locate pre-built libraries. \n" \
 	    "      Please check your access to \n" \
 	    "          $(BINARY_PLUGS_PATH) \n" \
 	    "      and/or check your value of ALT_BINARY_PLUGS_PATH. \n" \
-	   "" >> $(ERROR_FILE); \
+	   "" >> $(WARNING_FILE); \
 	fi
+  endif
 endif
 
 ######################################################