annotate gsm-fw/L1/cust0/Makefile @ 661:c36fe9d1da7e

gsm-fw/ccd/README: added paragraph explaining how ccddata depends on cdginc
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Fri, 26 Sep 2014 00:49:59 +0000
parents 2dccd2b4e5a2
children 452a4aea3fc5
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
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: 522
diff 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: 527
diff 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: 528
diff 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: 528
diff 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: 528
diff changeset
9
9dd6ca16f13d gsm-fw/L1/cust0: split between IRAM and XIP code
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 528
diff 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: 528
diff changeset
11
9dd6ca16f13d gsm-fw/L1/cust0: split between IRAM and XIP code
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 528
diff 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: 528
diff 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: 528
diff 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: 542
diff 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: 528
diff changeset
17
9dd6ca16f13d gsm-fw/L1/cust0: split between IRAM and XIP code
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 528
diff changeset
18 iramcode.o: ${IOBJS}
9dd6ca16f13d gsm-fw/L1/cust0: split between IRAM and XIP code
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 528
diff changeset
19 ${LD} -r -o $@ ${IOBJS}
9dd6ca16f13d gsm-fw/L1/cust0: split between IRAM and XIP code
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 528
diff changeset
20
9dd6ca16f13d gsm-fw/L1/cust0: split between IRAM and XIP code
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 528
diff changeset
21 xipcode.o: ${XOBJS}
9dd6ca16f13d gsm-fw/L1/cust0: split between IRAM and XIP code
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 528
diff 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