FreeCalypso > hg > freecalypso-tools
changeset 105:6803e0e83b30
target-utils: pirexplore converted to our own libc
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Tue, 01 Nov 2016 00:38:49 +0000 |
parents | f23aa34899a3 |
children | 18b3183611fb |
files | target-utils/pirexplore/Makefile |
diffstat | 1 files changed, 3 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- a/target-utils/pirexplore/Makefile Tue Nov 01 00:28:57 2016 +0000 +++ b/target-utils/pirexplore/Makefile Tue Nov 01 00:38:49 2016 +0000 @@ -9,12 +9,10 @@ PROG= pirexplore OBJS= crt0.o cmdtab.o ffsparam.o flashid.o lcd.o main.o mygetchar.o rtc.o LIBS= ../libtiffs/libtiffs.a ../libcommon/libcommon.a \ - ../libprintf/libprintf.a ../libbase/libbase.a + ../libprintf/libprintf.a ../libbase/libbase.a ../libc/libc.a +LIBGCC= `${CC} -print-file-name=libgcc.a` LDS= ../env/iram.lds -TC_LIBS=`${CC} -print-file-name=libc.a` \ - `${CC} -print-file-name=libgcc.a` - all: ${PROG}.srec crt0.S: ../env/crt0.S @@ -22,8 +20,7 @@ ${PROG}.elf: ${OBJS} ${LIBS} ${LDS} ${LD} -N --defsym Base_addr=0x800750 --defsym stack_bottom=0x87FFFC \ - -T ${LDS} -o $@ ${OBJS} ${LIBS} \ - --start-group ${TC_LIBS} --end-group + -T ${LDS} -o $@ ${OBJS} ${LIBS} ${LIBGCC} ${PROG}.srec: ${PROG}.elf ${OBJCOPY} -O srec --srec-forceS3 --srec-len=30 $< $@