summaryrefslogtreecommitdiff
path: root/sys-kernel/broadcom-sta-dkms/files
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2021-01-20 01:43:44 +0000
committerV3n3RiX <venerix@redcorelinux.org>2021-01-20 01:43:44 +0000
commit551f9abbf63954221905acb7e43a3c3496d92ef6 (patch)
tree7e875d0739b77a0aac07cfc9835e46c06b6d1f12 /sys-kernel/broadcom-sta-dkms/files
parent8ba55345f7a9ad76367cc6af5dbfc603cb59fdba (diff)
sys-kernel/broadcom-sta-dkms : fix build
Diffstat (limited to 'sys-kernel/broadcom-sta-dkms/files')
-rw-r--r--sys-kernel/broadcom-sta-dkms/files/broadcom-sta-6.30.223.141-makefile.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/sys-kernel/broadcom-sta-dkms/files/broadcom-sta-6.30.223.141-makefile.patch b/sys-kernel/broadcom-sta-dkms/files/broadcom-sta-6.30.223.141-makefile.patch
new file mode 100644
index 00000000..d5b97fe8
--- /dev/null
+++ b/sys-kernel/broadcom-sta-dkms/files/broadcom-sta-6.30.223.141-makefile.patch
@@ -0,0 +1,14 @@
+--- a/Makefile 2013-04-28 22:42:59.000000000 +0200
++++ b/Makefile 2013-04-28 22:45:53.000000000 +0200
+@@ -128,9 +128,9 @@
+
+ EXTRA_LDFLAGS := $(src)/lib/wlc_hybrid.o_shipped
+
+-KBASE ?= /lib/modules/`uname -r`
++KBASE ?= /lib/modules/${KV_FULL}
+ KBUILD_DIR ?= $(KBASE)/build
+-MDEST_DIR ?= $(KBASE)/kernel/drivers/net/wireless
++MDEST_DIR ?= ${D}$(KBASE)/kernel/drivers/net/wireless
+
+ all:
+ KBUILD_NOPEDANTIC=1 make -C $(KBUILD_DIR) M=`pwd`