jdk/make/common/shared/Sanity.gmk
changeset 2304 05e04a29c589
parent 2186 53da56fa3bf9
child 2660 3c98e01dcbcf
equal deleted inserted replaced
2303:719eef0932ce 2304:05e04a29c589
   500 # If building OPENJDK check pre-built binaries are
   500 # If building OPENJDK check pre-built binaries are
   501 # available for binary plug source components.
   501 # available for binary plug source components.
   502 ######################################################
   502 ######################################################
   503 ifdef OPENJDK
   503 ifdef OPENJDK
   504 sane-binary-plugs:
   504 sane-binary-plugs:
       
   505   ifeq ($(IMPORT_BINARY_PLUGS),true)
   505 	@if [ ! -d "$(BINARY_PLUGS_PATH)" ]; then \
   506 	@if [ ! -d "$(BINARY_PLUGS_PATH)" ]; then \
   506 	  $(ECHO) "ERROR: Can't locate pre-built libraries. \n" \
   507 	  $(ECHO) "WARNING: Can't locate pre-built libraries. \n" \
   507 	    "      Please check your access to \n" \
   508 	    "      Please check your access to \n" \
   508 	    "          $(BINARY_PLUGS_PATH) \n" \
   509 	    "          $(BINARY_PLUGS_PATH) \n" \
   509 	    "      and/or check your value of ALT_BINARY_PLUGS_PATH. \n" \
   510 	    "      and/or check your value of ALT_BINARY_PLUGS_PATH. \n" \
   510 	   "" >> $(ERROR_FILE); \
   511 	   "" >> $(WARNING_FILE); \
   511 	fi
   512 	fi
       
   513   endif
   512 endif
   514 endif
   513 
   515 
   514 ######################################################
   516 ######################################################
   515 # VARIANT must be set to DBG or OPT
   517 # VARIANT must be set to DBG or OPT
   516 ######################################################
   518 ######################################################