summaryrefslogtreecommitdiff
path: root/sys-kernel/broadcom-sta-dkms/files/broadcom-sta-dkms-6.30.223.30-conf.patch
diff options
context:
space:
mode:
authorStefanCristian <steven.darklight@gmail.com>2016-10-24 02:02:49 +0000
committerStefanCristian <steven.darklight@gmail.com>2016-10-24 02:02:49 +0000
commite97477359bf749b03a6548c6a9236c029770eea8 (patch)
tree61028e45c82a7bdb7876bd8d2536c382557e9942 /sys-kernel/broadcom-sta-dkms/files/broadcom-sta-dkms-6.30.223.30-conf.patch
parent6f6762411d44f0805450901cec7c526d09ea039b (diff)
Adding broadcom-sta-dkms for collection and usage ( of dkms ) :P
Diffstat (limited to 'sys-kernel/broadcom-sta-dkms/files/broadcom-sta-dkms-6.30.223.30-conf.patch')
-rw-r--r--sys-kernel/broadcom-sta-dkms/files/broadcom-sta-dkms-6.30.223.30-conf.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/sys-kernel/broadcom-sta-dkms/files/broadcom-sta-dkms-6.30.223.30-conf.patch b/sys-kernel/broadcom-sta-dkms/files/broadcom-sta-dkms-6.30.223.30-conf.patch
new file mode 100644
index 00000000..1e09637f
--- /dev/null
+++ b/sys-kernel/broadcom-sta-dkms/files/broadcom-sta-dkms-6.30.223.30-conf.patch
@@ -0,0 +1,22 @@
+diff -Nur a/kernel/dkms.conf b/kernel/dkms.conf
+--- a/kernel/dkms.conf 2016-09-02 02:32:09.000000000 +0100
++++ b/kernel/dkms.conf 2016-10-23 17:36:01.946597121 +0100
+@@ -1,12 +1,20 @@
+-PACKAGE_NAME="broadcom-sta"
+-PACKAGE_VERSION="__VERSION_STRING"
++PACKAGE_NAME="broadcom-sta-dkms"
++PACKAGE_VERSION="6.30.223.30"
+ AUTOINSTALL="yes"
+
+ # By default, DKMS will add KERNELRELEASE to the make command line; however,
+ # this will cause the kernel module build to infer that it was invoked via
+ # Kbuild directly instead of DKMS. The dkms(8) manual page recommends quoting
+ # the 'make' command name to suppress this behavior.
+-MAKE[0]="'make' -j__JOBS NV_EXCLUDE_BUILD_MODULES='__EXCLUDE_MODULES' KERNEL_UNAME=${kernelver} modules"
++MAKE[0]="'make' -j`nproc` NV_EXCLUDE_BUILD_MODULES='__EXCLUDE_MODULES' KERNEL_UNAME=${kernelver} modules"
+
+ # The list of kernel modules will be generated by nvidia-installer at runtime.
+-__DKMS_MODULES
++BUILT_MODULE_NAME[0]="wl"
++DEST_MODULE_LOCATION[0]="/kernel/net/video"
++