FreeCalypso > hg > freecalypso-sw
annotate gsm-fw/L1/Makefile @ 613:9e605ec89ed0
gsm-fw/L1/stand: starting work on our version of standalone L1
author | Michael Spacefalcon <msokolov@ivan.Harhan.ORG> |
---|---|
date | Fri, 29 Aug 2014 17:25:46 +0000 |
parents | 700d450bb8da |
children | 13e55e310eea |
rev | line source |
---|---|
594
2fd248f74a20
gsm-fw/L1/Makefile: link iramcode.o and xipcode.o
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
586
diff
changeset
|
1 LD= arm-elf-ld |
2fd248f74a20
gsm-fw/L1/Makefile: link iramcode.o and xipcode.o
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
586
diff
changeset
|
2 |
609
b8a277d81746
gsm-fw/L1/Makefile: audio_cfile added to SUBDIR for make clean
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
594
diff
changeset
|
3 SUBDIR= audio_cfile cfile cust0 dsp tpudrv |
521
e1dd4a240199
gsm-fw/L1/Makefile: starting skeleton, hooked into top level make clean
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
4 |
594
2fd248f74a20
gsm-fw/L1/Makefile: link iramcode.o and xipcode.o
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
586
diff
changeset
|
5 INT_PIECES= cfile/iramcode.o cust0/iramcode.o tpudrv/iramcode.o |
612
700d450bb8da
L1: audio_cfile included in the build
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
609
diff
changeset
|
6 EXT_PIECES= audio_cfile/xipcode.o cfile/xipcode.o cust0/xipcode.o \ |
700d450bb8da
L1: audio_cfile included in the build
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
609
diff
changeset
|
7 dsp/xipcode.o |
594
2fd248f74a20
gsm-fw/L1/Makefile: link iramcode.o and xipcode.o
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
586
diff
changeset
|
8 |
2fd248f74a20
gsm-fw/L1/Makefile: link iramcode.o and xipcode.o
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
586
diff
changeset
|
9 all: iramcode.o xipcode.o |
521
e1dd4a240199
gsm-fw/L1/Makefile: starting skeleton, hooked into top level make clean
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
10 |
e1dd4a240199
gsm-fw/L1/Makefile: starting skeleton, hooked into top level make clean
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
11 ${SUBDIR}: FRC |
e1dd4a240199
gsm-fw/L1/Makefile: starting skeleton, hooked into top level make clean
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
12 cd $@; ${MAKE} ${MFLAGS} |
e1dd4a240199
gsm-fw/L1/Makefile: starting skeleton, hooked into top level make clean
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
13 |
612
700d450bb8da
L1: audio_cfile included in the build
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
609
diff
changeset
|
14 audio_cfile/xipcode.o: audio_cfile |
700d450bb8da
L1: audio_cfile included in the build
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
609
diff
changeset
|
15 @true |
700d450bb8da
L1: audio_cfile included in the build
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
609
diff
changeset
|
16 |
594
2fd248f74a20
gsm-fw/L1/Makefile: link iramcode.o and xipcode.o
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
586
diff
changeset
|
17 cfile/iramcode.o cfile/xipcode.o: cfile |
2fd248f74a20
gsm-fw/L1/Makefile: link iramcode.o and xipcode.o
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
586
diff
changeset
|
18 @true |
2fd248f74a20
gsm-fw/L1/Makefile: link iramcode.o and xipcode.o
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
586
diff
changeset
|
19 |
2fd248f74a20
gsm-fw/L1/Makefile: link iramcode.o and xipcode.o
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
586
diff
changeset
|
20 cust0/iramcode.o cust0/xipcode.o: cust0 |
2fd248f74a20
gsm-fw/L1/Makefile: link iramcode.o and xipcode.o
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
586
diff
changeset
|
21 @true |
2fd248f74a20
gsm-fw/L1/Makefile: link iramcode.o and xipcode.o
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
586
diff
changeset
|
22 |
2fd248f74a20
gsm-fw/L1/Makefile: link iramcode.o and xipcode.o
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
586
diff
changeset
|
23 dsp/xipcode.o: dsp |
2fd248f74a20
gsm-fw/L1/Makefile: link iramcode.o and xipcode.o
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
586
diff
changeset
|
24 @true |
2fd248f74a20
gsm-fw/L1/Makefile: link iramcode.o and xipcode.o
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
586
diff
changeset
|
25 |
2fd248f74a20
gsm-fw/L1/Makefile: link iramcode.o and xipcode.o
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
586
diff
changeset
|
26 tpudrv/iramcode.o: tpudrv |
2fd248f74a20
gsm-fw/L1/Makefile: link iramcode.o and xipcode.o
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
586
diff
changeset
|
27 @true |
2fd248f74a20
gsm-fw/L1/Makefile: link iramcode.o and xipcode.o
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
586
diff
changeset
|
28 |
2fd248f74a20
gsm-fw/L1/Makefile: link iramcode.o and xipcode.o
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
586
diff
changeset
|
29 iramcode.o: ${INT_PIECES} |
2fd248f74a20
gsm-fw/L1/Makefile: link iramcode.o and xipcode.o
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
586
diff
changeset
|
30 ${LD} -r -o $@ ${INT_PIECES} |
2fd248f74a20
gsm-fw/L1/Makefile: link iramcode.o and xipcode.o
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
586
diff
changeset
|
31 |
2fd248f74a20
gsm-fw/L1/Makefile: link iramcode.o and xipcode.o
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
586
diff
changeset
|
32 xipcode.o: ${EXT_PIECES} |
2fd248f74a20
gsm-fw/L1/Makefile: link iramcode.o and xipcode.o
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
586
diff
changeset
|
33 ${LD} -r -o $@ ${EXT_PIECES} |
2fd248f74a20
gsm-fw/L1/Makefile: link iramcode.o and xipcode.o
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
586
diff
changeset
|
34 |
521
e1dd4a240199
gsm-fw/L1/Makefile: starting skeleton, hooked into top level make clean
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
35 clean: FRC |
e1dd4a240199
gsm-fw/L1/Makefile: starting skeleton, hooked into top level make clean
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
36 rm -f *.[oa] *.out *errs |
e1dd4a240199
gsm-fw/L1/Makefile: starting skeleton, hooked into top level make clean
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
37 for i in ${SUBDIR}; do (cd $$i; ${MAKE} ${MFLAGS} clean); done |
e1dd4a240199
gsm-fw/L1/Makefile: starting skeleton, hooked into top level make clean
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
38 |
e1dd4a240199
gsm-fw/L1/Makefile: starting skeleton, hooked into top level make clean
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
39 FRC: |