VirtualBox

Changeset 98919 in vbox for trunk/Makefile.kmk


Ignore:
Timestamp:
Mar 12, 2023 4:48:08 PM (21 months ago)
Author:
vboxsync
Message:

Makefile.kmk: Attempt at building and packaging the validationkit on arm64, bugref:9898

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Makefile.kmk

    r98445 r98919  
    17551755        + $(KMK) -C tools fetch KBUILD_TARGET_ARCH=amd64 KBUILD_TARGET=darwin  VBOX_ONLY_VALIDATIONKIT=1
    17561756        + $(KMK) -C tools fetch KBUILD_TARGET_ARCH=x86   KBUILD_TARGET=darwin  VBOX_ONLY_VALIDATIONKIT=1
     1757        + $(KMK) -C tools fetch KBUILD_TARGET_ARCH=arm64 KBUILD_TARGET=darwin  VBOX_ONLY_VALIDATIONKIT=1
    17571758#       + $(KMK) -C tools fetch KBUILD_TARGET_ARCH=amd64 KBUILD_TARGET=freebsd VBOX_ONLY_VALIDATIONKIT=1
    17581759#       + $(KMK) -C tools fetch KBUILD_TARGET_ARCH=x86   KBUILD_TARGET=freebsd VBOX_ONLY_VALIDATIONKIT=1
     
    17771778                validationkit-build-freebsd.x86 \
    17781779                validationkit-build-darwin.amd64 \
    1779                 validationkit-build-darwin.x86
     1780                validationkit-build-darwin.x86 \
     1781                validationkit-build-darwin.arm64
    17801782
    17811783validationkit-build-rsync-into-vms: \
     
    17931795VBOX_VALIDATIONKIT_BUILD.x86 = VBOX_ONLY_VALIDATIONKIT=1 \
    17941796        KBUILD_TYPE=$(KBUILD_TYPE) KBUILD_TARGET_ARCH=x86 VBOX_SVN_REV=$(VBOX_SVN_REV)
     1797
     1798VBOX_VALIDATIONKIT_BUILD.arm64 = VBOX_ONLY_VALIDATIONKIT=1 \
     1799        KBUILD_TYPE=$(KBUILD_TYPE) KBUILD_TARGET_ARCH=arm64 VBOX_SVN_REV=$(VBOX_SVN_REV)
    17951800
    17961801# Automatically determine the Validation Kit build subdir name. Used for figuring
     
    19581963endif
    19591964
     1965validationkit-build-darwin.arm64:   $(VBOX_VALIDATIONKIT_BUILD_WIN_HOST_FIRST)
     1966ifeq ($(KBUILD_TARGET).$(KBUILD_TARGET_ARCH),darwin.arm64)
     1967        + $(TIME) -- $(KMK) $(VBOX_VALIDATIONKIT_BUILD.arm64) all $(VBOX_VALIDATIONKIT_HOST_BUILD_TWEAK)
     1968else
     1969        $(call VBOX_BLD_VM_MSG_BEGIN,Darwin/arm64 Validation Kit)
     1970        $(TIME) -- $(call VBOX_RSYNC_IN_FN,darwin,arm64) . $(VBOX_BLD_VM_DARWIN_ARM64_IP):/Users/vbox/tinderbox/$(VBOX_VALIDATIONKIT_BUILD_SUBDIRNAME)
     1971        $(TIME) -- $(VBOX_SSH) vbox@$(VBOX_BLD_VM_DARWIN_ARM64_IP) 'PATH=$$PATH:/opt/local/bin; cd /Users/vbox/tinderbox/$(VBOX_VALIDATIONKIT_BUILD_SUBDIRNAME) && KBUILD_HOST_ARCH=arm64 tools/env.sh --no-wine kmk $(VBOX_VALIDATIONKIT_BUILD.arm64) all '
     1972        $(TIME) -- $(VBOX_RSYNC) -am -v --delete $(VBOX_BLD_VM_DARWIN_ARM64_IP):/Users/vbox/tinderbox/$(VBOX_VALIDATIONKIT_BUILD_SUBDIRNAME)/out/darwin.arm64 out/
     1973        $(call VBOX_BLD_VM_MSG_END__,Darwin/arm64 Validation Kit)
     1974endif
     1975
    19601976
    19611977validationkit-packing:
     
    19631979                VBOX_WITH_VALIDATIONKIT_PACKING.darwin.amd64=1 \
    19641980                VBOX_WITH_VALIDATIONKIT_PACKING.darwin.x86=2 \
     1981                VBOX_WITH_VALIDATIONKIT_PACKING.darwin.arm64=1 \
    19651982                VBOX_WITH_VALIDATIONKIT_PACKING.freebsd.amd64= \
    19661983                VBOX_WITH_VALIDATIONKIT_PACKING.freebsd.x86= \
     
    19892006                validationkit-build-darwin.amd64 \
    19902007                validationkit-build-darwin.x86 \
     2008                validationkit-build-darwin.arm64 \
    19912009                validationkit-packing
    19922010
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