VirtualBox

Changeset 93509 in vbox for trunk/src


Ignore:
Timestamp:
Jan 31, 2022 7:24:40 PM (3 years ago)
Author:
vboxsync
Message:

HostDrivers/VBoxNet*: Respect VBOX_WITH_VBOXDRV and don't install anything if undefined. bugref:9898

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

Legend:

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

    r93115 r93509  
    6565# Darwin extras.
    6666#
    67 ifeq ($(KBUILD_TARGET),darwin)
     67if "$(KBUILD_TARGET)" == "darwin" && defined(VBOX_WITH_VBOXDRV)
    6868 INSTALLS += VBoxNetAdp.kext
    6969 VBoxNetAdp.kext_INST     = $(INST_VBOXNETADP)Contents/
     
    9292 Scripts-darwin-adp_EXEC_SOURCES = \
    9393        darwin/loadnetadp.sh
    94 endif # darwin
     94endif # darwin && host-drivers
    9595
    9696ifeq ($(KBUILD_TARGET),win)
  • trunk/src/VBox/HostDrivers/VBoxNetFlt/Makefile.kmk

    r93341 r93509  
    3333 # VBoxNetFlt.sys - The mixed case driver.
    3434 #
    35  SYSMODS += VBoxNetFlt
     35 ifdef VBOX_WITH_VBOXDRV
     36  SYSMODS += VBoxNetFlt
     37 endif
    3638 VBoxNetFlt_TEMPLATE = VBOXR0DRV
    3739 VBoxNetFlt_INST = $(INST_VBOXNETFLT)$(if $(eq $(KBUILD_TARGET),darwin),Contents/MacOS/)
     
    7981
    8082# Darwin extras.
    81 ifeq ($(KBUILD_TARGET),darwin)
     83if "$(KBUILD_TARGET)" == "darwin" && defined(VBOX_WITH_VBOXDRV)
    8284 INSTALLS += VBoxNetFlt.kext
    8385 VBoxNetFlt.kext_INST     = $(INST_VBOXNETFLT)Contents/
     
    106108 Scripts-darwin_EXEC_SOURCES = \
    107109        darwin/loadnetflt.sh
    108 endif # darwin
     110endif # darwin && host-drivers
    109111
    110112
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