VirtualBox

Changeset 93246 in vbox for trunk


Ignore:
Timestamp:
Jan 15, 2022 12:29:42 AM (3 years ago)
Author:
vboxsync
Message:

/Config.kmk: Need to make sure VBOX_RTSIGNTOOL is built before we try use it as part of win_with_ev. bugref:10162

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Config.kmk

    r93245 r93246  
    40444044  # @param 3  Set to 2 if the expression will be expanded twice before chopped into commands (for _CMDS).
    40454045  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)
    40474048  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 ?=
    40494051  endif
    40504052
    40514053  ## Commands for signing a driver image after link.
    40524054  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))
    40544056   VBOX_SIGN_DRIVER_ORDERDEPS ?= $(VBOX_RTSIGNTOOL)
    40554057  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))
    40574060  endif
    40584061
     
    40834086  if "$(VBOX_SIGNING_MODE)" == "release" || defined(VBOX_WITH_HARDENING)
    40844087   ## 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))
    40864090  endif
    40874091  ## Enable signing of the additions.
     
    48664870        $(PATH_STAGE_LIB)/RuntimeRCStub$(VBOX_SUFF_LIB)
    48674871  TEMPLATE_VBoxRc_POST_CMDS          = $(VBOX_SIGN_IMAGE_CMDS)
     4872  TEMPLATE_VBoxRc_ORDERDEPS          = $(VBOX_SIGN_IMAGE_ORDERDEPS)
    48684873 endif # pe
    48694874
     
    57835788
    57845789 TEMPLATE_VBOXR3EXE_POST_CMDS          = $(VBOX_UTF8_MANIFEST_CMDS)$(NLTAB)$(VBOX_SIGN_IMAGE_CMDS)
     5790 TEMPLATE_VBOXR3EXE_ORDERDEPS          = $(VBOX_SIGN_IMAGE_ORDERDEPS)
    57855791 if defined(VBOX_WITH_MORE_NT4_COMPAT_BINARIES) && "$(KBUILD_TARGET).$(KBUILD_TARGET_ARCH)" == "win.x86"
    57865792  TEMPLATE_VBOXR3EXE_POST_CMDS.win.x86 = $(if $(eq $(tool_do),LINK_LIBRARY),,$(VBOX_PE_SET_VERSION) $(out)$$(NLTAB)$(TEMPLATE_VBOXR3EXE_POST_CMDS))
     
    68196825 endif
    68206826 TEMPLATE_VBOXMAINEXE_POST_CMDS          = $(VBOX_UTF8_MANIFEST_CMDS)$(NLTAB)$(VBOX_SIGN_IMAGE_CMDS)
     6827 TEMPLATE_VBOXMAINEXE_ORDERDEPS          = $(VBOX_SIGN_IMAGE_ORDERDEPS)
    68216828
    68226829else # the GCC guys:
     
    74617468  endif
    74627469  TEMPLATE_VBOXQTGUIEXE_POST_CMDS     = $(VBOX_UTF8_MANIFEST_CMDS)$(NLTAB)$(VBOX_SIGN_IMAGE_CMDS)
     7470  TEMPLATE_VBOXQTGUIEXE_ORDERDEPS     = $(VBOX_SIGN_IMAGE_ORDERDEPS)
    74637471
    74647472 else # the gcc guys:
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