changeset 575:1d7a12925b8e

gsm-fw/L1/cfile: iramcode.o and xipcode.o built
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Mon, 11 Aug 2014 03:59:26 +0000
parents 8fe8cae8cf92
children 660e83f13cab
files gsm-fw/L1/cfile/Makefile
diffstat 1 files changed, 7 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/gsm-fw/L1/cfile/Makefile	Mon Aug 11 03:17:19 2014 +0000
+++ b/gsm-fw/L1/cfile/Makefile	Mon Aug 11 03:59:26 2014 +0000
@@ -12,7 +12,7 @@
 XOBJS=	l1_afunc.o l1_async.o l1_cmplx.o l1_init.o l1_pwmgr.o l1_small_defs.o \
 	l1_sync.o l1_trace.o
 
-all:	${IOBJS} ${XOBJS}
+all:	iramcode.o xipcode.o
 
 ${XOBJS}:	%.o : %.c
 	${CC} ${CFLAGS} ${CPPFLAGS} -mthumb -c $<
@@ -23,5 +23,11 @@
 l1_sync_intram.c:	l1_sync.c ${INTSED}
 	sed -n -f ${INTSED} l1_sync.c > $@
 
+iramcode.o:	${IOBJS}
+	${LD} -r -o $@ ${IOBJS}
+
+xipcode.o:	${XOBJS}
+	${LD} -r -o $@ ${XOBJS}
+
 clean:
 	rm -f *.[oa] l1_*_intram.c *.out *errs