VirtualBox

Changeset 53604 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Dec 26, 2014 4:53:18 PM (10 years ago)
Author:
vboxsync
Message:

kext test signing for development purposes (requires kmk r2742).

Location:
trunk/src/VBox/HostDrivers
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/HostDrivers/Support/Makefile.kmk

    r53568 r53604  
    612612        $(PATH_SDK_$(VBOX_WINDDK)_LIB)/hal.lib
    613613
    614  #VBoxDrv_LDFLAGS.darwin    = -v -Wl,-whyload -Wl,-v -Wl,-whatsloaded
     614 #VBoxDrv_LDFLAGS.darwin   = -Wl,-sectcreate,__TEXT,__info_plist,$(VBoxDrv.kext_0_OUTDIR)/Info.plist
     615 #VBoxDrv_LDFLAGS.darwin   = -v -Wl,-whyload -Wl,-v -Wl,-whatsloaded
    615616 VBoxDrv_LDFLAGS.solaris += -N misc/ctf
    616617 ifdef VBOX_WITH_NATIVE_DTRACE
     
    663664 INSTALLS.darwin += VBoxDrv.kext
    664665 VBoxDrv.kext_INST     = $(INST_VBOXDRV)Contents/
    665  VBoxDrv.kext_SOURCES  = $(VBoxDrv.kext_0_OUTDIR)/Info.plist
    666  VBoxDrv.kext_CLEAN    = $(VBoxDrv.kext_0_OUTDIR)/Info.plist
    667 
    668 $$(VBoxDrv.kext_0_OUTDIR)/Info.plist: \
     666 VBoxDrv.kext_SOURCES  = $(VBoxDrv.kext_0_OUTDIR)/Contents/Info.plist
     667 VBoxDrv.kext_CLEAN    = $(VBoxDrv.kext_0_OUTDIR)/Contents/Info.plist
     668 VBoxDrv.kext_BLDDIRS  = $(VBoxDrv.kext_0_OUTDIR)/Contents/
     669
     670 $$(VBoxDrv.kext_0_OUTDIR)/Contents/Info.plist: \
    669671                $(PATH_SUB_CURRENT)/darwin/Info.plist \
    670672                $(VBOX_VERSION_MK) | $$(dir $$@)
     
    681683                --output $@ \
    682684                $<
     685
     686 $(evalcall2 VBOX_TEST_SIGN_KEXT,VBoxDrv)
    683687endif
    684688
  • trunk/src/VBox/HostDrivers/VBoxNetAdp/Makefile.kmk

    r41477 r53604  
    6666 INSTALLS += VBoxNetAdp.kext
    6767 VBoxNetAdp.kext_INST     = $(INST_VBOXNETADP)Contents/
    68  VBoxNetAdp.kext_SOURCES  = \
    69         $(VBoxNetAdp.kext_0_OUTDIR)/Info.plist
    70  VBoxNetAdp.kext_CLEAN    = \
    71         $(VBoxNetAdp.kext_0_OUTDIR)/Info.plist
     68 VBoxNetAdp.kext_SOURCES  = $(VBoxNetAdp.kext_0_OUTDIR)/Contents/Info.plist
     69 VBoxNetAdp.kext_CLEAN    = $(VBoxNetAdp.kext_0_OUTDIR)/Contents/Info.plist
     70 VBoxNetAdp.kext_BLDDIRS  = $(VBoxNetAdp.kext_0_OUTDIR)/Contents/
    7271
    73 $$(VBoxNetAdp.kext_0_OUTDIR)/Info.plist: $(PATH_SUB_CURRENT)/darwin/Info.plist $(VBOX_VERSION_MK) | $$(dir $$@)
     72$$(VBoxNetAdp.kext_0_OUTDIR)/Contents/Info.plist: $(PATH_SUB_CURRENT)/darwin/Info.plist $(VBOX_VERSION_MK) | $$(dir $$@)
    7473        $(call MSG_GENERATE,VBoxNetAdp,$@,$<)
    7574        $(QUIET)$(RM) -f $@
     
    8483                --output $@ \
    8584                $<
     85
     86 $(evalcall2 VBOX_TEST_SIGN_KEXT,VBoxNetAdp)
    8687
    8788 INSTALLS.darwin += Scripts-darwin-adp
  • trunk/src/VBox/HostDrivers/VBoxNetFlt/Makefile.kmk

    r52592 r53604  
    7272 INSTALLS += VBoxNetFlt.kext
    7373 VBoxNetFlt.kext_INST     = $(INST_VBOXNETFLT)Contents/
    74  VBoxNetFlt.kext_SOURCES  = \
    75         $(VBoxNetFlt.kext_0_OUTDIR)/Info.plist
    76  VBoxNetFlt.kext_CLEAN    = \
    77         $(VBoxNetFlt.kext_0_OUTDIR)/Info.plist
    78 
    79 $$(VBoxNetFlt.kext_0_OUTDIR)/Info.plist: $(PATH_SUB_CURRENT)/darwin/Info.plist $(VBOX_VERSION_MK) | $$(dir $$@)
     74 VBoxNetFlt.kext_SOURCES  = $(VBoxNetFlt.kext_0_OUTDIR)/Contents/Info.plist
     75 VBoxNetFlt.kext_CLEAN    = $(VBoxNetFlt.kext_0_OUTDIR)/Contents/Info.plist
     76 VBoxNetFlt.kext_BLDDIRS  = $(VBoxNetFlt.kext_0_OUTDIR)/Contents/
     77
     78$$(VBoxNetFlt.kext_0_OUTDIR)/Contents/Info.plist: $(PATH_SUB_CURRENT)/darwin/Info.plist $(VBOX_VERSION_MK) | $$(dir $$@)
    8079        $(call MSG_GENERATE,VBoxNetFlt,$@,$<)
    8180        $(QUIET)$(RM) -f $@
     
    9089                --output $@ \
    9190                $<
     91
     92 $(evalcall2 VBOX_TEST_SIGN_KEXT,VBoxNetFlt)
    9293
    9394 INSTALLS.darwin += Scripts-darwin
  • trunk/src/VBox/HostDrivers/VBoxUSB/darwin/Makefile.kmk

    r41477 r53604  
    3939INSTALLS += VBoxUSB.kext
    4040VBoxUSB.kext_INST     = $(INST_VBOXUSB)Contents/
    41 VBoxUSB.kext_SOURCES  = $(VBoxUSB.kext_0_OUTDIR)/Info.plist
    42 VBoxUSB.kext_CLEAN    = $(VBoxUSB.kext_0_OUTDIR)/Info.plist
     41VBoxUSB.kext_SOURCES  = $(VBoxUSB.kext_0_OUTDIR)/Contents/Info.plist
     42VBoxUSB.kext_CLEAN    = $(VBoxUSB.kext_0_OUTDIR)/Contents/Info.plist
     43VBoxUSB.kext_BLDDIRS  = $(VBoxUSB.kext_0_OUTDIR)/Contents/
    4344
    44 $$(VBoxUSB.kext_0_OUTDIR)/Info.plist: $(PATH_SUB_CURRENT)/Info.plist $(VBOX_VERSION_MK) | $$(dir $$@)
     45$$(VBoxUSB.kext_0_OUTDIR)/Contents/Info.plist: $(PATH_SUB_CURRENT)/Info.plist $(VBOX_VERSION_MK) | $$(dir $$@)
    4546        $(call MSG_GENERATE,VBoxUSB,$@,$<)
    4647        $(QUIET)$(RM) -f $@
     
    5556                --output $@ \
    5657                $<
     58
     59$(evalcall2 VBOX_TEST_SIGN_KEXT,VBoxUSB)
    5760
    5861# Common manual loader script.
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