changeset 612:700d450bb8da

L1: audio_cfile included in the build
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Fri, 29 Aug 2014 05:49:19 +0000
parents bbe2b0d17d1e
children 9e605ec89ed0
files gsm-fw/L1/Makefile gsm-fw/L1/audio_cfile/Makefile
diffstat 2 files changed, 9 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/gsm-fw/L1/Makefile	Fri Aug 29 05:44:42 2014 +0000
+++ b/gsm-fw/L1/Makefile	Fri Aug 29 05:49:19 2014 +0000
@@ -3,13 +3,17 @@
 SUBDIR=	audio_cfile cfile cust0 dsp tpudrv
 
 INT_PIECES=	cfile/iramcode.o cust0/iramcode.o tpudrv/iramcode.o
-EXT_PIECES=	cfile/xipcode.o cust0/xipcode.o dsp/xipcode.o
+EXT_PIECES=	audio_cfile/xipcode.o cfile/xipcode.o cust0/xipcode.o \
+		dsp/xipcode.o
 
 all:	iramcode.o xipcode.o
 
 ${SUBDIR}: FRC
 	cd $@; ${MAKE} ${MFLAGS}
 
+audio_cfile/xipcode.o:	audio_cfile
+	@true
+
 cfile/iramcode.o cfile/xipcode.o:	cfile
 	@true
 
--- a/gsm-fw/L1/audio_cfile/Makefile	Fri Aug 29 05:44:42 2014 +0000
+++ b/gsm-fw/L1/audio_cfile/Makefile	Fri Aug 29 05:49:19 2014 +0000
@@ -7,10 +7,13 @@
 
 XOBJS=	l1audio_abb.o l1audio_init.o
 
-all:	${XOBJS}
+all:	xipcode.o
 
 ${XOBJS}:	%.o : %.c
 	${CC} ${CFLAGS} ${CPPFLAGS} -mthumb -c $<
 
+xipcode.o:	${XOBJS}
+	${LD} -r -o $@ ${XOBJS}
+
 clean:
 	rm -f *.[oa] *.out *errs