make/CreateJmods.gmk
changeset 45040 532296e077d3
parent 44985 54f298f9766a
child 45510 ef977f09bac8
equal deleted inserted replaced
45039:a6583de69bb5 45040:532296e077d3
   133 	$(call LogWarn, Creating $(patsubst $(OUTPUT_ROOT)/%, %, $@))
   133 	$(call LogWarn, Creating $(patsubst $(OUTPUT_ROOT)/%, %, $@))
   134 	$(call MakeDir, $(JMODS_DIR) $(JMODS_TEMPDIR))
   134 	$(call MakeDir, $(JMODS_DIR) $(JMODS_TEMPDIR))
   135 	$(RM) $@ $(JMODS_TEMPDIR)/$(notdir $@)
   135 	$(RM) $@ $(JMODS_TEMPDIR)/$(notdir $@)
   136 	$(JMOD) create \
   136 	$(JMOD) create \
   137             --module-version $(VERSION_SHORT) \
   137             --module-version $(VERSION_SHORT) \
   138             --os-name $(REQUIRED_OS_NAME) \
   138             --target-platform '$(OPENJDK_MODULE_TARGET_PLATFORM)' \
   139             --os-arch $(OPENJDK_TARGET_CPU_LEGACY) \
       
   140             --os-version $(REQUIRED_OS_VERSION) \
       
   141             --module-path $(JMODS_DIR) \
   139             --module-path $(JMODS_DIR) \
   142 	    --exclude '**{_the.*,*.diz,*.debuginfo,*.dSYM/**,*.dSYM,*.pdb,*.map}' \
   140 	    --exclude '**{_the.*,_*.marker,*.diz,*.debuginfo,*.dSYM/**,*.dSYM,*.pdb,*.map}' \
   143 	    $(JMOD_FLAGS) $(JMODS_TEMPDIR)/$(notdir $@)
   141 	    $(JMOD_FLAGS) $(JMODS_TEMPDIR)/$(notdir $@)
   144 	$(MV) $(JMODS_TEMPDIR)/$(notdir $@) $@
   142 	$(MV) $(JMODS_TEMPDIR)/$(notdir $@) $@
   145 
   143 
   146 TARGETS += $(JMODS_DIR)/$(MODULE).jmod
   144 TARGETS += $(JMODS_DIR)/$(MODULE).jmod
   147 
   145