< prev index next >

make/CreateJmods.gmk

Print this page

        

@@ -75,11 +75,11 @@
     DEPS += $(patsubst %, $(JMODS_DIR)/%.jmod, \
         $(filter-out java.base $(ALL_UPGRADEABLE_MODULES), $(call FindAllModules)))
 
     EXCLUDE_PATTERN := $(strip $(subst $(SPACE),|,$(strip $(ALL_UPGRADEABLE_MODULES))))
 
-    JMOD_FLAGS += --modulepath $(JMODS_DIR) \
+    JMOD_FLAGS += --module-path $(JMODS_DIR) \
         --hash-modules '^(?!$(EXCLUDE_PATTERN))'
   endif
 endif
 
 # Changes to the jmod tool itself should also trigger a rebuild of all jmods.

@@ -100,11 +100,11 @@
         $(JMOD) create \
             --module-version $(VERSION_SHORT) \
             --os-name $(REQUIRED_OS_NAME) \
             --os-arch $(OPENJDK_TARGET_CPU_LEGACY) \
             --os-version $(REQUIRED_OS_VERSION) \
-            --modulepath $(JMODS_DIR) \
+            --module-path $(JMODS_DIR) \
             --exclude '**{_the.*,*.diz,*.debuginfo,*.dSYM/**,*.pdb,*.map}' \
             $(JMOD_FLAGS) $(SUPPORT_OUTPUTDIR)/jmods/$(notdir $@)
         $(MV) $(SUPPORT_OUTPUTDIR)/jmods/$(notdir $@) $@
 
 TARGETS += $(IMAGES_OUTPUTDIR)/jmods/$(MODULE).jmod
< prev index next >