summaryrefslogtreecommitdiff
path: root/app-emulation/virtualbox/files/virtualbox-4.1.0-vboxpci-build.patch
blob: 632e6a5f6ca30a9a0b322dedb1f059d359e6c08c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
--- VirtualBox-4.1.0_OSE/src/VBox/HostDrivers/VBoxPci/Makefile.kmk
+++ VirtualBox-4.1.0_OSE/src/VBox/HostDrivers/VBoxPci/Makefile.kmk
@@ -5,6 +5,7 @@
 
 if1of ($(KBUILD_TARGET), linux)
 
+ ifdef VBOX_WITH_VBOXDRV
 SYSMODS += VBoxPci
 VBoxPci_TEMPLATE         = VBOXR0DRV
 VBoxPci_INST = $(INST_VBOXPCI)$(if $(eq $(KBUILD_TARGET),darwin),Contents/MacOS/)
@@ -23,6 +24,7 @@
 VBoxPci_LIBS            += \
 	$(PATH_LIB)/SUPR0IdcClient$(VBOX_SUFF_LIB)
 
+ endif # VBOX_WITH_VBOXDRV
 endif