Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 771726 | Differences between
and this patch

Collapse All | Expand All

(-)file_not_specified_in_diff (-10 / +10 lines)
Line  Link Here
0
-- work/Makefile
0
++ work/Makefile
Lines 23-47 Link Here
23
# terms and conditions of either the GPL or the CDDL or both.
23
# terms and conditions of either the GPL or the CDDL or both.
24
#
24
#
25
25
26
ifneq ($(KERNELRELEASE),)
26
ifneq ($(KBUILD_EXTMOD),)
27
27
28
# Building from kBuild (make -C <kernel_directory> M=`pwd`),
28
# Building from kBuild (make -C <kernel_directory> M=`pwd`).
29
# or inside a kernel source tree.
29
# KBUILD_EXTMOD is set to $(M) in this case.
30
30
31
obj-m = vboxdrv/
31
obj-m = vboxdrv/
32
ifneq ($(wildcard $(CURDIR)/vboxnetflt/Makefile),)
32
ifneq ($(wildcard $(KBUILD_EXTMOD)/vboxnetflt/Makefile),)
33
 obj-m += vboxnetflt/
33
 obj-m += vboxnetflt/
34
endif
34
endif
35
ifneq ($(wildcard $(CURDIR)/vboxnetadp/Makefile),)
35
ifneq ($(wildcard $(KBUILD_EXTMOD)/vboxnetadp/Makefile),)
36
 obj-m += vboxnetadp/
36
 obj-m += vboxnetadp/
37
endif
37
endif
38
ifneq ($(wildcard $(CURDIR)/vboxpci/Makefile),)
38
ifneq ($(wildcard $(KBUILD_EXTMOD)/vboxpci/Makefile),)
39
 obj-m += vboxpci/
39
 obj-m += vboxpci/
40
endif
40
endif
41
41
42
else # ! KERNELRELEASE
42
else # ! KBUILD_EXTMOD
43
43
44
# convenience Makefile without KERNELRELEASE
44
# convenience Makefile without KBUILD_EXTMOD
45
45
46
KBUILD_VERBOSE ?=
46
KBUILD_VERBOSE ?=
47
KERN_VER ?= $(shell uname -r)
47
KERN_VER ?= $(shell uname -r)
Lines 167-170 load: unload Link Here
167
		fi; \
167
		fi; \
168
	done
168
	done
169
169
170
endif # ! KERNELRELEASE
170
endif # ! KBUILD_EXTMOD

Return to bug 771726