summaryrefslogtreecommitdiff
path: root/sys-kernel
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
parent8ba55345f7a9ad76367cc6af5dbfc603cb59fdba (diff)
sys-kernel/broadcom-sta-dkms : fix build
Diffstat (limited to 'sys-kernel')
-rw-r--r--sys-kernel/broadcom-sta-dkms/broadcom-sta-dkms-6.30.223.271-r5.ebuild1
-rw-r--r--sys-kernel/broadcom-sta-dkms/files/broadcom-sta-6.30.223.141-makefile.patch14
2 files changed, 15 insertions, 0 deletions
diff --git a/sys-kernel/broadcom-sta-dkms/broadcom-sta-dkms-6.30.223.271-r5.ebuild b/sys-kernel/broadcom-sta-dkms/broadcom-sta-dkms-6.30.223.271-r5.ebuild
index 6fcd7c8d..d24b8a4d 100644
--- a/sys-kernel/broadcom-sta-dkms/broadcom-sta-dkms-6.30.223.271-r5.ebuild
+++ b/sys-kernel/broadcom-sta-dkms/broadcom-sta-dkms-6.30.223.271-r5.ebuild
@@ -19,6 +19,7 @@ DEPEND="sys-kernel/dkms"
RDEPEND="${DEPEND}"
PATCHES=(
+ "${FILESDIR}"/broadcom-sta-6.30.223.141-makefile.patch
"${FILESDIR}"/broadcom-sta-6.30.223.141-eth-to-wlan.patch
"${FILESDIR}"/broadcom-sta-6.30.223.141-gcc.patch
"${FILESDIR}"/broadcom-sta-6.30.223.248-r3-Wno-date-time.patch
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`