FreeCalypso > hg > freecalypso-sw
comparison gsm-fw/L1/Makefile @ 594:2fd248f74a20
gsm-fw/L1/Makefile: link iramcode.o and xipcode.o
author | Michael Spacefalcon <msokolov@ivan.Harhan.ORG> |
---|---|
date | Sun, 17 Aug 2014 04:31:18 +0000 |
parents | 25a3095e8a98 |
children | b8a277d81746 |
comparison
equal
deleted
inserted
replaced
593:5da15ffc340c | 594:2fd248f74a20 |
---|---|
1 LD= arm-elf-ld | |
2 | |
1 SUBDIR= cfile cust0 dsp tpudrv | 3 SUBDIR= cfile cust0 dsp tpudrv |
2 | 4 |
3 all: ${SUBDIR} | 5 INT_PIECES= cfile/iramcode.o cust0/iramcode.o tpudrv/iramcode.o |
6 EXT_PIECES= cfile/xipcode.o cust0/xipcode.o dsp/xipcode.o | |
7 | |
8 all: iramcode.o xipcode.o | |
4 | 9 |
5 ${SUBDIR}: FRC | 10 ${SUBDIR}: FRC |
6 cd $@; ${MAKE} ${MFLAGS} | 11 cd $@; ${MAKE} ${MFLAGS} |
12 | |
13 cfile/iramcode.o cfile/xipcode.o: cfile | |
14 @true | |
15 | |
16 cust0/iramcode.o cust0/xipcode.o: cust0 | |
17 @true | |
18 | |
19 dsp/xipcode.o: dsp | |
20 @true | |
21 | |
22 tpudrv/iramcode.o: tpudrv | |
23 @true | |
24 | |
25 iramcode.o: ${INT_PIECES} | |
26 ${LD} -r -o $@ ${INT_PIECES} | |
27 | |
28 xipcode.o: ${EXT_PIECES} | |
29 ${LD} -r -o $@ ${EXT_PIECES} | |
7 | 30 |
8 clean: FRC | 31 clean: FRC |
9 rm -f *.[oa] *.out *errs | 32 rm -f *.[oa] *.out *errs |
10 for i in ${SUBDIR}; do (cd $$i; ${MAKE} ${MFLAGS} clean); done | 33 for i in ${SUBDIR}; do (cd $$i; ${MAKE} ${MFLAGS} clean); done |
11 | 34 |