Compatibility with older DKMS versions (GH-25)

master
Peter Wu 12 years ago
parent d12ce73a0d
commit 8ada8849f2

@ -13,12 +13,12 @@ src_install:
sed 's/#MODULE_VERSION#/$(modver)/' dkms/dkms.conf > '$(DKMS_DEST)/dkms.conf'
build: src_install
$(DKMS) build 'bbswitch/$(modver)'
$(DKMS) build -m bbswitch -v $(modver)
install: build
$(DKMS) install 'bbswitch/$(modver)'
$(DKMS) install -m bbswitch -v $(modver)
uninstall:
$(DKMS) remove bbswitch/$(modver) --all
$(DKMS) remove -m bbswitch -v $(modver) --all
.PHONY: all src_install build install uninstall

@ -1,3 +1,5 @@
* Improved compatibility with older DKMS versions.
Version 0.4.2 - 26 April 2012
* 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
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
version, simply run:
by running `dkms remove -m bbswitch -v OLDVERSION --all` as root. To install
the new version, simply run:
# make -f Makefile.dkms

Loading…
Cancel
Save