Changeset 59431 in vbox
- Timestamp:
- Jan 21, 2016 8:16:38 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Config.kmk
r59430 r59431 2766 2766 endif 2767 2767 2768 VBOX_RETRY ?= $( KBUILD_DEVTOOLS)/bin/retry.sh2768 VBOX_RETRY ?= $(ASH) $(KBUILD_DEVTOOLS)/bin/retry.sh 2769 2769 VBOX_SIGNTOOL ?= $(VBOX_RETRY) "$(VBOX_PATH_SIGN_TOOLS)/signtool.exe" 2770 2770 VBOX_INF2CAT ?= $(VBOX_PATH_SELFSIGN)/inf2cat.exe … … 2813 2813 2814 2814 ## Commands for signing a driver image after link. 2815 VBOX_SIGN_DRIVER_CMDS ?= $(if $(eq $(tool_do),LINK_LIBRARY),,$(call VBOX_SIGN_IMAGE_FN,$(out) ))2815 VBOX_SIGN_DRIVER_CMDS ?= $(if $(eq $(tool_do),LINK_LIBRARY),,$(call VBOX_SIGN_IMAGE_FN,$(out),,2)) 2816 2816 ## Sign a file (generic). 2817 2817 # @param 1 The file to sign. 2818 2818 # @param 2 File description. Optional. 2819 2819 # @param 3 Additional parameters. Optional. 2820 # @param 4 Set to 2 if the expression will be expanded twice before chopped into commands (for _CMDS). 2820 2821 ifndef VBOX_SIGN_FILE_FN 2821 2822 ifdef VBOX_CERTIFICATE_SHA2_SUBJECT_NAME 2822 VBOX_SIGN_FILE_FN = $(VBOX_SIGNTOOL) sign /fd sha1 \ 2823 VBOX_SIGN_FILE_FN = $(VBOX_SIGNTOOL) \ 2824 sign /fd sha1\ 2823 2825 $(VBOX_CROSS_CERTIFICATE_FILE_ARGS) \ 2824 2826 $(VBOX_CERTIFICATE_STORE_ARGS) \ … … 2829 2831 $(3) \ 2830 2832 $(1) \ 2831 &&\2832 $(VBOX_SIGNTOOL)sign /as /fd sha256 \2833 $(if-expr "$4" == "2",$$(NLTAB),$(NLTAB))$(VBOX_SIGNTOOL) \ 2834 sign /as /fd sha256 \ 2833 2835 $(VBOX_CROSS_CERTIFICATE_SHA2_FILE_ARGS) \ 2834 2836 $(VBOX_CERTIFICATE_SHA2_STORE_ARGS) \ … … 2855 2857 # @param 1 The file to sign. 2856 2858 # @param 2 File description. Optional. 2857 VBOX_SIGN_IMAGE_FN ?= $(call VBOX_SIGN_FILE_FN,$(1),$(2),/ph) 2859 # @param 3 Set to 2 if the expression will be expanded twice before chopped into commands (for _CMDS). 2860 VBOX_SIGN_IMAGE_FN ?= $(call VBOX_SIGN_FILE_FN,$(1),$(2),/ph,$(3)) 2858 2861 2859 2862 ## Create a security catalog file. … … 2865 2868 $(NL)$(TAB)$(VBOX_INF2CAT) /driver:$(strip $(1)) /os:$(strip $(subst ;,$(COMMA),$(3))) /verbose \ 2866 2869 $(NL)$(TAB)$(MV) $(2) $(2) \ 2867 $(NL)$(TAB)$(call VBOX_SIGN_FILE_FN,$(2) )2870 $(NL)$(TAB)$(call VBOX_SIGN_FILE_FN,$(2),,,$(NL)$(TAB)) 2868 2871 VBOX_MAKE_CAT64_FN ?= $(call VBOX_MAKE_CAT_HLP_FN,$(1),$(2),XP_X64;Server2003_X64;Vista_X64) 2869 2872 VBOX_MAKE_CAT32_FN ?= $(call VBOX_MAKE_CAT_HLP_FN,$(1),$(2),2000;XP_X86;Server2003_X86;Vista_X86) … … 2877 2880 if "$(VBOX_SIGNING_MODE)" == "release" || defined(VBOX_WITH_HARDENING) 2878 2881 ## Commands for signing an executable or a dll image after link. 2879 VBOX_SIGN_IMAGE_CMDS ?= $(if $(eq $(tool_do),LINK_LIBRARY),,$(call VBOX_SIGN_IMAGE_FN,$(out) ))2882 VBOX_SIGN_IMAGE_CMDS ?= $(if $(eq $(tool_do),LINK_LIBRARY),,$(call VBOX_SIGN_IMAGE_FN,$(out),,2)) 2880 2883 endif 2881 2884 ## Enable signing of the additions.
Note:
See TracChangeset
for help on using the changeset viewer.