Upload
Source: https://github.com/cringeops/bes2600 Source: https://github.com/cringeops/bes2600/pull/14 Source: https://github.com/cringeops/bes2600/pull/17 Source: https://github.com/cringeops/bes2600/pull/20
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
#!/usr/bin/make -f
|
||||
PACKAGE_NAME := bes2600
|
||||
PACKAGE_VERSION := 0.1
|
||||
|
||||
install:
|
||||
dkms add .
|
||||
dkms install $(PACKAGE_NAME)/$(PACKAGE_VERSION)
|
||||
|
||||
uninstall:
|
||||
dkms uninstall $(PACKAGE_NAME)/$(PACKAGE_VERSION) || true
|
||||
dkms remove $(PACKAGE_NAME)/$(PACKAGE_VERSION) --all || true
|
||||
rm -r /usr/src/$(PACKAGE_NAME)-$(PACKAGE_VERSION) || true
|
||||
|
||||
load:
|
||||
@test -n "$$(dkms status bes2600/0.1)" || { echo 'Please run `make -f Makefile.dkms install` first.'; false; }
|
||||
modprobe bes2600
|
||||
|
||||
unload:
|
||||
rmmod bes2600
|
||||
|
||||
.PHONY: install uninstall load unload
|
||||
Reference in New Issue
Block a user