Changeset 85336 in vbox
- Timestamp:
- Jul 14, 2020 11:47:13 AM (4 years ago)
- File:
-
- 1 edited
-
trunk/Config.kmk (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Config.kmk
r85332 r85336 3516 3516 endif 3517 3517 VBOX_RETRY ?= $(ASH) $(KBUILD_DEVTOOLS)/bin/retry.sh 3518 # temporary solution for a $(dir ...) equivalent which assumes that it gets a single path, possibly with spaces. 3519 VBOX_DIRX = $(subst ?,$(SP),$(dir $(subst $(SP),?,$1))) 3518 3520 # Corp code signing client. 3519 3521 VBOX_CCS_CLIENT_JAR := $(firstword $(rsort \ … … 3532 3534 sign -user "$(VBOX_CCS_USER)" -global_uid "$(VBOX_CCS_GLOBAL_UID)" \ 3533 3535 -job_timeout 90 -server_timeout 75 -server "$(VBOX_CCS_SERVER)" \ 3534 -sign_method "$1" -file_to_sign "$2" -signed_location "$(if $3,$3,$( dir$2))" $43536 -sign_method "$1" -file_to_sign "$2" -signed_location "$(if $3,$3,$(call VBOX_DIRX,$2))" $4 3535 3537 3536 3538 ifeq ($(KBUILD_HOST),win) … … 3624 3626 ifndef VBOX_SIGN_FILE_FN 3625 3627 if $(intersects win all 1,$(VBOX_WITH_CORP_CODE_SIGNING)) 3626 VBOX_SIGN_FILE_FN = $(call VBOX_CCS_SIGN_CMD,driver$(if-expr "$3" == "/ph",_pagehash,),$1, $(dir $1),-digest_algo SHA1) \3628 VBOX_SIGN_FILE_FN = $(call VBOX_CCS_SIGN_CMD,driver$(if-expr "$3" == "/ph",_pagehash,),$1,,-digest_algo SHA1) \ 3627 3629 $(if-expr "$5" == "",\ 3628 3630 $(if-expr "$6" == "",$(if-expr "$4" == "2",$$(NLTAB),$(NLTAB)),$6) \ 3629 $(call VBOX_CCS_SIGN_CMD,driver$(if-expr "$3" == "/ph",_pagehash,),$1, $(dir $1),-dual_sign -digest_algo SHA2))3631 $(call VBOX_CCS_SIGN_CMD,driver$(if-expr "$3" == "/ph",_pagehash,),$1,,-dual_sign -digest_algo SHA2)) 3630 3632 else ifdef VBOX_CERTIFICATE_SHA2_SUBJECT_NAME 3631 3633 VBOX_SIGN_FILE_FN = $(VBOX_SIGNTOOL) \ … … 3668 3670 ifndef VBOX_SIGN_EV_FILE_FN 3669 3671 if $(intersects win_ev all 1,$(VBOX_WITH_CORP_CODE_SIGNING)) 3670 VBOX_SIGN_EV_FILE_FN = $(call VBOX_CCS_SIGN_CMD,microsoftev,$1,$(if $2,$2, $(dir $1)))3672 VBOX_SIGN_EV_FILE_FN = $(call VBOX_CCS_SIGN_CMD,microsoftev,$1,$(if $2,$2,)) 3671 3673 else ifdef VBOX_CERTIFICATE_EV_SUBJECT_NAME 3672 3674 VBOX_SIGN_EV_FILE_FN = $(VBOX_SIGNTOOL) \ … … 3710 3712 $(if-expr "$4" == "2",$$(NLTAB),$(NLTAB))$(RM) -f -- "$1.ccs" \ 3711 3713 $(if-expr "$4" == "2",$$(NLTAB),$(NLTAB))$(CP) -- "$1" "$1.ccs" \ 3712 $(if-expr "$4" == "2",$$(NLTAB),$(NLTAB))$(call VBOX_CCS_SIGN_CMD,driver$(if-expr "$3" == "/ph",_pagehash,),$1.ccs, $(dir $1.ccs),-digest_algo SHA2) \3714 $(if-expr "$4" == "2",$$(NLTAB),$(NLTAB))$(call VBOX_CCS_SIGN_CMD,driver$(if-expr "$3" == "/ph",_pagehash,),$1.ccs,,-digest_algo SHA2) \ 3713 3715 $(if-expr "$4" == "2",$$(NLTAB),$(NLTAB))$(VBOX_RTSIGNTOOL) add-nested-$(if-expr "$(suffix $1)" == ".cat",cat,exe)-signature -v "$1" "$1.ccs" \ 3714 3716 $(if-expr "$4" == "2",$$(NLTAB),$(NLTAB))$(RM) -f -- "$1.ccs" \ … … 3793 3795 mac_notarize -user "$(VBOX_CCS_USER)" -global_uid "$(VBOX_CCS_GLOBAL_UID)" \ 3794 3796 -job_timeout 90 -server_timeout 75 -server "$(VBOX_CCS_SERVER)" \ 3795 -file_to_notarize "$1" -bundle_id "$2" -download_location "$(if $3,$3,$( dir$1))"3797 -file_to_notarize "$1" -bundle_id "$2" -download_location "$(if $3,$3,$(call VBOX_DIRX,$1))" 3796 3798 3797 3799 ## Sign an application bundle, framework or kernel extension.
Note:
See TracChangeset
for help on using the changeset viewer.

