summaryrefslogtreecommitdiff
path: root/sys-kernel/bbswitch-dkms/files
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-10-13 22:25:22 +0100
committerV3n3RiX <venerix@koprulu.sector>2022-10-13 22:25:22 +0100
commit216df9fd06cfbaecc3e3109909151ec556ab5d50 (patch)
tree8d4531de615cc5c8bd2fed446e31410e6633128b /sys-kernel/bbswitch-dkms/files
parenta21bea329721f504477891db62c3a717deefaa95 (diff)
net-wireless/broadcom-sta : revision bump
Diffstat (limited to 'sys-kernel/bbswitch-dkms/files')
-rw-r--r--sys-kernel/bbswitch-dkms/files/bbswitch-dkms-0.8-conf.patch52
-rw-r--r--sys-kernel/bbswitch-dkms/files/bbswitch.modprobe1
2 files changed, 0 insertions, 53 deletions
diff --git a/sys-kernel/bbswitch-dkms/files/bbswitch-dkms-0.8-conf.patch b/sys-kernel/bbswitch-dkms/files/bbswitch-dkms-0.8-conf.patch
deleted file mode 100644
index 2afeb051..00000000
--- a/sys-kernel/bbswitch-dkms/files/bbswitch-dkms-0.8-conf.patch
+++ /dev/null
@@ -1,52 +0,0 @@
-diff -Nur a/dkms/dkms.conf b/dkms/dkms.conf
---- a/dkms/dkms.conf 2013-12-04 23:22:06.000000000 +0000
-+++ b/dkms/dkms.conf 1970-01-01 01:00:00.000000000 +0100
-@@ -1,7 +0,0 @@
--PACKAGE_NAME="bbswitch"
--PACKAGE_VERSION="#MODULE_VERSION#"
--MAKE[0]="make KVERSION=$kernelver"
--CLEAN="make clean"
--BUILT_MODULE_NAME[0]="bbswitch"
--DEST_MODULE_LOCATION[0]="/kernel/drivers/acpi"
--AUTOINSTALL="yes"
-diff -Nur a/dkms.conf b/dkms.conf
---- a/dkms.conf 1970-01-01 01:00:00.000000000 +0100
-+++ b/dkms.conf 2016-10-23 20:00:47.965369366 +0100
-@@ -0,0 +1,9 @@
-+PACKAGE_NAME="bbswitch"
-+PACKAGE_VERSION="0.8"
-+AUTOINSTALL="yes"
-+
-+MAKE[0]="make KVERSION=$kernelver"
-+CLEAN="make clean"
-+
-+BUILT_MODULE_NAME[0]="bbswitch"
-+DEST_MODULE_LOCATION[0]="/extra/dkms"
-diff -Nur a/Makefile.dkms b/Makefile.dkms
---- a/Makefile.dkms 2013-12-04 23:22:06.000000000 +0000
-+++ b/Makefile.dkms 1970-01-01 01:00:00.000000000 +0100
-@@ -1,24 +0,0 @@
--modname := bbswitch
--DKMS := dkms
--modver := $(shell awk -F'"' '/define *BBSWITCH_VERSION/{print $$2}' < bbswitch.c)
--
--# directory in which generated files are stored
--DKMS_DEST := /usr/src/$(modname)-$(modver)
--
--all: install
--
--src_install:
-- mkdir -p '$(DKMS_DEST)'
-- cp Makefile bbswitch.c '$(DKMS_DEST)'
-- sed 's/#MODULE_VERSION#/$(modver)/' dkms/dkms.conf > '$(DKMS_DEST)/dkms.conf'
--
--build: src_install
-- $(DKMS) build -m bbswitch -v $(modver)
--
--install: build
-- $(DKMS) install -m bbswitch -v $(modver)
--
--uninstall:
-- $(DKMS) remove -m bbswitch -v $(modver) --all
--
--.PHONY: all src_install build install uninstall
diff --git a/sys-kernel/bbswitch-dkms/files/bbswitch.modprobe b/sys-kernel/bbswitch-dkms/files/bbswitch.modprobe
deleted file mode 100644
index dd6500c7..00000000
--- a/sys-kernel/bbswitch-dkms/files/bbswitch.modprobe
+++ /dev/null
@@ -1 +0,0 @@
-options bbswitch load_state=-1 unload_state=-1 \ No newline at end of file