Changeset 75581 in vbox for trunk/src/VBox/HostDrivers/linux
- Timestamp:
- Nov 19, 2018 3:44:57 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostDrivers/linux/Makefile
r69500 r75581 39 39 obj-m += vboxpci/ 40 40 endif 41 41 42 else # ! KBUILD_EXTMOD 42 43 43 44 # convenience Makefile without KBUILD_EXTMOD 44 45 45 KBUILD_VERBOSE = 46 KBUILD_VERBOSE ?= 47 KERN_VER ?= $(shell uname -r) 48 .PHONY: all install clean check unload load vboxdrv vboxnetflt vboxnetadp \ 49 vboxpci 46 50 47 all: 51 all: vboxdrv vboxnetflt vboxnetadp vboxpci 52 53 # We want to build on Linux 2.6.18 and later kernels. 54 ifneq ($(filter-out 1.% 2.0.% 2.1.% 2.2.% 2.3.% 2.4.% 2.5.%,$(KERN_VER)),) 55 56 vboxdrv: 48 57 @echo "=== Building 'vboxdrv' module ===" 49 58 @$(MAKE) KBUILD_VERBOSE=$(KBUILD_VERBOSE) -C vboxdrv 50 59 @cp vboxdrv/vboxdrv.ko . 51 60 @echo 61 62 vboxnetflt: vboxdrv 52 63 @if [ -d vboxnetflt ]; then \ 53 64 if [ -f vboxdrv/Module.symvers ]; then \ … … 59 70 echo; \ 60 71 fi 72 73 vboxnetadp: vboxdrv 61 74 @if [ -d vboxnetadp ]; then \ 62 75 if [ -f vboxdrv/Module.symvers ]; then \ … … 68 81 echo; \ 69 82 fi 83 84 vboxpci: vboxdrv 70 85 @if [ -d vboxpci ]; then \ 71 86 if [ -f vboxdrv/Module.symvers ]; then \ … … 89 104 $(MAKE) KBUILD_VERBOSE=$(KBUILD_VERBOSE) -C vboxpci install; \ 90 105 fi 106 107 else 108 109 vboxdrv: 110 vboxnetflt: 111 vboxnetadp: 112 vboxpci: 113 install: 114 115 endif 91 116 92 117 clean:
Note:
See TracChangeset
for help on using the changeset viewer.