FreeCalypso > hg > freecalypso-sw
annotate gsm-fw/L1/cust0/Makefile @ 570:962f0d3a4e7e
gsm-fw/nucleus/tct.S: preparations for hooking in GSM small sleep
just like how TI did it
| author | Michael Spacefalcon <msokolov@ivan.Harhan.ORG> | 
|---|---|
| date | Sun, 10 Aug 2014 19:24:56 +0000 | 
| parents | 2dccd2b4e5a2 | 
| children | 452a4aea3fc5 | 
| rev | line source | 
|---|---|
| 520 
ed6071292a5c
L1: first C module compiles: ind_os.c
 Michael Spacefalcon <msokolov@ivan.Harhan.ORG> parents: diff
changeset | 1 CC= arm-elf-gcc | 
| 527 
a6ff7b513bcf
gsm-fw/L1/cust0: use -I flags in the Makefile to make C code files less ugly
 Michael Spacefalcon <msokolov@ivan.Harhan.ORG> parents: 
522diff
changeset | 2 CPPFLAGS=-I../../include -I../include -I../audio_include -I../audio_cust0 \ | 
| 528 
1affe428bf72
getting closer to compiling l1_cust.c
 Michael Spacefalcon <msokolov@ivan.Harhan.ORG> parents: 
527diff
changeset | 3 -I../tm_include -I../tm_cust0 -I../tpudrv | 
| 520 
ed6071292a5c
L1: first C module compiles: ind_os.c
 Michael Spacefalcon <msokolov@ivan.Harhan.ORG> parents: diff
changeset | 4 CFLAGS= -O2 -fno-builtin -mthumb-interwork | 
| 
ed6071292a5c
L1: first C module compiles: ind_os.c
 Michael Spacefalcon <msokolov@ivan.Harhan.ORG> parents: diff
changeset | 5 LD= arm-elf-ld | 
| 
ed6071292a5c
L1: first C module compiles: ind_os.c
 Michael Spacefalcon <msokolov@ivan.Harhan.ORG> parents: diff
changeset | 6 | 
| 542 
9dd6ca16f13d
gsm-fw/L1/cust0: split between IRAM and XIP code
 Michael Spacefalcon <msokolov@ivan.Harhan.ORG> parents: 
528diff
changeset | 7 IOBJS= ind_os.o l1_cust_iram.o | 
| 
9dd6ca16f13d
gsm-fw/L1/cust0: split between IRAM and XIP code
 Michael Spacefalcon <msokolov@ivan.Harhan.ORG> parents: 
528diff
changeset | 8 XOBJS= l1_cust_xip.o l1_rf12.o | 
| 
9dd6ca16f13d
gsm-fw/L1/cust0: split between IRAM and XIP code
 Michael Spacefalcon <msokolov@ivan.Harhan.ORG> parents: 
528diff
changeset | 9 | 
| 
9dd6ca16f13d
gsm-fw/L1/cust0: split between IRAM and XIP code
 Michael Spacefalcon <msokolov@ivan.Harhan.ORG> parents: 
528diff
changeset | 10 all: iramcode.o xipcode.o | 
| 
9dd6ca16f13d
gsm-fw/L1/cust0: split between IRAM and XIP code
 Michael Spacefalcon <msokolov@ivan.Harhan.ORG> parents: 
528diff
changeset | 11 | 
| 
9dd6ca16f13d
gsm-fw/L1/cust0: split between IRAM and XIP code
 Michael Spacefalcon <msokolov@ivan.Harhan.ORG> parents: 
528diff
changeset | 12 l1_cust_iram.o: l1_cust.c | 
| 
9dd6ca16f13d
gsm-fw/L1/cust0: split between IRAM and XIP code
 Michael Spacefalcon <msokolov@ivan.Harhan.ORG> parents: 
528diff
changeset | 13 ${CC} ${CFLAGS} ${CPPFLAGS} -DRUN_INT_RAM -c -o $@ $< | 
| 520 
ed6071292a5c
L1: first C module compiles: ind_os.c
 Michael Spacefalcon <msokolov@ivan.Harhan.ORG> parents: diff
changeset | 14 | 
| 542 
9dd6ca16f13d
gsm-fw/L1/cust0: split between IRAM and XIP code
 Michael Spacefalcon <msokolov@ivan.Harhan.ORG> parents: 
528diff
changeset | 15 l1_cust_xip.o: l1_cust.c | 
| 543 
2dccd2b4e5a2
gsm-fw/L1/cust0/Makefile: forgot -mthumb for l1_cust_xip.o
 Michael Spacefalcon <msokolov@ivan.Harhan.ORG> parents: 
542diff
changeset | 16 ${CC} ${CFLAGS} ${CPPFLAGS} -DRUN_FLASH -mthumb -c -o $@ $< | 
| 542 
9dd6ca16f13d
gsm-fw/L1/cust0: split between IRAM and XIP code
 Michael Spacefalcon <msokolov@ivan.Harhan.ORG> parents: 
528diff
changeset | 17 | 
| 
9dd6ca16f13d
gsm-fw/L1/cust0: split between IRAM and XIP code
 Michael Spacefalcon <msokolov@ivan.Harhan.ORG> parents: 
528diff
changeset | 18 iramcode.o: ${IOBJS} | 
| 
9dd6ca16f13d
gsm-fw/L1/cust0: split between IRAM and XIP code
 Michael Spacefalcon <msokolov@ivan.Harhan.ORG> parents: 
528diff
changeset | 19 ${LD} -r -o $@ ${IOBJS} | 
| 
9dd6ca16f13d
gsm-fw/L1/cust0: split between IRAM and XIP code
 Michael Spacefalcon <msokolov@ivan.Harhan.ORG> parents: 
528diff
changeset | 20 | 
| 
9dd6ca16f13d
gsm-fw/L1/cust0: split between IRAM and XIP code
 Michael Spacefalcon <msokolov@ivan.Harhan.ORG> parents: 
528diff
changeset | 21 xipcode.o: ${XOBJS} | 
| 
9dd6ca16f13d
gsm-fw/L1/cust0: split between IRAM and XIP code
 Michael Spacefalcon <msokolov@ivan.Harhan.ORG> parents: 
528diff
changeset | 22 ${LD} -r -o $@ ${XOBJS} | 
| 520 
ed6071292a5c
L1: first C module compiles: ind_os.c
 Michael Spacefalcon <msokolov@ivan.Harhan.ORG> parents: diff
changeset | 23 | 
| 
ed6071292a5c
L1: first C module compiles: ind_os.c
 Michael Spacefalcon <msokolov@ivan.Harhan.ORG> parents: diff
changeset | 24 clean: | 
| 
ed6071292a5c
L1: first C module compiles: ind_os.c
 Michael Spacefalcon <msokolov@ivan.Harhan.ORG> parents: diff
changeset | 25 rm -f *.[oa] *.out *errs | 
