FreeCalypso > hg > freecalypso-sw
annotate gsm-fw/L1/cfile/Makefile @ 1012:93f4fc26b204
fc-shell: arbitrary send command implemented in one-shot mode
author | Mychaela Falconia <falcon@ivan.Harhan.ORG> |
---|---|
date | Sun, 20 Mar 2016 22:06:11 +0000 |
parents | 9b147d0b2cab |
children |
rev | line source |
---|---|
546
c7e53436c451
L1: starting to compile core C files
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1 CC= arm-elf-gcc |
c7e53436c451
L1: starting to compile core C files
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
2 CPPFLAGS=-I../../include -I../include -I../audio_include -I../audio_cust0 \ |
926
3f178b3ac50a
gsm-fw: preparations for building with L1_DYN_DSP_DWNLD enabled
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
602
diff
changeset
|
3 -I../dyn_dwl_include -I../tm_include -I../tm_cust0 -I../cust0 \ |
3f178b3ac50a
gsm-fw: preparations for building with L1_DYN_DSP_DWNLD enabled
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
602
diff
changeset
|
4 -I../tpudrv -DMOVE_IN_INTERNAL_RAM |
546
c7e53436c451
L1: starting to compile core C files
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
5 CFLAGS= -O2 -fno-builtin -mthumb-interwork |
571
8d6062f4e7e4
L1: l1_small.c reworked for FreeCalypso
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
569
diff
changeset
|
6 ASFLAGS=-mthumb-interwork |
546
c7e53436c451
L1: starting to compile core C files
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
7 LD= arm-elf-ld |
551
2e662daa7441
L1: l1_cmplx.c compiles for IRAM
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
550
diff
changeset
|
8 INTSED= ../intram.sed |
546
c7e53436c451
L1: starting to compile core C files
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
9 |
1003
9b147d0b2cab
gsm-fw feature tch-reroute: started laying the foundation
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
926
diff
changeset
|
10 sinclude ../../include/config.mk |
9b147d0b2cab
gsm-fw feature tch-reroute: started laying the foundation
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
926
diff
changeset
|
11 |
565
335f9b00f8fc
L1: l1_mfmgr.c compiles
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
563
diff
changeset
|
12 IOBJS= l1_api_hisr.o l1_cmplx_intram.o l1_ctl.o l1_drive.o l1_func.o \ |
600
3fea71719423
L1: l1_isr_glue.c moved to cfile directory; compiles successfully
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
575
diff
changeset
|
13 l1_mfmgr.o l1_small_asm.o l1_sync_intram.o l1_isr_glue.o |
571
8d6062f4e7e4
L1: l1_small.c reworked for FreeCalypso
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
569
diff
changeset
|
14 XOBJS= l1_afunc.o l1_async.o l1_cmplx.o l1_init.o l1_pwmgr.o l1_small_defs.o \ |
602
5f93a9a8f9a0
L1: [rt]x_tch_data() stubs implemented
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
600
diff
changeset
|
15 l1_sync.o l1_trace.o dummy_tch_data.o |
546
c7e53436c451
L1: starting to compile core C files
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
16 |
1003
9b147d0b2cab
gsm-fw feature tch-reroute: started laying the foundation
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
926
diff
changeset
|
17 ifeq (${FEATURE_TCH_REROUTE},1) |
9b147d0b2cab
gsm-fw feature tch-reroute: started laying the foundation
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
926
diff
changeset
|
18 XOBJS+= tch_feature.o |
9b147d0b2cab
gsm-fw feature tch-reroute: started laying the foundation
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
926
diff
changeset
|
19 endif |
9b147d0b2cab
gsm-fw feature tch-reroute: started laying the foundation
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
926
diff
changeset
|
20 |
575
1d7a12925b8e
gsm-fw/L1/cfile: iramcode.o and xipcode.o built
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
574
diff
changeset
|
21 all: iramcode.o xipcode.o |
546
c7e53436c451
L1: starting to compile core C files
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
22 |
c7e53436c451
L1: starting to compile core C files
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
23 ${XOBJS}: %.o : %.c |
c7e53436c451
L1: starting to compile core C files
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
24 ${CC} ${CFLAGS} ${CPPFLAGS} -mthumb -c $< |
c7e53436c451
L1: starting to compile core C files
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
25 |
551
2e662daa7441
L1: l1_cmplx.c compiles for IRAM
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
550
diff
changeset
|
26 l1_cmplx_intram.c: l1_cmplx.c ${INTSED} |
2e662daa7441
L1: l1_cmplx.c compiles for IRAM
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
550
diff
changeset
|
27 sed -n -f ${INTSED} l1_cmplx.c > $@ |
2e662daa7441
L1: l1_cmplx.c compiles for IRAM
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
550
diff
changeset
|
28 |
569
9df89f93d311
L1: l1_sync.c compiles for IRAM
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
568
diff
changeset
|
29 l1_sync_intram.c: l1_sync.c ${INTSED} |
9df89f93d311
L1: l1_sync.c compiles for IRAM
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
568
diff
changeset
|
30 sed -n -f ${INTSED} l1_sync.c > $@ |
9df89f93d311
L1: l1_sync.c compiles for IRAM
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
568
diff
changeset
|
31 |
575
1d7a12925b8e
gsm-fw/L1/cfile: iramcode.o and xipcode.o built
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
574
diff
changeset
|
32 iramcode.o: ${IOBJS} |
1d7a12925b8e
gsm-fw/L1/cfile: iramcode.o and xipcode.o built
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
574
diff
changeset
|
33 ${LD} -r -o $@ ${IOBJS} |
1d7a12925b8e
gsm-fw/L1/cfile: iramcode.o and xipcode.o built
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
574
diff
changeset
|
34 |
1d7a12925b8e
gsm-fw/L1/cfile: iramcode.o and xipcode.o built
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
574
diff
changeset
|
35 xipcode.o: ${XOBJS} |
1d7a12925b8e
gsm-fw/L1/cfile: iramcode.o and xipcode.o built
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
574
diff
changeset
|
36 ${LD} -r -o $@ ${XOBJS} |
1d7a12925b8e
gsm-fw/L1/cfile: iramcode.o and xipcode.o built
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
574
diff
changeset
|
37 |
546
c7e53436c451
L1: starting to compile core C files
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
38 clean: |
551
2e662daa7441
L1: l1_cmplx.c compiles for IRAM
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
550
diff
changeset
|
39 rm -f *.[oa] l1_*_intram.c *.out *errs |