summaryrefslogtreecommitdiff
path: root/src/VBox/Installer/win/Stub/Makefile.kmk
diff options
context:
space:
mode:
authorvboxsync <vboxsync@cfe28804-0f27-0410-a406-dd0f0b0b656f>2022-07-18 09:07:10 +0000
committervboxsync <vboxsync@cfe28804-0f27-0410-a406-dd0f0b0b656f>2022-07-18 09:07:10 +0000
commite53466d32681acdd88d3e2c804ffcabe6b5397ec (patch)
tree1935beba0305e37f3eacf87e3668f20a3352d32b /src/VBox/Installer/win/Stub/Makefile.kmk
parent02bc1be0bf44cf3218d29deef801ffb5aab68776 (diff)
downloadVirtualBox-svn-e53466d32681acdd88d3e2c804ffcabe6b5397ec.tar.gz
Installer/win/VBoxStub: Install the legacy windows timestamp CA if used by the build and needed by the install target. bugref:8691
git-svn-id: https://www.virtualbox.org/svn/vbox/trunk@95696 cfe28804-0f27-0410-a406-dd0f0b0b656f
Diffstat (limited to 'src/VBox/Installer/win/Stub/Makefile.kmk')
-rw-r--r--src/VBox/Installer/win/Stub/Makefile.kmk6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/VBox/Installer/win/Stub/Makefile.kmk b/src/VBox/Installer/win/Stub/Makefile.kmk
index befc2e67c3f..fd0391005f2 100644
--- a/src/VBox/Installer/win/Stub/Makefile.kmk
+++ b/src/VBox/Installer/win/Stub/Makefile.kmk
@@ -66,6 +66,9 @@ ifdef VBOX_SIGNING_MODE
VBoxStub.cpp_DEPS += $(VBoxStub_0_OUTDIR)/VBoxStubPublicCert.h
VBoxStub.cpp_INCS += $(VBoxStub_0_OUTDIR)
VBoxStub.cpp_DEFS += VBOX_WITH_CODE_SIGNING
+ ifdef VBOX_WITH_VBOX_LEGACY_TS_CA
+ VBoxStub.cpp_DEFS += VBOX_WITH_VBOX_LEGACY_TS_CA
+ endif
$$(VBoxStub_0_OUTDIR)/VBoxStubPublicCert.h: | $$(dir $$@) $(VBOX_RTSIGNTOOL) $(PATH_STAGE_SYS)/VBoxSup.sys
$(RM) -f -- "$@" "$@.cer0" "$@.cer1" "$@.cer2" "$@.array"
@@ -91,6 +94,9 @@ ifdef VBOX_SIGNING_MODE
$(APPEND) -n "$@" \
"};"
$(RM) -f -- "$@.cer0" "$@.cer1" "$@.cer2" "$@.array"
+ ifdef VBOX_WITH_VBOX_LEGACY_TS_CA
+ $(VBOX_BIN2C) -ascii --append VBoxLegacyWinCA "$(VBOX_LEGACY_TS_CA_FILE)" $@
+ endif
VBoxStubPublicCert.h:: $$(VBoxStub_0_OUTDIR)/VBoxStubPublicCert.h