aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 8aac73d..7ecb2a3 100644
--- a/Makefile
+++ b/Makefile
@@ -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: