aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoursoir <chat@joursoir.net>2023-01-13 19:03:00 +0400
committerJoursoir <chat@joursoir.net>2023-01-16 13:29:26 +0400
commit294eab920cbdbd5274928773a23605e17db0c4ba (patch)
tree76a0ac40c04f423e57ea893dbf6cbfc16c89dda6
parent56aac946d7888eb9696610ab4708f99cb76d0af0 (diff)
downloadsbdd-294eab920cbdbd5274928773a23605e17db0c4ba.tar.gz
sbdd-294eab920cbdbd5274928773a23605e17db0c4ba.tar.bz2
sbdd-294eab920cbdbd5274928773a23605e17db0c4ba.zip
makefile: add load and unload targets
-rw-r--r--Makefile10
1 files changed, 10 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 0216fb0..8aac73d 100644
--- a/Makefile
+++ b/Makefile
@@ -39,3 +39,13 @@ default:
$(MAKE) -C /lib/modules/$(shell uname -r)/build M=$(shell pwd) modules
clean:
$(MAKE) -C /lib/modules/$(shell uname -r)/build M=$(shell pwd) clean
+
+load:
+ dmesg -C
+ insmod sbdd.ko
+ dmesg
+
+unload:
+ dmesg -C
+ rmmod sbdd.ko
+ dmesg