VirtualBox

Changeset 98118 in vbox for trunk/src/VBox/ValidationKit


Ignore:
Timestamp:
Jan 18, 2023 12:35:46 PM (23 months ago)
Author:
vboxsync
Message:

Validation Kit/VKAT: Build the VBoxAudioTest[.exe] binary as an own binary instead of copying vkat to bin/, as we need this as a (correctly) signed executable in the host installer(s) if VBOX_WITH_HOST_SHIPPING_AUDIO_TEST is set [build fix].

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/ValidationKit/utils/audio/Makefile.kmk

    r98117 r98118  
    5555  ifdef VBOX_WITH_HOST_SHIPPING_AUDIO_TEST
    5656   if !defined(VBOX_ONLY_ADDITIONS) && !defined(VBOX_ONLY_SDK)
    57     PROGRAMS += vkathost
     57    PROGRAMS.win += vkathost
    5858   endif
    5959  endif
     
    186186# validation kit.
    187187#
    188 # Note: We also need to have this as a signed binary, so don't just copy the vkat binary from above to
    189 #       the bin/ directory but built this as an own binary.
    190 #
    191188ifdef VBOX_WITH_HOST_SHIPPING_AUDIO_TEST
    192189 ifn1of ($(KBUILD_TARGET), os2 freebsd netbsd openbsd)
    193190  ifndef VBOX_ONLY_ADDITIONS
    194    vkathost_TEMPLATE   = VBoxR3Static
    195    vkathost_EXTENDS    = vkat
    196    vkathost_EXTENDS_BY = appending
    197    vkathost_INST       = $(INST_BIN)
    198    vkathost_NAME       = VBoxAudioTest
     191   ifeq ($(KBUILD_TARGET), win)
     192    # We also need to have this as a signed binary, so don't just copy the vkat binary from below to
     193    # the bin/ directory but built this as an own binary.
     194    #
     195    ## @todo Not sure if we can make this more elegant, but works for me now.
     196    vkathost_TEMPLATE   = VBoxR3Static
     197    vkathost_EXTENDS    = vkat
     198    vkathost_NAME       = VBoxAudioTest
     199   else # On non-Windows we simply copy the vkat executable already built to save build time.
     200    vkathost_TEMPLATE   = VBOXR3EXE
     201    vkathost_SOURCES    = $(vkat_1_TARGET)=>VBoxAudioTest$(HOSTSUFF_EXE)
     202    vkathost_MODE       = a+rx,u+w
     203   endif
    199204  endif
    200205 endif
     
    219224
    220225include $(FILE_KBUILD_SUB_FOOTER)
    221 
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