summaryrefslogtreecommitdiff
path: root/system/virtualbox/vbox-disable_vboxpci_build.diff
diff options
context:
space:
mode:
Diffstat (limited to 'system/virtualbox/vbox-disable_vboxpci_build.diff')
-rw-r--r--system/virtualbox/vbox-disable_vboxpci_build.diff18
1 files changed, 18 insertions, 0 deletions
diff --git a/system/virtualbox/vbox-disable_vboxpci_build.diff b/system/virtualbox/vbox-disable_vboxpci_build.diff
new file mode 100644
index 0000000000..04f0359145
--- /dev/null
+++ b/system/virtualbox/vbox-disable_vboxpci_build.diff
@@ -0,0 +1,18 @@
+--- Makefile.kmk.orig 2011-08-15 14:28:45.000000000 +0200
++++ Makefile.kmk 2011-09-16 12:21:33.049000016 +0200
+@@ -19,6 +19,7 @@
+ include $(KBUILD_PATH)/subheader.kmk
+ if1of ($(KBUILD_TARGET), linux)
+
++ ifdef VBOX_VITH_VBOXDRV
+ #
+ # The driver.
+ # Note! For Linux, this is just a compile test. Don't use the binary!
+@@ -40,6 +41,7 @@
+ VBoxPci.c
+ VBoxPci_LIBS += \
+ $(PATH_STAGE_LIB)/SUPR0IdcClient$(VBOX_SUFF_LIB)
++ endif # VBOX_VITH_VBOXDRV
+
+
+ #