summaryrefslogtreecommitdiff
path: root/system/virtualbox/vbox-disable_vboxpci_build.diff
blob: 04f0359145058a6ac24b9531516daa067b938b5a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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
 
 
  #