2020-03-12 20:24:46 +00:00
|
|
|
diff --git a/src/VBox/HostDrivers/linux/Makefile b/src/VBox/HostDrivers/linux/Makefile
|
2020-09-08 00:54:06 +00:00
|
|
|
index 8ba33952..3b8abe60 100644
|
2020-03-12 20:24:46 +00:00
|
|
|
--- a/src/VBox/HostDrivers/linux/Makefile
|
|
|
|
+++ b/src/VBox/HostDrivers/linux/Makefile
|
2020-09-08 00:54:06 +00:00
|
|
|
@@ -99,17 +99,17 @@ install-vboxdrv:
|
|
|
|
|
|
|
|
install-vboxnetflt:
|
|
|
|
+@if [ -d vboxnetflt ]; then \
|
2020-03-12 20:24:46 +00:00
|
|
|
- $(MAKE) KBUILD_VERBOSE=$(KBUILD_VERBOSE) -C vboxnetflt install; \
|
2020-09-08 00:54:06 +00:00
|
|
|
+ $(MAKE) KBUILD_VERBOSE=$(KBUILD_VERBOSE) KBUILD_EXTRA_SYMBOLS=$(abspath vboxnetflt/Module.symvers) -C vboxnetflt install; \
|
2020-03-12 20:24:46 +00:00
|
|
|
fi
|
2020-09-08 00:54:06 +00:00
|
|
|
|
|
|
|
install-vboxnetadp:
|
|
|
|
+@if [ -d vboxnetadp ]; then \
|
2020-03-12 20:24:46 +00:00
|
|
|
- $(MAKE) KBUILD_VERBOSE=$(KBUILD_VERBOSE) -C vboxnetadp install; \
|
|
|
|
+ $(MAKE) KBUILD_VERBOSE=$(KBUILD_VERBOSE) KBUILD_EXTRA_SYMBOLS=$(abspath vboxnetadp/Module.symvers) -C vboxnetadp install; \
|
|
|
|
fi
|
2020-09-08 00:54:06 +00:00
|
|
|
|
|
|
|
install-vboxpci:
|
|
|
|
+@if [ -d vboxpci ]; then \
|
2020-03-12 20:24:46 +00:00
|
|
|
- $(MAKE) KBUILD_VERBOSE=$(KBUILD_VERBOSE) -C vboxpci install; \
|
|
|
|
+ $(MAKE) KBUILD_VERBOSE=$(KBUILD_VERBOSE) KBUILD_EXTRA_SYMBOLS=$(abspath vboxpci/Module.symvers) -C vboxpci install; \
|
|
|
|
fi
|
|
|
|
|
2020-09-08 00:54:06 +00:00
|
|
|
install: install-vboxdrv install-vboxnetflt install-vboxnetadp install-vboxpci
|