chiark / gitweb /
detpic/Makefile: honour TTY variable
authorIan Jackson <ian@liberator.relativity.greenend.org.uk>
Sun, 19 Dec 2010 18:45:57 +0000 (18:45 +0000)
committerIan Jackson <ian@liberator.relativity.greenend.org.uk>
Sun, 19 Dec 2010 18:45:57 +0000 (18:45 +0000)
detpic/Makefile

index ce1c104fbca920ae2bab9684e174c023912516d2..c40588f79c2d6f04c035e8a1a904bb5f34824516 100644 (file)
@@ -20,6 +20,8 @@ OBJS_program=         $(addsuffix .o, $(FILES))
 XCODEN_program=        morse
 XCODE1_program=        ours+pindata
 
+TTY=/dev/ttya0
+
 INCLUDES=                                              \
                common.inc                              \
                        panic.inc                       \
@@ -61,7 +63,7 @@ i2clib+panic.mangles: make-panicworthy i2clib.inc i2clib.asm Makefile
                ./$+ $(CLOCKS) $o
 
 t.%.crash:     crashread program+program.map
-               ./$< /dev/ttya0 $(filter-out $<,$^) $* $o
+               ./$< $(TTY) $(filter-out $<,$^) $* $o
 
 verify%:       program+entire%.hex
                odyssey-train $* verify $^