6825175: Remove or disable sanity check on binary plugs
authorohair
Wed, 01 Apr 2009 16:49:43 -0700
changeset 2304 05e04a29c589
parent 2303 719eef0932ce
child 2305 8e995449d1a9
6825175: Remove or disable sanity check on binary plugs Reviewed-by: xdono
jdk/make/common/shared/Sanity.gmk
--- 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
 
 ######################################################