VirtualBox

Ignore:
Timestamp:
Mar 10, 2022 7:29:09 PM (3 years ago)
Author:
vboxsync
Message:

Additions: Windows: Use the same approach as with the host driver for .cat files, i.e. create 2 copies, one for Windows versions before 10, and one for 10 and later (which in UEFI Secure Boot mode modified the trusted root list, requiring Attestation Signing). The NSIS installer will deliver the appropriate file.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/WINNT/Mouse/NT5/Makefile.kmk

    r93265 r94160  
    5858VBoxMouse-inf_INST = $(INST_ADDITIONS)
    5959VBoxMouse-inf_MODE = a+r,u+w
    60 ifndef VBOX_SIGNING_MODE
    61 VBoxMouse-inf_SOURCES = VBoxMouse.inf
    62 else
    6360VBoxMouse-inf_SOURCES = \
    64         $(PATH_TARGET)/VBoxMouseCat.dir/VBoxMouse.inf \
    65         $(if-expr defined(VBOX_SIGN_ADDITIONS),$(PATH_TARGET)/VBoxMouseCat.dir/VBoxMouse.cat,)
    66 VBoxMouse-inf_CLEAN += \
    67         $(PATH_TARGET)/VBoxMouseCat.dir/VBoxMouse.cat \
    68         $(PATH_TARGET)/VBoxMouseCat.dir/VBoxMouse.sys \
    6961        $(PATH_TARGET)/VBoxMouseCat.dir/VBoxMouse.inf
     62VBoxMouse-inf_CLEAN = $(VBoxMouse-inf_SOURCES)
    7063VBoxMouse-inf_BLDDIRS = $(PATH_TARGET)/VBoxMouseCat.dir
    7164
     
    7467        $(call VBOX_EDIT_INF_FN,$<,$@)
    7568
    76 $(PATH_TARGET)/VBoxMouseCat.dir/VBoxMouse.cat: $(PATH_TARGET)/VBoxMouseCat.dir/VBoxMouse.inf $$(VBoxMouse_1_TARGET)
     69if defined(VBOX_SIGNING_MODE) && defined(VBOX_SIGN_ADDITIONS)
     70 VBoxMouse-inf_SOURCES += \
     71        $(PATH_TARGET)/VBoxMouseCat.dir/VBoxMouse.sys \
     72        $(PATH_TARGET)/VBoxMouseCat.dir/VBoxMouse.cat \
     73        $(PATH_TARGET)/VBoxMouseCat.dir/VBoxMouse.cat=>VBoxMouse-PreW10.cat
     74
     75 $(PATH_TARGET)/VBoxMouseCat.dir/VBoxMouse.sys: $$(VBoxMouse_1_TARGET) | $$(dir $$@)
     76        $(INSTALL) -m 644 -- "$<" "$(@D)"
     77
     78 $(PATH_TARGET)/VBoxMouseCat.dir/VBoxMouse.cat: \
     79                $(PATH_TARGET)/VBoxMouseCat.dir/VBoxMouse.inf \
     80                $(PATH_TARGET)/VBoxMouseCat.dir/VBoxMouse.sys
    7781        $(call MSG_TOOL,Inf2Cat,VBoxMouse-inf,$@,$<)
    78         $(INSTALL) -m 644 $(VBoxMouse_1_TARGET) $(@D)
    7982        $(call VBOX_MAKE_CAT_FN, $(@D),$@)
    8083endif # signing
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