]> cloudbase.mooo.com Git - z180-stamp.git/blobdiff - avr/Tupfile
switch to avr-libc 1.8.1 time library
[z180-stamp.git] / avr / Tupfile
index 1c0f7ed425b555e765d6b057bc44ccdffe376c5c..6c406493579f87cc659329f45da62a199fd87f41 100644 (file)
@@ -8,11 +8,15 @@ SRC           = main.c
 SRC            += cli.c cli_readline.c command.c command_tbl.c
 SRC            += cmd_help.c cmd_date.c cmd_mem.c cmd_boot.c cmd_gpio.c cmd_misc.c
 SRC            += cmd_sd.c cmd_fat.c
-SRC            += env.c xmalloc.c date.c con-utils.c print-utils.c getopt-min.c
+SRC            += env.c xmalloc.c con-utils.c print-utils.c getopt-min.c
 SRC            += timer.c serial.c i2c.c pcf8583.c mmc.c
 SRC            += background.c z180-serv.c z80-if.c gpio.c
 SRC            += $(FATFS) $(TOP)/fatfs/src/option/unicode.c
 
+#TODO: time lib
+SRC            += ../time/asctime_r.c ../time/gmtime_r.c ../time/mk_gmtime.c
+SRC            += ../time/print_lz.c ../time/isLeap.c
+
 SRC_Z          = ../z180/hdrom.c
 
 #TARGETS       = $(PROG).elf