VirtualBox

Changeset 2977 in vbox for trunk/Config.kmk


Ignore:
Timestamp:
Jun 1, 2007 2:04:22 PM (18 years ago)
Author:
vboxsync
Message:

Make most of the signing macros overridable.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Config.kmk

    r2955 r2977  
    921921   VBOX_TSA_URL_ARGS ?= /t "$(VBOX_TSA_URL)"
    922922   ## Commands for signing a driver image after link.
    923    VBOX_SIGN_DRIVER_CMDS = $(if $(eq $(tool_do),LINK_LIBRARY),,$(call VBOX_SIGN_FILE_FN,$(out)))
     923   VBOX_SIGN_DRIVER_CMDS ?= $(if $(eq $(tool_do),LINK_LIBRARY),,$(call VBOX_SIGN_FILE_FN,$(out)))
    924924   ## Commands for signing an executable or a dll image after link.
    925    VBOX_SIGN_IMAGE_CMDS  = $(if $(eq $(tool_do),LINK_LIBRARY),,$(call VBOX_SIGN_FILE_FN,$(out)))
     925   VBOX_SIGN_IMAGE_CMDS  ?= $(if $(eq $(tool_do),LINK_LIBRARY),,$(call VBOX_SIGN_FILE_FN,$(out)))
    926926   ## Sign a file.
    927927   # @param 1  The file to sign.
    928    VBOX_SIGN_FILE_FN      = $(VBOX_SIGNTOOL) sign \
     928   VBOX_SIGN_FILE_FN     ?= $(VBOX_SIGNTOOL) sign \
    929929                $(VBOX_CROSS_CERTIFICATE_FILE_ARGS) \
    930930                $(VBOX_CERTIFICATE_STORE_ARGS) \
     
    936936   # @param 2  The expected .cat name. (Inf2Cat lowercases it)
    937937   # @param 3  The list of OSes, separated by ';'.
    938    VBOX_MAKE_CAT_HLP_FN     = \
     938   VBOX_MAKE_CAT_HLP_FN ?= \
    939939                $(RM) -f $(2)\
    940940                $(NL)$(TAB)$(VBOX_INF2CAT) /driver:$(strip $(1)) /os:$(strip $(subst ;,$(COMMA),$(3))) /verbose \
    941941                $(NL)$(TAB)$(MV) $(2) $(2) \
    942942                $(NL)$(TAB)$(call VBOX_SIGN_FILE_FN,$(2))
    943    VBOX_MAKE_CAT64_FN   = $(call VBOX_MAKE_CAT_HLP_FN,$(1),$(2),XP_X64;Server2003_X64;Vista_X64)
    944    VBOX_MAKE_CAT32_FN   = $(call VBOX_MAKE_CAT_HLP_FN,$(1),$(2),2000;XP_X86;Server2003_X86;Vista_X86)
     943   VBOX_MAKE_CAT64_FN   ?= $(call VBOX_MAKE_CAT_HLP_FN,$(1),$(2),XP_X64;Server2003_X64;Vista_X64)
     944   VBOX_MAKE_CAT32_FN   ?= $(call VBOX_MAKE_CAT_HLP_FN,$(1),$(2),2000;XP_X86;Server2003_X86;Vista_X86)
    945945   ifeq ($(BUILD_TARGET_ARCH),x86)
    946     VBOX_MAKE_CAT_FN    = $(call VBOX_MAKE_CAT32_FN,$(1),$(2))
     946    VBOX_MAKE_CAT_FN    ?= $(call VBOX_MAKE_CAT32_FN,$(1),$(2))
    947947   else
    948     VBOX_MAKE_CAT_FN    = $(call VBOX_MAKE_CAT64_FN,$(1),$(2))
     948    VBOX_MAKE_CAT_FN    ?= $(call VBOX_MAKE_CAT64_FN,$(1),$(2))
    949949   endif
    950950
    951951  # Enable signing of the additions.
    952   VBOX_SIGN_ADDITIONS   = 1
     952  VBOX_SIGN_ADDITIONS   ?= 1
    953953
    954954  else
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