summaryrefslogtreecommitdiff
path: root/avr/Tupfile
diff options
context:
space:
mode:
authorLeo C2016-06-09 02:20:50 +0200
committerLeo C2016-06-09 02:20:50 +0200
commita2907f2e2b2725679d6b3b8d3231f3d94c325014 (patch)
tree9893b25216a37f6d955cc1078674cf3de67ef3fe /avr/Tupfile
parentbeafa6d6a908081ccb65e36953b2e58529499934 (diff)
downloadz180-stamp-a2907f2e2b2725679d6b3b8d3231f3d94c325014.zip
New command: cfboot - boot from cf card.
Diffstat (limited to 'avr/Tupfile')
-rw-r--r--avr/Tupfile6
1 files changed, 3 insertions, 3 deletions
diff --git a/avr/Tupfile b/avr/Tupfile
index 9f95376..0eb910a 100644
--- a/avr/Tupfile
+++ b/avr/Tupfile
@@ -22,7 +22,7 @@ SRC += ../time/system_time.c ../time/set_system_time.c
ASRC += ../time/system_tick.S
-SRC_Z = ../z180/hdrom.c
+SRC_Z = ../z180/hdrom.c ../z180/cfboot.c
#TARGETS = $(PROG).elf
@@ -110,8 +110,8 @@ LDFLAGS += -Wl,--cref
!SIZE = |> ^ SIZE^ $(SIZE) %f |>
: foreach $(ASRC) |> !as |> {objs}
-: foreach $(SRC) | ../z180/hdrom.h |> !cc |> {objs}
-: $(SRC_Z) |> !cc -D'const=const __flash' |> {objs}
+: foreach $(SRC) | ../z180/hdrom.h ../z180/cfboot.h |> !cc |> {objs}
+: foreach $(SRC_Z) |> !cc -D'const=const __flash' |> {objs}
: {objs} |> !LINK |> $(PROG).elf
: $(PROG).elf |> !OBJCOPY |> %B.hex