]> cloudbase.mooo.com Git - avrcpm.git/blobdiff - avrcpm/cpm/Makefile
Merge softuart/cpm back into trunk:
[avrcpm.git] / avrcpm / cpm / Makefile
index 840121f395d5cad7749f29e00cae324ec8c10488..80c9ef68d75a4d97f1ebb7aaf82f19e644e12b27 100644 (file)
@@ -1,6 +1,6 @@
 #WARNING! Do not run a 'make install' unless you know what you're doing.
 
-INSTALLDISK=/dev/sdx
+INSTALLDISK=/dev/sdb
 
 diskimage: cpm.bin cpmdsk/*
        mkfs.cpm -f avrcpm -b cpm.bin -L test diskimage
@@ -22,6 +22,12 @@ clean:
        rm -f ipl.lst ipl.bin
        rm -f cpm.bin diskimage
 
+installcpm: cpm.bin dummy
+       sudo dd if=cpm.bin of=${INSTALLDISK} bs=128 conv=sync oflag=sync
+       sync
+       sleep 1
+       sync
+
 install: diskimage dummy
        sudo dd if=diskimage of=${INSTALLDISK} conv=sync oflag=direct,sync
        sync