diff options
author | Joursoir <chat@joursoir.net> | 2023-01-13 19:09:00 +0400 |
---|---|---|
committer | Joursoir <chat@joursoir.net> | 2023-01-16 13:30:11 +0400 |
commit | cbc5f3c045788ea0ff90e12d63db30c564c32f3f (patch) | |
tree | 2be8eb786a2f77e505b89091b1b71817b0342788 | |
parent | 294eab920cbdbd5274928773a23605e17db0c4ba (diff) | |
download | sbdd-cbc5f3c045788ea0ff90e12d63db30c564c32f3f.tar.gz sbdd-cbc5f3c045788ea0ff90e12d63db30c564c32f3f.tar.bz2 sbdd-cbc5f3c045788ea0ff90e12d63db30c564c32f3f.zip |
makefile: pass a target block device to the module
Task: 1
-rw-r--r-- | Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -35,6 +35,8 @@ ######## Makefile +TARG_BLK = /dev/disk/by-id/ata-QEMU_HARDDISK_QM00001 + default: $(MAKE) -C /lib/modules/$(shell uname -r)/build M=$(shell pwd) modules clean: @@ -42,7 +44,7 @@ clean: load: dmesg -C - insmod sbdd.ko + insmod sbdd.ko disk="$(TARG_BLK)" dmesg unload: |