FreeCalypso > hg > freecalypso-tools
diff target-utils/c139-lldbg/Makefile @ 100:d7ef80dce192
target-utils: c139-lldbg converted to our own libc
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Tue, 01 Nov 2016 00:09:34 +0000 |
parents | e7502631a0f9 |
children | bfddfecc52b2 |
line wrap: on
line diff
--- a/target-utils/c139-lldbg/Makefile Tue Nov 01 00:05:31 2016 +0000 +++ b/target-utils/c139-lldbg/Makefile Tue Nov 01 00:09:34 2016 +0000 @@ -6,17 +6,15 @@ PROG= lldbg OBJS= entry.o cmdtab.o entryinfo.o main.o mygetchar.o uartbase.o -LIBS= ../libcommon/libcommon.a ../libprintf/libprintf.a ../libbase/libbase.a +LIBS= ../libcommon/libcommon.a ../libprintf/libprintf.a ../libbase/libbase.a \ + ../libc/libc.a +LIBGCC= `${CC} -print-file-name=libgcc.a` LDS= lldbg.lds -TC_LIBS=`${CC} -print-file-name=libc.a` \ - `${CC} -print-file-name=libgcc.a` - all: ${PROG}.bin ${PROG}.elf: ${OBJS} ${LIBS} ${LDS} - ${LD} -N -T ${LDS} -o $@ ${OBJS} ${LIBS} \ - --start-group ${TC_LIBS} --end-group + ${LD} -N -T ${LDS} -o $@ ${OBJS} ${LIBS} ${LIBGCC} ${PROG}.bin: ${PROG}.elf ${OBJCOPY} -O binary $< $@