summaryrefslogtreecommitdiff
path: root/sys-kernel/virtualbox-modules-dkms/files/Makefile-dkms.patch
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-11-02 09:38:57 +0000
committerV3n3RiX <venerix@koprulu.sector>2022-11-02 09:38:57 +0000
commit3e93f716db3d9d4a6a0f3828404b2a3e8b70ff5f (patch)
treed48164aa30adf8d2dd380931f270d8c6c170312e /sys-kernel/virtualbox-modules-dkms/files/Makefile-dkms.patch
parentdb75d1a536058aa38e36f70aabb8b1e093a20a5f (diff)
app-emulation/virtualbox-modules : version bump
Diffstat (limited to 'sys-kernel/virtualbox-modules-dkms/files/Makefile-dkms.patch')
-rw-r--r--sys-kernel/virtualbox-modules-dkms/files/Makefile-dkms.patch40
1 files changed, 21 insertions, 19 deletions
diff --git a/sys-kernel/virtualbox-modules-dkms/files/Makefile-dkms.patch b/sys-kernel/virtualbox-modules-dkms/files/Makefile-dkms.patch
index 4c801b01..2dcf1d8d 100644
--- a/sys-kernel/virtualbox-modules-dkms/files/Makefile-dkms.patch
+++ b/sys-kernel/virtualbox-modules-dkms/files/Makefile-dkms.patch
@@ -1,8 +1,8 @@
diff -Nur a/Makefile b/Makefile
---- a/Makefile 2022-10-11 16:40:10.000000000 +0100
-+++ b/Makefile 2022-10-18 15:54:45.877811069 +0100
-@@ -23,25 +23,25 @@
- # terms and conditions of either the GPL or the CDDL or both.
+--- a/Makefile 2022-10-19 22:19:09.000000000 +0100
++++ b/Makefile 2022-11-02 09:34:05.857715688 +0000
+@@ -33,25 +33,25 @@
+ # SPDX-License-Identifier: GPL-3.0-only OR CDDL-1.0
#
-ifneq ($(KERNELRELEASE),)
@@ -14,18 +14,18 @@ diff -Nur a/Makefile b/Makefile
+# KBUILD_EXTMOD is set to $(M) in this case.
obj-m = vboxdrv/
--ifneq ($(wildcard $(CURDIR)/vboxnetflt/Makefile),)
-+ifneq ($(wildcard $(KBUILD_EXTMOD)/vboxnetflt/Makefile),)
- obj-m += vboxnetflt/
- endif
--ifneq ($(wildcard $(CURDIR)/vboxnetadp/Makefile),)
-+ifneq ($(wildcard $(KBUILD_EXTMOD)/vboxnetadp/Makefile),)
- obj-m += vboxnetadp/
- endif
--ifneq ($(wildcard $(CURDIR)/vboxpci/Makefile),)
-+ifneq ($(wildcard $(KBUILD_EXTMOD)/vboxpci/Makefile),)
- obj-m += vboxpci/
- endif
+- ifneq ($(wildcard $(CURDIR)/vboxnetflt/Makefile),)
++ ifneq ($(wildcard $(KBUILD_EXTMOD)/vboxnetflt/Makefile),)
+ obj-m += vboxnetflt/
+ endif
+- ifneq ($(wildcard $(CURDIR)/vboxnetadp/Makefile),)
++ ifneq ($(wildcard $(KBUILD_EXTMOD)/vboxnetadp/Makefile),)
+ obj-m += vboxnetadp/
+ endif
+- ifneq ($(wildcard $(CURDIR)/vboxpci/Makefile),)
++ ifneq ($(wildcard $(KBUILD_EXTMOD)/vboxpci/Makefile),)
+ obj-m += vboxpci/
+ endif
-else # ! KERNELRELEASE
+else # ! KBUILD_EXTMOD
@@ -33,11 +33,13 @@ diff -Nur a/Makefile b/Makefile
-# convenience Makefile without KERNELRELEASE
+# convenience Makefile without KBUILD_EXTMOD
- KBUILD_VERBOSE ?=
- KERN_VER ?= $(shell uname -r)
-@@ -167,4 +167,4 @@
+ ifndef SUDO
+ ifneq ($(shell id -u),0)
+@@ -244,5 +244,6 @@
fi; \
done
-endif # ! KERNELRELEASE
+endif # ! KBUILD_EXTMOD
++
+