7201205: Add Makefile configuration option to build with unlimited crypto in OpenJDK.
authorandrew
Thu, 27 Sep 2012 17:55:10 +0100
changeset 14006 f3680f57ce55
parent 14005 b2531e8d8b8b
child 14007 2fde9d6d874a
7201205: Add Makefile configuration option to build with unlimited crypto in OpenJDK. Summary: Allow OpenJDK to use the unlimited crypto policy. Reviewed-by: wetmore, ohair
jdk/make/javax/crypto/Makefile
--- a/jdk/make/javax/crypto/Makefile	Thu Sep 27 10:30:56 2012 +0100
+++ b/jdk/make/javax/crypto/Makefile	Thu Sep 27 17:55:10 2012 +0100
@@ -158,7 +158,12 @@
 #
 
 ifdef OPENJDK
-all: build-jar install-jar build-policy install-limited
+ifdef UNLIMITED_CRYPTO
+POLICY = install-unlimited
+else
+POLICY = install-limited
+endif
+all: build-jar install-jar build-policy $(POLICY)
 else  # OPENJDK
 ifeq ($(strip $(FILES_java)),)
 all: