1
0
forked from pool/virtualbox
virtualbox/vbox-disable_vboxpci_build.diff

29 lines
607 B
Diff
Raw Normal View History

Index: src/VBox/HostDrivers/VBoxPci/Makefile.kmk
===================================================================
--- src/VBox/HostDrivers/VBoxPci/Makefile.kmk.orig
+++ src/VBox/HostDrivers/VBoxPci/Makefile.kmk
@@ -1,7 +1,7 @@
SUB_DEPTH = ../../../..
include $(KBUILD_PATH)/subheader.kmk
-ifeq (1,1)
+ifdef VBOX_WITH_VBOXDRV
if1of ($(KBUILD_TARGET), linux)
@@ -25,6 +25,7 @@ VBoxPci_LIBS += \
endif
+endif
ifeq ($(KBUILD_TARGET),linux)
@@ -73,6 +74,5 @@ $$(VBoxPci-sh_0_OUTDIR)/build_in_tmp: \
$(QUIET)chmod 0755 $@
endif
-endif
include $(KBUILD_PATH)/subfooter.kmk