VirtualBox

Ignore:
Timestamp:
Jan 18, 2023 11:30:52 AM (2 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
155280
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.

File:
1 edited

Legend:

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

    r98103 r98116  
    5353 if defined(VBOX_ONLY_VALIDATIONKIT) || !defined(VBOX_ONLY_BUILD)
    5454  PROGRAMS += vkat
     55  ifdef VBOX_WITH_HOST_SHIPPING_AUDIO_TEST
     56   if !defined(VBOX_ONLY_ADDITIONS) && !defined(VBOX_ONLY_SDK)
     57    PROGRAMS += vkathost
     58   endif
     59  endif
    5560 endif
    5661 ifdef VBOX_WITH_ADDITIONS_SHIPPING_AUDIO_TEST
     
    175180vkatadd_LIBS.solaris   = m
    176181
    177 
    178 #
    179 # Copy the valkit vkat to bin so it can be shipped with the host installer too.
     182#
     183# Build the valkit vkat to bin as VBoxAudioTest, so that it can be shipped with the host installer too.
    180184#
    181185# We use the same name as for the GAs, even if the binaries is the same as the
    182186# validation kit.
     187#
     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.
    183190#
    184191ifdef VBOX_WITH_HOST_SHIPPING_AUDIO_TEST
    185192 ifn1of ($(KBUILD_TARGET), os2 freebsd netbsd openbsd)
    186193  ifndef VBOX_ONLY_ADDITIONS
    187    INSTALLS += vkathost
    188    vkathost_TEMPLATE = VBOXR3EXE
    189    vkathost_SOURCES  = $(vkat_1_TARGET)=>VBoxAudioTest$(HOSTSUFF_EXE)
    190    vkathost_MODE     = a+rx,u+w
     194   vkathost_TEMPLATE   = VBoxR3Static
     195   vkathost_EXTENDS    = vkat
     196   vkathost_INST       = $(INST_BIN)
     197   vkathost_NAME       = VBoxAudioTest
    191198  endif
    192199 endif
Note: See TracChangeset for help on using the changeset viewer.

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