VirtualBox

Changeset 106990 in vbox for trunk/src/VBox/Installer/win


Ignore:
Timestamp:
Nov 13, 2024 3:22:25 PM (2 months ago)
Author:
vboxsync
Message:

Installer/win/Makefile.kmk: Combined packing adjustments for win.arm64. jiraref:VBP-1442

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Installer/win/Makefile.kmk

    r106989 r106990  
    205205
    206206ifdef VBOX_WITH_COMBINED_PACKAGE
    207  PATH_MULTIARCH_TEMP                := $(PATH_OUT_BASE)/win.x86/$(KBUILD_TYPE)/obj/Installer
     207 PATH_MULTIARCH_TEMP                := $(PATH_OUT_BASE)/win.amd64/$(KBUILD_TYPE)/obj/Installer
    208208 PATH_MULTIARCH_GUEST_ADDITIONS_ISO := $(PATH_OUT_BASE)/win.amd64/$(KBUILD_TYPE)/bin/additions
    209209 PACKAGE_NAME_MULTIARCH             := $(PACKAGE_NAME_LANG)-MultiArch
    210  PACKAGE_NAME_MULTIARCH.x86         := $(PACKAGE_NAME_MULTIARCH)_x86.msi
    211210 PACKAGE_NAME_MULTIARCH.amd64       := $(PACKAGE_NAME_MULTIARCH)_amd64.msi
     211 PACKAGE_NAME_MULTIARCH.arm64       := $(PACKAGE_NAME_MULTIARCH)_arm64.msi
    212212 PACKAGE_NAME_FINAL                 := $(PATH_MULTIARCH_TEMP)/$(PACKAGE_NAME_MULTIARCH.$(KBUILD_TARGET_ARCH))
    213213 PACKAGE_NAME_MULTIARCH_FINAL       := $(PACKAGE_NAME_MULTIARCH).exe
     
    219219 BLDDIRS += $(PATH_MULTIARCH_TEMP)
    220220 PACKING += $(PACKAGE_NAME_FINAL)
    221  ifeq ($(KBUILD_TARGET_ARCH),x86)
     221 ifeq ($(KBUILD_TARGET_ARCH),amd64)
    222222  PACKING += $(PATH_STAGE_BIN)/$(PACKAGE_NAME_MULTIARCH_FINAL)
    223223 endif
     
    268268
    269269ifdef VBOX_WITH_COMBINED_PACKAGE
    270  ifeq ($(KBUILD_TARGET_ARCH),x86)
     270 ifeq ($(KBUILD_TARGET_ARCH),amd64)
    271271  OTHER_CLEAN += \
    272272        $(VBOX_WIN_INST_REPACK_DIR)/3-multiarch-$(PACKAGE_NAME_MULTIARCH_FINAL).cmd \
    273         $(PATH_MULTIARCH_TEMP)/$(PACKAGE_NAME_MULTIARCH.x86)
     273        $(PATH_MULTIARCH_TEMP)/$(PACKAGE_NAME_MULTIARCH.amd64)
    274274 endif
    275275 ifndef VBOX_WITH_MSM_INSTALL
     
    11331133
    11341134
    1135 if defined(VBOX_WITH_COMBINED_PACKAGE) && "$(KBUILD_TARGET_ARCH)" == "x86"
     1135if defined(VBOX_WITH_COMBINED_PACKAGE) && "$(KBUILD_TARGET_ARCH)" == "amd64"
    11361136 #
    11371137 # Make the multi-architecture installer by calling our stub builder
    1138  # with both platform installers (x86 and amd64) + common cab. The common
     1138 # with both platform installers (amd64 and arm64) + common cab. The common
    11391139 # cab only is needed when we don't use merge modules. We only
    1140  # need to do this once; so do it on x86 only.
     1140 # need to do this once; so do it on amd64 only.
    11411141 #
    11421142 $(PATH_STAGE_BIN)/$(PACKAGE_NAME_MULTIARCH_FINAL) \
    11431143 + $(VBOX_WIN_INST_REPACK_DIR)/3-multiarch-$(PACKAGE_NAME_MULTIARCH_FINAL).cmd: \
    1144                 $(PATH_MULTIARCH_TEMP)/$(PACKAGE_NAME_MULTIARCH.x86) \
    11451144                $(PATH_MULTIARCH_TEMP)/$(PACKAGE_NAME_MULTIARCH.amd64) \
     1145                $(PATH_MULTIARCH_TEMP)/$(PACKAGE_NAME_MULTIARCH.arm64) \
    11461146                $(PATH_STAGE_BIN)/VBoxStub.exe \
    11471147                $$(VBoxStubBld_1_TARGET)
     
    11531153        $(REDIRECT) -C $(@D) -- \
    11541154                $(VBoxStubBld_1_TARGET) -out $@ \
    1155                         -target-x86 $(PATH_MULTIARCH_TEMP)/$(PACKAGE_NAME_MULTIARCH.x86) \
    11561155                        -target-amd64 $(PATH_MULTIARCH_TEMP)/$(PACKAGE_NAME_MULTIARCH.amd64) \
     1156                        -target-arm64 $(PATH_MULTIARCH_TEMP)/$(PACKAGE_NAME_MULTIARCH.arm64) \
    11571157                        $(if-expr defined(VBOX_WITH_MSM_INSTALL),,-target-all $(PACKAGE_NAME_MULTIARCH_COMMONCAB)) \
    11581158                        -stub $(PATH_STAGE_BIN)/VBoxStub.exe
     
    11681168                '..\bin\VBoxStubBld.exe ^' \
    11691169                '  -out $(@F) ^' \
    1170                 '  -target-x86 $(PACKAGE_NAME_MULTIARCH.x86) ^' \
    1171                 '  -target-amd64 ../../../win.amd64/$(KBUILD_TYPE)/repack/$(PACKAGE_NAME_MULTIARCH.amd64) ^' \
     1170                '  -target-amd64 $(PACKAGE_NAME_MULTIARCH.amd64) ^' \
     1171                '  -target-arm64 ../../../win.arm64/$(KBUILD_TYPE)/repack/$(PACKAGE_NAME_MULTIARCH.arm64) ^' \
    11721172                $(if-expr defined(VBOX_WITH_MSM_INSTALL),\
    1173                 ,'  -target-all ../../../win.amd64/$(KBUILD_TYPE)/repack/$(notdir $(PACKAGE_NAME_MULTIARCH_COMMONCAB)) ^' ) \
     1173                ,'  -target-all $(notdir $(PACKAGE_NAME_MULTIARCH_COMMONCAB)) ^' ) \
    11741174                '  -stub ../bin/VBoxStub.exe || exit /b1' \
    11751175                '$(VBOX_VCC_EDITBIN) /IntegrityCheck:NO $(@F) || exit /b1' \
     
    12561256        $(RePackScripts_0_OUTDIR)/VMMR0.inf \
    12571257        $(RePackScripts_0_OUTDIR)/VBoxExtPackPuel.inf
    1258 if !defined(VBOX_WITH_COMBINED_PACKAGE) || "$(KBUILD_TARGET_ARCH)" == "x86"
     1258if !defined(VBOX_WITH_COMBINED_PACKAGE) || "$(KBUILD_TARGET_ARCH)" == "amd64"
    12591259 RePackScripts_SOURCES += \
    12601260        $(RePackScripts_0_OUTDIR)/RepackExtPack.cmd
    12611261endif
    12621262ifdef VBOX_WITH_COMBINED_PACKAGE
    1263  if "$(KBUILD_TARGET_ARCH)" == "x86"
     1263 if "$(KBUILD_TARGET_ARCH)" == "amd64"
    12641264  RePackScripts_SOURCES += \
    12651265        $(RePackScripts_0_OUTDIR)/Combined-1-Prepare.cmd \
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette