mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-20 00:53:12 +03:00
e1538e43b9
6.1.14 is the latest release of Virtualbox. Also disabled VirtIO since the source tarball does not include necessary source code.
26 lines
1.1 KiB
Diff
26 lines
1.1 KiB
Diff
diff --git a/src/VBox/HostDrivers/linux/Makefile b/src/VBox/HostDrivers/linux/Makefile
|
|
index 8ba33952..3b8abe60 100644
|
|
--- a/src/VBox/HostDrivers/linux/Makefile
|
|
+++ b/src/VBox/HostDrivers/linux/Makefile
|
|
@@ -99,17 +99,17 @@ install-vboxdrv:
|
|
|
|
install-vboxnetflt:
|
|
+@if [ -d vboxnetflt ]; then \
|
|
- $(MAKE) KBUILD_VERBOSE=$(KBUILD_VERBOSE) -C vboxnetflt install; \
|
|
+ $(MAKE) KBUILD_VERBOSE=$(KBUILD_VERBOSE) KBUILD_EXTRA_SYMBOLS=$(abspath vboxnetflt/Module.symvers) -C vboxnetflt install; \
|
|
fi
|
|
|
|
install-vboxnetadp:
|
|
+@if [ -d vboxnetadp ]; then \
|
|
- $(MAKE) KBUILD_VERBOSE=$(KBUILD_VERBOSE) -C vboxnetadp install; \
|
|
+ $(MAKE) KBUILD_VERBOSE=$(KBUILD_VERBOSE) KBUILD_EXTRA_SYMBOLS=$(abspath vboxnetadp/Module.symvers) -C vboxnetadp install; \
|
|
fi
|
|
|
|
install-vboxpci:
|
|
+@if [ -d vboxpci ]; then \
|
|
- $(MAKE) KBUILD_VERBOSE=$(KBUILD_VERBOSE) -C vboxpci install; \
|
|
+ $(MAKE) KBUILD_VERBOSE=$(KBUILD_VERBOSE) KBUILD_EXTRA_SYMBOLS=$(abspath vboxpci/Module.symvers) -C vboxpci install; \
|
|
fi
|
|
|
|
install: install-vboxdrv install-vboxnetflt install-vboxnetadp install-vboxpci
|