VirtualBox

Changeset 75347 in vbox for trunk/Config.kmk


Ignore:
Timestamp:
Nov 9, 2018 10:21:10 AM (6 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
126477
Message:

Config.kmk: Not sure what SVN did there, so just reverting back the file changes from r126475 and re-commit.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Config.kmk

    r75345 r75347  
    686686VBOX_WITH_VBOX_IMG =
    687687if1of ($(KBUILD_TARGET).$(KBUILD_TARGET_ARCH), darwin.x86 darwin.amd64 linux.x86 linux.amd64 solaris.amd64 win.x86 win.amd64)
    688  # Enables recording support.
    689  VBOX_WITH_RECORDING = 1
     688 # Enables the video capturing support.
     689 VBOX_WITH_VIDEOREC = 1
    690690 # Enable VPX (VP8 / VP9 codec), used for video capturing.
    691691 VBOX_WITH_LIBVPX = 1
    692  # Enables audio support for recording.
    693  VBOX_WITH_AUDIO_RECORDING = 1
    694  # Enables libopus (Opus), used for encoding audio into recorded data.
     692 # Enables audio support for VM video capturing.
     693 VBOX_WITH_AUDIO_VIDEOREC = 1
     694 # Enables libopus (Opus), used for encoding audio into VM video capturing files.
    695695 VBOX_WITH_LIBOPUS = 1
    696696 # Enable SEE (+ AVX) optimizations for Opus.
     
    12081208  VBOX_WITH_LIBVPX=
    12091209  VBOX_WITH_LIBOPUS=
    1210   # Disable recording (with audio support).
    1211   VBOX_WITH_RECORDING=
    1212   VBOX_WITH_AUDIO_RECORDING=
     1210  # Disable video recording (with audio support).
     1211  VBOX_WITH_VIDEOREC=
     1212  VBOX_WITH_AUDIO_VIDEOREC=
    12131213  endif
    12141214 # branding
     
    36213621  endif
    36223622
    3623   # The above version with complicated requirements is what Xcode 5.0.1GM suggest for kexts.
     3623  ## Sign an application bundle, framework or kernel extension.
     3624  # @param 1  The bundle to sign.
     3625  # @param 2  Identifier, optional.
     3626  # @param 3  Additional codesign command line parameters, optional.
    36243627  ifdef VBOX_WITH_CORP_CODE_SIGNING
    36253628   ## @todo cannot handle $(2), the identifier. $(3) is hopefully either empty or --deep
    36263629   VBOX_SIGN_BUNDLE_FN = $(call MSG_TOOL,SIGNTOOL,,$(1),$(2))$(NLTAB) \
    3627     ditto -c -k $(1) $(1).zip$(NLTAB) \
    3628     $(call VBOX_CCS_SIGN_CMD,apple,$(1).zip,,$(3))$(NLTAB) \
    3629         ditto -x -k $(1).zip $(1)
     3630        ditto -c -k --keepParent "$(1)" "$(1).zip"$(NLTAB) \
     3631        $(call VBOX_CCS_SIGN_CMD,apple,$(1).zip,,$(if $(eq $(3),--deep),-deep,))$(NLTAB) \
     3632        ditto -x -k "$(1).zip" "$(1)/../"$(NLTAB) \
     3633        $(RM) -f -- "$(1).zip"
    36303634  else
    36313635   VBOX_SIGN_BUNDLE_FN = $(call MSG_TOOL,SIGNTOOL,,$(1),$(2))$(NLTAB)$(VBOX_CODESIGN) \
     
    36343638        --file-list - \
    36353639        $(if-expr defined(VBOX_TSA_URL),--timestamp="$(VBOX_TSA_URL)") \
    3636        $(3) \
     3640        $(3) \
    36373641        $(VBOX_CERTIFICATE_SUBJECT_NAME_ARGS) \
    36383642        $(1) $(if $(2),--identifier "$(2)",)
     
    36403644
    36413645  ## Sign a Mach-O image.
    3642   # @param 1  The bundle to sign.
     3646  # @param 1  The file to sign.
    36433647  # @param 2  Identifier, optional.
    3644   VBOX_SIGN_MACHO_FN = $(call MSG_TOOL,SIGNTOOL,,$(1),$(2))$(NLTAB)$(VBOX_CODESIGN) \
     3648  ifdef VBOX_WITH_CORP_CODE_SIGNING
     3649   ## @todo cannot handle $(2), the identifier.
     3650   VBOX_SIGN_MACHO_FN = $(call MSG_TOOL,SIGNTOOL,,$(1),$(2))$(NLTAB)$(call VBOX_CCS_SIGN_CMD,binary,$(1))
     3651  else
     3652   VBOX_SIGN_MACHO_FN = $(call MSG_TOOL,SIGNTOOL,,$(1),$(2))$(NLTAB)$(VBOX_CODESIGN) \
    36453653        --verbose=9 \
    36463654        --force \
     
    36503658        $(1) \
    36513659        $(if $(2),--identifier "$(2)",)
     3660  endif
    36523661
    36533662  ## Sign a VMM Mach-O image.
    3654   # @param 1  The bundle to sign.
     3663  # @param 1  The file to sign.
    36553664  # @param 2  Identifier, optional.
    36563665  VBOX_SIGN_VMM_MOD_FN = $(VBOX_SIGN_MACHO_FN)
    36573666
    36583667  ## Sign a non-executable file.
    3659   # @param 1  The bundle to sign.
     3668  # @param 1  The file to sign.
    36603669  # @param 2  Identifier, optional.
    3661   VBOX_SIGN_FILE_FN = $(call MSG_TOOL,SIGNTOOL,,$(1),$(2))$(NLTAB)$(VBOX_CODESIGN) \
     3670  ifdef VBOX_WITH_CORP_CODE_SIGNING
     3671   ## @todo cannot handle $(2), the identifier.
     3672   VBOX_SIGN_FILE_FN = $(call MSG_TOOL,SIGNTOOL,,$(1),$(2))$(NLTAB)$(call VBOX_CCS_SIGN_CMD,binary,$(1))
     3673  else
     3674   VBOX_SIGN_FILE_FN = $(call MSG_TOOL,SIGNTOOL,,$(1),$(2))$(NLTAB)$(VBOX_CODESIGN) \
    36623675        --verbose=9 \
    36633676        --force \
     
    36673680        $(1) \
    36683681        $(if $(2),--identifier "$(2)",)
     3682  endif
     3683
     3684  ## Sign a DMG image.
     3685  # @param 1  The file to sign.
     3686  # @param 2  Identifier, optional.
     3687  ifdef VBOX_WITH_CORP_CODE_SIGNING
     3688   ## @todo cannot handle $(2), the identifier.
     3689   VBOX_SIGN_DMG_FN = $(call MSG_TOOL,SIGNTOOL,,$(1),$(2))$(NLTAB) \
     3690        $(call VBOX_CCS_SIGN_CMD,mac_dmg,$(1))$(NLTAB) \
     3691        ditto -x -k "$(1).zip" "$(dir $(1))"$(NLTAB) \
     3692        $(RM) -f -- "$(1).zip"
     3693  else
     3694   VBOX_SIGN_DMG_FN = $(VBOX_SIGN_FILE_FN)
     3695  endif
     3696
     3697  ## Sign a PKG file. Used with corp code signing only.
     3698  # @param 1  The file to sign.
     3699  # @param 2  Identifier, optional.
     3700  ifdef VBOX_WITH_CORP_CODE_SIGNING
     3701   ## @todo cannot handle $(2), the identifier.
     3702   VBOX_SIGN_PKG_FN = $(call MSG_TOOL,SIGNTOOL,,$(1),$(2))$(NLTAB)$(call VBOX_CCS_SIGN_CMD,mac_pkg,$(1))
     3703  endif
    36693704
    36703705  ## @def VBOX_TEST_SIGN_KEXT
     
    44974532
    44984533ifeq ($(KBUILD_TARGET),os2)
     4534 ifndef VBOX_USE_WATCOM_FOR_OS2
    44994535TEMPLATE_VBOXR0DRV_TOOL                = GXX3OMF
    45004536TEMPLATE_VBOXR0DRV_CXXFLAGS            = -g $(VBOX_GCC_pipe) $(VBOX_GCC_PEDANTIC_CXX) $(VBOX_GCC_Wno-variadic-macros) $(VBOX_GCC_R0_OPT) $(VBOX_GCC_R0_FP) -fno-strict-aliasing -fno-exceptions -fno-rtti
     
    45034539# wlink thinks physdevice doesn't need fixups and should have a stack - stupid!
    45044540TEMPLATE_VBOXR0DRV_LDFLAGS             = -Zlinker Option -Zlinker internalrelocs, -Zlinker togglerelocs
     4541  else
     4542TEMPLATE_VBOXR0DRV_TOOL     = OPENWATCOM
     4543TEMPLATE_VBOXR0DRV_CTOOL    = OPENWATCOM
     4544TEMPLATE_VBOXR0DRV_CXXTOOL  = OPENWATCOM
     4545TEMPLATE_VBOXR0DRV_LDTOOL   = OPENWATCOM-WL
     4546TEMPLATE_VBOXR0DRV_ARTOOL   = OPENWATCOM
     4547TEMPLATE_VBOXR0DRV_ASTOOL   = NASM
     4548TEMPLATE_VBOXR0DRV_ASFLAGS  = -fobj -DASM_FORMAT_OMF -D__NASM__ -w+orphan-labels #-g -F borland
     4549TEMPLATE_VBOXR0DRV_DEFS.os2 = #_OS2EMX_H
     4550TEMPLATE_VBOXR0DRV_INCS     = \
     4551        $(PATH_TOOL_OPENWATCOM)/h \
     4552        $(PATH_TOOL_OPENWATCOM)/h/os2 \
     4553        $(PATH_ROOT)/include \
     4554        $(PATH_KLIBC_TRUNK)/libc/include # for os2ddk
     4555TEMPLATE_VBOXR0DRV_CFLAGS   = -s -ze -w4 -hd -d1+ -nt=TEXT32 -nc=CODE -4 -of+
     4556TEMPLATE_VBOXR0DRV_CXXFLAGS = -s -ze -w4 -hd -d2t -nt=TEXT32 -nc=CODE -4 -of+
     4557TEMPLATE_VBOXR0DRV_LDFLAGS  = \
     4558        form os2 lx physdevice \
     4559        option NODefaultlibs, internalrelocs, togglerelocs \
     4560        debug dwarf all #option symfile
     4561#       debug codeview all option symfile - wlink generates bad info, overwritten mod dir header.
     4562 endif
    45054563endif
    45064564
     
    70457103endif
    70467104
     7105
    70477106#
    70487107# Template for building R0 libraries for the guest additions.
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