Closed Joe136 closed 6 years ago
Hi, I have added dkms.conf to automatically update the driver on kernel update.
In addition, this can be added to the Makefile (dkms needs to know the version).
DKMS = dkms dkms_install: VERSION = $(shell grep 'PACKAGE_VERSION' dkms.conf | grep -oEe '[0-9.]+') dkms_install: $(DKMS) add . $(DKMS) install emlog/$(VERSION) dkms_remove: VERSION = $(shell grep 'PACKAGE_VERSION' dkms.conf | grep -oEe '[0-9.]+') dkms_remove: $(DKMS) remove emlog/$(VERSION) --all rm -rf /usr/src/emlog-$(VERSION)
I added the Makefile
dkms --sourcetree /usr/src
I changed dkms.conf
Great, thank you for your changes! Merged in aee53e8.
Hi, I have added dkms.conf to automatically update the driver on kernel update.
In addition, this can be added to the Makefile (dkms needs to know the version).