- Timestamp:
- Jan 15, 2022 12:29:42 AM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Config.kmk
r93245 r93246 4044 4044 # @param 3 Set to 2 if the expression will be expanded twice before chopped into commands (for _CMDS). 4045 4045 if1of (win_with_ev,$(VBOX_WITH_CORP_CODE_SIGNING)) 4046 VBOX_SIGN_IMAGE_FN ?= $(call VBOX_SIGN_IMAGE_WITH_EV_FN,$(1),$(2),/ph,$(3)) 4046 VBOX_SIGN_IMAGE_FN ?= $(call VBOX_SIGN_IMAGE_WITH_EV_FN,$(1),$(2),/ph,$(3)) 4047 VBOX_SIGN_IMAGE_ORDERDEPS ?= $(VBOX_RTSIGNTOOL) 4047 4048 else 4048 VBOX_SIGN_IMAGE_FN ?= $(call VBOX_SIGN_FILE_FN,$(1),$(2),/ph,$(3)) 4049 VBOX_SIGN_IMAGE_FN ?= $(call VBOX_SIGN_FILE_FN,$(1),$(2),/ph,$(3)) 4050 VBOX_SIGN_IMAGE_ORDERDEPS ?= 4049 4051 endif 4050 4052 4051 4053 ## Commands for signing a driver image after link. 4052 4054 if $(intersects win_planb,$(VBOX_WITH_CORP_CODE_SIGNING)) 4053 VBOX_SIGN_DRIVER_CMDS ?= $(if $(eq $(tool_do),LINK_LIBRARY),,$(call VBOX_SIGN_IMAGE_PLAN_B_FN,$(out),,/ph,2))4055 VBOX_SIGN_DRIVER_CMDS ?= $(if $(eq $(tool_do),LINK_LIBRARY),,$(call VBOX_SIGN_IMAGE_PLAN_B_FN,$(out),,/ph,2)) 4054 4056 VBOX_SIGN_DRIVER_ORDERDEPS ?= $(VBOX_RTSIGNTOOL) 4055 4057 else 4056 VBOX_SIGN_DRIVER_CMDS ?= $(if $(eq $(tool_do),LINK_LIBRARY),,$(call VBOX_SIGN_IMAGE_FN,$(out),,2)) 4058 VBOX_SIGN_DRIVER_CMDS ?= $(if $(eq $(tool_do),LINK_LIBRARY),,$(call VBOX_SIGN_IMAGE_FN,$(out),,2)) 4059 VBOX_SIGN_DRIVER_ORDERDEPS ?= $(if $(eq $(tool_do),LINK_LIBRARY),,$(VBOX_SIGN_IMAGE_ORDERDEPS)) 4057 4060 endif 4058 4061 … … 4083 4086 if "$(VBOX_SIGNING_MODE)" == "release" || defined(VBOX_WITH_HARDENING) 4084 4087 ## Commands for signing an executable or a dll image after link. 4085 VBOX_SIGN_IMAGE_CMDS ?= $(if $(eq $(tool_do),LINK_LIBRARY),,$(call VBOX_SIGN_IMAGE_FN,$(out),,2)) 4088 VBOX_SIGN_IMAGE_CMDS ?= $(if $(eq $(tool_do),LINK_LIBRARY),,$(call VBOX_SIGN_IMAGE_FN,$(out),,2)) 4089 VBOX_SIGN_IMAGE_ORDERDEPS ?= $(if $(eq $(tool_do),LINK_LIBRARY),,$(VBOX_SIGN_IMAGE_ORDERDEPS)) 4086 4090 endif 4087 4091 ## Enable signing of the additions. … … 4866 4870 $(PATH_STAGE_LIB)/RuntimeRCStub$(VBOX_SUFF_LIB) 4867 4871 TEMPLATE_VBoxRc_POST_CMDS = $(VBOX_SIGN_IMAGE_CMDS) 4872 TEMPLATE_VBoxRc_ORDERDEPS = $(VBOX_SIGN_IMAGE_ORDERDEPS) 4868 4873 endif # pe 4869 4874 … … 5783 5788 5784 5789 TEMPLATE_VBOXR3EXE_POST_CMDS = $(VBOX_UTF8_MANIFEST_CMDS)$(NLTAB)$(VBOX_SIGN_IMAGE_CMDS) 5790 TEMPLATE_VBOXR3EXE_ORDERDEPS = $(VBOX_SIGN_IMAGE_ORDERDEPS) 5785 5791 if defined(VBOX_WITH_MORE_NT4_COMPAT_BINARIES) && "$(KBUILD_TARGET).$(KBUILD_TARGET_ARCH)" == "win.x86" 5786 5792 TEMPLATE_VBOXR3EXE_POST_CMDS.win.x86 = $(if $(eq $(tool_do),LINK_LIBRARY),,$(VBOX_PE_SET_VERSION) $(out)$$(NLTAB)$(TEMPLATE_VBOXR3EXE_POST_CMDS)) … … 6819 6825 endif 6820 6826 TEMPLATE_VBOXMAINEXE_POST_CMDS = $(VBOX_UTF8_MANIFEST_CMDS)$(NLTAB)$(VBOX_SIGN_IMAGE_CMDS) 6827 TEMPLATE_VBOXMAINEXE_ORDERDEPS = $(VBOX_SIGN_IMAGE_ORDERDEPS) 6821 6828 6822 6829 else # the GCC guys: … … 7461 7468 endif 7462 7469 TEMPLATE_VBOXQTGUIEXE_POST_CMDS = $(VBOX_UTF8_MANIFEST_CMDS)$(NLTAB)$(VBOX_SIGN_IMAGE_CMDS) 7470 TEMPLATE_VBOXQTGUIEXE_ORDERDEPS = $(VBOX_SIGN_IMAGE_ORDERDEPS) 7463 7471 7464 7472 else # the gcc guys:
Note:
See TracChangeset
for help on using the changeset viewer.