< prev index next >

make/autoconf/bootcycle-spec.gmk.in

Print this page




  45 # Use a different Boot JDK
  46 BOOT_JDK := $(JDK_IMAGE_DIR)
  47 
  48 # The bootcycle build has a different output directory
  49 OLD_OUTPUTDIR:=@OUTPUTDIR@
  50 OUTPUTDIR:=$(OLD_OUTPUTDIR)/bootcycle-build
  51 SJAVAC_SERVER_DIR:=$(patsubst $(OLD_OUTPUTDIR)%, $(OUTPUTDIR)%, $(SJAVAC_SERVER_DIR))
  52 
  53 JAVA_CMD:=$(BOOT_JDK)/bin/java
  54 JAVAC_CMD:=$(BOOT_JDK)/bin/javac
  55 JAR_CMD:=$(BOOT_JDK)/bin/jar
  56 JARSIGNER_CMD:=$(BOOT_JDK)/bin/jarsigner
  57 SJAVAC_SERVER_JAVA_CMD:=$(JAVA_CMD)
  58 # When building a 32bit target, make sure the sjavac server flags are compatible
  59 # with a 32bit JVM.
  60 ifeq ($(OPENJDK_TARGET_CPU_BITS), 32)
  61   SJAVAC_SERVER_JAVA_FLAGS := @BOOTCYCLE_JVM_ARGS_BIG@
  62 endif
  63 # The bootcycle JVM arguments may differ from the original boot jdk.
  64 JAVA_FLAGS_BIG := @BOOTCYCLE_JVM_ARGS_BIG@
  65 # Any CDS settings generated for the bootjdk are invalid in the bootcycle build.
  66 # By filtering out those JVM args, the bootcycle JVM will use its default
  67 # settings for CDS.
  68 JAVA_FLAGS := $(filter-out -XX:SharedArchiveFile% -Xshare%, $(JAVA_FLAGS))


  45 # Use a different Boot JDK
  46 BOOT_JDK := $(JDK_IMAGE_DIR)
  47 
  48 # The bootcycle build has a different output directory
  49 OLD_OUTPUTDIR:=@OUTPUTDIR@
  50 OUTPUTDIR:=$(OLD_OUTPUTDIR)/bootcycle-build
  51 SJAVAC_SERVER_DIR:=$(patsubst $(OLD_OUTPUTDIR)%, $(OUTPUTDIR)%, $(SJAVAC_SERVER_DIR))
  52 
  53 JAVA_CMD:=$(BOOT_JDK)/bin/java
  54 JAVAC_CMD:=$(BOOT_JDK)/bin/javac
  55 JAR_CMD:=$(BOOT_JDK)/bin/jar
  56 JARSIGNER_CMD:=$(BOOT_JDK)/bin/jarsigner
  57 SJAVAC_SERVER_JAVA_CMD:=$(JAVA_CMD)
  58 # When building a 32bit target, make sure the sjavac server flags are compatible
  59 # with a 32bit JVM.
  60 ifeq ($(OPENJDK_TARGET_CPU_BITS), 32)
  61   SJAVAC_SERVER_JAVA_FLAGS := @BOOTCYCLE_JVM_ARGS_BIG@
  62 endif
  63 # The bootcycle JVM arguments may differ from the original boot jdk.
  64 JAVA_FLAGS_BIG := @BOOTCYCLE_JVM_ARGS_BIG@




< prev index next >