diff options
author | Joursoir <chat@joursoir.net> | 2023-01-13 19:03:00 +0400 |
---|---|---|
committer | Joursoir <chat@joursoir.net> | 2023-01-16 13:29:26 +0400 |
commit | 294eab920cbdbd5274928773a23605e17db0c4ba (patch) | |
tree | 76a0ac40c04f423e57ea893dbf6cbfc16c89dda6 /Makefile | |
parent | 56aac946d7888eb9696610ab4708f99cb76d0af0 (diff) | |
download | sbdd-294eab920cbdbd5274928773a23605e17db0c4ba.tar.gz sbdd-294eab920cbdbd5274928773a23605e17db0c4ba.tar.bz2 sbdd-294eab920cbdbd5274928773a23605e17db0c4ba.zip |
makefile: add load and unload targets
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -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 |