FreeCalypso > hg > freecalypso-sw
annotate gsm-fw/L1/Makefile @ 992:a7b0b426f9ca
target-utils: boot ROM UART autodetection revamped
The new implementation should work with both the familiar Calypso C035
boot ROM version found in our regular targets as well as the older
Calypso F741979B version found on the vintage D-Sample board.
author | Mychaela Falconia <falcon@ivan.Harhan.ORG> |
---|---|
date | Wed, 30 Dec 2015 21:28:41 +0000 |
parents | 48969469d961 |
children |
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 |
927
48969469d961
gsm-fw: l1_dyn_dwl code compiles and links
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
899
diff
changeset
|
3 SUBDIR= audio_cfile cfile cust0 dsp dyn_dwl_cfile stand 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 |
620
d6f0892cdf1e
L1 standalone: final link passes with gsm-fw/L1/stand code included
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
615
diff
changeset
|
5 sinclude ../include/config.mk |
d6f0892cdf1e
L1 standalone: final link passes with gsm-fw/L1/stand code included
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
615
diff
changeset
|
6 |
594
2fd248f74a20
gsm-fw/L1/Makefile: link iramcode.o and xipcode.o
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
586
diff
changeset
|
7 INT_PIECES= cfile/iramcode.o cust0/iramcode.o tpudrv/iramcode.o |
899
ab20a5e9dbf3
gsm-fw/L1/dsp code made into a library in preparation for adding patch codes
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
620
diff
changeset
|
8 EXT_PIECES= audio_cfile/xipcode.o cfile/xipcode.o cust0/xipcode.o |
594
2fd248f74a20
gsm-fw/L1/Makefile: link iramcode.o and xipcode.o
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
586
diff
changeset
|
9 |
927
48969469d961
gsm-fw: l1_dyn_dwl code compiles and links
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
899
diff
changeset
|
10 ifeq (${L1_DYN_DSP_DWNLD},1) |
48969469d961
gsm-fw: l1_dyn_dwl code compiles and links
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
899
diff
changeset
|
11 EXT_PIECES+= dyn_dwl_cfile/xipcode.o |
48969469d961
gsm-fw: l1_dyn_dwl code compiles and links
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
899
diff
changeset
|
12 endif |
48969469d961
gsm-fw: l1_dyn_dwl code compiles and links
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
899
diff
changeset
|
13 |
620
d6f0892cdf1e
L1 standalone: final link passes with gsm-fw/L1/stand code included
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
615
diff
changeset
|
14 ifeq (${CONFIG_L1_STANDALONE},1) |
d6f0892cdf1e
L1 standalone: final link passes with gsm-fw/L1/stand code included
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
615
diff
changeset
|
15 EXT_PIECES+= stand/xipcode.o |
d6f0892cdf1e
L1 standalone: final link passes with gsm-fw/L1/stand code included
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
615
diff
changeset
|
16 endif |
d6f0892cdf1e
L1 standalone: final link passes with gsm-fw/L1/stand code included
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
615
diff
changeset
|
17 |
899
ab20a5e9dbf3
gsm-fw/L1/dsp code made into a library in preparation for adding patch codes
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
620
diff
changeset
|
18 all: iramcode.o xipcode.o dsp |
521
e1dd4a240199
gsm-fw/L1/Makefile: starting skeleton, hooked into top level make clean
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
19 |
e1dd4a240199
gsm-fw/L1/Makefile: starting skeleton, hooked into top level make clean
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
20 ${SUBDIR}: FRC |
e1dd4a240199
gsm-fw/L1/Makefile: starting skeleton, hooked into top level make clean
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
21 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
|
22 |
612
700d450bb8da
L1: audio_cfile included in the build
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
609
diff
changeset
|
23 audio_cfile/xipcode.o: audio_cfile |
700d450bb8da
L1: audio_cfile included in the build
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
609
diff
changeset
|
24 @true |
700d450bb8da
L1: audio_cfile included in the build
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
609
diff
changeset
|
25 |
594
2fd248f74a20
gsm-fw/L1/Makefile: link iramcode.o and xipcode.o
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
586
diff
changeset
|
26 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
|
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 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
|
30 @true |
2fd248f74a20
gsm-fw/L1/Makefile: link iramcode.o and xipcode.o
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
586
diff
changeset
|
31 |
927
48969469d961
gsm-fw: l1_dyn_dwl code compiles and links
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
899
diff
changeset
|
32 dyn_dwl_cfile/xipcode.o: dyn_dwl_cfile |
48969469d961
gsm-fw: l1_dyn_dwl code compiles and links
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
899
diff
changeset
|
33 @true |
48969469d961
gsm-fw: l1_dyn_dwl code compiles and links
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
899
diff
changeset
|
34 |
620
d6f0892cdf1e
L1 standalone: final link passes with gsm-fw/L1/stand code included
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
615
diff
changeset
|
35 stand/xipcode.o: stand |
d6f0892cdf1e
L1 standalone: final link passes with gsm-fw/L1/stand code included
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
615
diff
changeset
|
36 @true |
d6f0892cdf1e
L1 standalone: final link passes with gsm-fw/L1/stand code included
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
615
diff
changeset
|
37 |
594
2fd248f74a20
gsm-fw/L1/Makefile: link iramcode.o and xipcode.o
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
586
diff
changeset
|
38 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
|
39 @true |
2fd248f74a20
gsm-fw/L1/Makefile: link iramcode.o and xipcode.o
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
586
diff
changeset
|
40 |
2fd248f74a20
gsm-fw/L1/Makefile: link iramcode.o and xipcode.o
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
586
diff
changeset
|
41 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
|
42 ${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
|
43 |
2fd248f74a20
gsm-fw/L1/Makefile: link iramcode.o and xipcode.o
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
586
diff
changeset
|
44 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
|
45 ${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
|
46 |
521
e1dd4a240199
gsm-fw/L1/Makefile: starting skeleton, hooked into top level make clean
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
47 clean: FRC |
e1dd4a240199
gsm-fw/L1/Makefile: starting skeleton, hooked into top level make clean
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
48 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
|
49 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
|
50 |
e1dd4a240199
gsm-fw/L1/Makefile: starting skeleton, hooked into top level make clean
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
51 FRC: |