Changeset 75347 in vbox for trunk/Config.kmk
- Timestamp:
- Nov 9, 2018 10:21:10 AM (6 years ago)
- svn:sync-xref-src-repo-rev:
- 126477
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Config.kmk
r75345 r75347 686 686 VBOX_WITH_VBOX_IMG = 687 687 if1of ($(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= 1688 # Enables the video capturing support. 689 VBOX_WITH_VIDEOREC = 1 690 690 # Enable VPX (VP8 / VP9 codec), used for video capturing. 691 691 VBOX_WITH_LIBVPX = 1 692 # Enables audio support for recording.693 VBOX_WITH_AUDIO_ RECORDING= 1694 # 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. 695 695 VBOX_WITH_LIBOPUS = 1 696 696 # Enable SEE (+ AVX) optimizations for Opus. … … 1208 1208 VBOX_WITH_LIBVPX= 1209 1209 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= 1213 1213 endif 1214 1214 # branding … … 3621 3621 endif 3622 3622 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. 3624 3627 ifdef VBOX_WITH_CORP_CODE_SIGNING 3625 3628 ## @todo cannot handle $(2), the identifier. $(3) is hopefully either empty or --deep 3626 3629 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" 3630 3634 else 3631 3635 VBOX_SIGN_BUNDLE_FN = $(call MSG_TOOL,SIGNTOOL,,$(1),$(2))$(NLTAB)$(VBOX_CODESIGN) \ … … 3634 3638 --file-list - \ 3635 3639 $(if-expr defined(VBOX_TSA_URL),--timestamp="$(VBOX_TSA_URL)") \ 3636 3640 $(3) \ 3637 3641 $(VBOX_CERTIFICATE_SUBJECT_NAME_ARGS) \ 3638 3642 $(1) $(if $(2),--identifier "$(2)",) … … 3640 3644 3641 3645 ## Sign a Mach-O image. 3642 # @param 1 The bundle to sign.3646 # @param 1 The file to sign. 3643 3647 # @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) \ 3645 3653 --verbose=9 \ 3646 3654 --force \ … … 3650 3658 $(1) \ 3651 3659 $(if $(2),--identifier "$(2)",) 3660 endif 3652 3661 3653 3662 ## Sign a VMM Mach-O image. 3654 # @param 1 The bundle to sign.3663 # @param 1 The file to sign. 3655 3664 # @param 2 Identifier, optional. 3656 3665 VBOX_SIGN_VMM_MOD_FN = $(VBOX_SIGN_MACHO_FN) 3657 3666 3658 3667 ## Sign a non-executable file. 3659 # @param 1 The bundle to sign.3668 # @param 1 The file to sign. 3660 3669 # @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) \ 3662 3675 --verbose=9 \ 3663 3676 --force \ … … 3667 3680 $(1) \ 3668 3681 $(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 3669 3704 3670 3705 ## @def VBOX_TEST_SIGN_KEXT … … 4497 4532 4498 4533 ifeq ($(KBUILD_TARGET),os2) 4534 ifndef VBOX_USE_WATCOM_FOR_OS2 4499 4535 TEMPLATE_VBOXR0DRV_TOOL = GXX3OMF 4500 4536 TEMPLATE_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 … … 4503 4539 # wlink thinks physdevice doesn't need fixups and should have a stack - stupid! 4504 4540 TEMPLATE_VBOXR0DRV_LDFLAGS = -Zlinker Option -Zlinker internalrelocs, -Zlinker togglerelocs 4541 else 4542 TEMPLATE_VBOXR0DRV_TOOL = OPENWATCOM 4543 TEMPLATE_VBOXR0DRV_CTOOL = OPENWATCOM 4544 TEMPLATE_VBOXR0DRV_CXXTOOL = OPENWATCOM 4545 TEMPLATE_VBOXR0DRV_LDTOOL = OPENWATCOM-WL 4546 TEMPLATE_VBOXR0DRV_ARTOOL = OPENWATCOM 4547 TEMPLATE_VBOXR0DRV_ASTOOL = NASM 4548 TEMPLATE_VBOXR0DRV_ASFLAGS = -fobj -DASM_FORMAT_OMF -D__NASM__ -w+orphan-labels #-g -F borland 4549 TEMPLATE_VBOXR0DRV_DEFS.os2 = #_OS2EMX_H 4550 TEMPLATE_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 4555 TEMPLATE_VBOXR0DRV_CFLAGS = -s -ze -w4 -hd -d1+ -nt=TEXT32 -nc=CODE -4 -of+ 4556 TEMPLATE_VBOXR0DRV_CXXFLAGS = -s -ze -w4 -hd -d2t -nt=TEXT32 -nc=CODE -4 -of+ 4557 TEMPLATE_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 4505 4563 endif 4506 4564 … … 7045 7103 endif 7046 7104 7105 7047 7106 # 7048 7107 # Template for building R0 libraries for the guest additions.
Note:
See TracChangeset
for help on using the changeset viewer.