diff --git a/Makefile.dkms b/Makefile.dkms index 3a06762..b7c0d15 100644 --- a/Makefile.dkms +++ b/Makefile.dkms @@ -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 diff --git a/NEWS b/NEWS index 335e37e..71252fd 100644 --- a/NEWS +++ b/NEWS @@ -1,3 +1,5 @@ +* Improved compatibility with older DKMS versions. + Version 0.4.2 - 26 April 2012 * Fixed a documentation error on unload_state. diff --git a/README.md b/README.md index 17bef18..1f578e5 100644 --- a/README.md +++ b/README.md @@ -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