]> cloudbase.mooo.com Git - z180-stamp.git/blobdiff - avr/Tupfile
New command: cfboot - boot from cf card.
[z180-stamp.git] / avr / Tupfile
index 9f9537672386bd8133e86b046f7508359dd9387d..0eb910acd450541a899efa2d931ce0a55cfae95c 100644 (file)
@@ -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