Compatibility with older DKMS versions (GH-25)
This commit is contained in:
parent
d12ce73a0d
commit
8ada8849f2
@ -13,12 +13,12 @@ src_install:
|
|||||||
sed 's/#MODULE_VERSION#/$(modver)/' dkms/dkms.conf > '$(DKMS_DEST)/dkms.conf'
|
sed 's/#MODULE_VERSION#/$(modver)/' dkms/dkms.conf > '$(DKMS_DEST)/dkms.conf'
|
||||||
|
|
||||||
build: src_install
|
build: src_install
|
||||||
$(DKMS) build 'bbswitch/$(modver)'
|
$(DKMS) build -m bbswitch -v $(modver)
|
||||||
|
|
||||||
install: build
|
install: build
|
||||||
$(DKMS) install 'bbswitch/$(modver)'
|
$(DKMS) install -m bbswitch -v $(modver)
|
||||||
|
|
||||||
uninstall:
|
uninstall:
|
||||||
$(DKMS) remove bbswitch/$(modver) --all
|
$(DKMS) remove -m bbswitch -v $(modver) --all
|
||||||
|
|
||||||
.PHONY: all src_install build install uninstall
|
.PHONY: all src_install build install uninstall
|
||||||
|
2
NEWS
2
NEWS
@ -1,3 +1,5 @@
|
|||||||
|
* Improved compatibility with older DKMS versions.
|
||||||
|
|
||||||
Version 0.4.2 - 26 April 2012
|
Version 0.4.2 - 26 April 2012
|
||||||
|
|
||||||
* Fixed a documentation error on unload_state.
|
* Fixed a documentation error on unload_state.
|
||||||
|
@ -40,8 +40,8 @@ DKMS support
|
|||||||
|
|
||||||
If you have DKMS installed, you can install bbswitch in such a way that it
|
If you have DKMS installed, you can install bbswitch in such a way that it
|
||||||
survives kernel upgrades. It is recommended to remove older versions of bbswitch
|
survives kernel upgrades. It is recommended to remove older versions of bbswitch
|
||||||
by running `dkms remove bbswitch/OLDVERSION --all` as root. To install the new
|
by running `dkms remove -m bbswitch -v OLDVERSION --all` as root. To install
|
||||||
version, simply run:
|
the new version, simply run:
|
||||||
|
|
||||||
# make -f Makefile.dkms
|
# make -f Makefile.dkms
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user