FreeCalypso > hg > freecalypso-citrine
comparison L1/Makefile @ 0:75a11d740a02
initial import of gsm-fw from freecalypso-sw rev 1033:5ab737ac3ad7
| author | Mychaela Falconia <falcon@freecalypso.org> |
|---|---|
| date | Thu, 09 Jun 2016 00:02:41 +0000 |
| parents | |
| children |
comparison
equal
deleted
inserted
replaced
| -1:000000000000 | 0:75a11d740a02 |
|---|---|
| 1 LD= arm-elf-ld | |
| 2 | |
| 3 SUBDIR= audio_cfile cfile cust0 dsp dyn_dwl_cfile stand tpudrv | |
| 4 | |
| 5 sinclude ../include/config.mk | |
| 6 | |
| 7 INT_PIECES= cfile/iramcode.o cust0/iramcode.o tpudrv/iramcode.o | |
| 8 EXT_PIECES= audio_cfile/xipcode.o cfile/xipcode.o cust0/xipcode.o | |
| 9 | |
| 10 ifeq (${L1_DYN_DSP_DWNLD},1) | |
| 11 EXT_PIECES+= dyn_dwl_cfile/xipcode.o | |
| 12 endif | |
| 13 | |
| 14 ifeq (${CONFIG_L1_STANDALONE},1) | |
| 15 EXT_PIECES+= stand/xipcode.o | |
| 16 endif | |
| 17 | |
| 18 all: iramcode.o xipcode.o dsp | |
| 19 | |
| 20 ${SUBDIR}: FRC | |
| 21 cd $@; ${MAKE} ${MFLAGS} | |
| 22 | |
| 23 audio_cfile/xipcode.o: audio_cfile | |
| 24 @true | |
| 25 | |
| 26 cfile/iramcode.o cfile/xipcode.o: cfile | |
| 27 @true | |
| 28 | |
| 29 cust0/iramcode.o cust0/xipcode.o: cust0 | |
| 30 @true | |
| 31 | |
| 32 dyn_dwl_cfile/xipcode.o: dyn_dwl_cfile | |
| 33 @true | |
| 34 | |
| 35 stand/xipcode.o: stand | |
| 36 @true | |
| 37 | |
| 38 tpudrv/iramcode.o: tpudrv | |
| 39 @true | |
| 40 | |
| 41 iramcode.o: ${INT_PIECES} | |
| 42 ${LD} -r -o $@ ${INT_PIECES} | |
| 43 | |
| 44 xipcode.o: ${EXT_PIECES} | |
| 45 ${LD} -r -o $@ ${EXT_PIECES} | |
| 46 | |
| 47 clean: FRC | |
| 48 rm -f *.[oa] *.out *errs | |
| 49 for i in ${SUBDIR}; do (cd $$i; ${MAKE} ${MFLAGS} clean); done | |
| 50 | |
| 51 FRC: |
