FreeCalypso > hg > freecalypso-sw
annotate gsm-fw/g23m-gsm/dl/Makefile @ 828:a8d0bbba7886
build flashable images by default when PS is included and target has small RAM
author | Space Falcon <falcon@ivan.Harhan.ORG> |
---|---|
date | Mon, 06 Apr 2015 02:32:04 +0000 |
parents | c0d95c32a99a |
children |
rev | line source |
---|---|
702
900be07de4e8
dl_com.c compiles
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
674
diff
changeset
|
1 CC= arm-elf-gcc |
900be07de4e8
dl_com.c compiles
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
674
diff
changeset
|
2 LD= arm-elf-ld |
900be07de4e8
dl_com.c compiles
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
674
diff
changeset
|
3 |
900be07de4e8
dl_com.c compiles
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
674
diff
changeset
|
4 CFLAGS= -O2 -fno-builtin -mthumb-interwork -mthumb |
900be07de4e8
dl_com.c compiles
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
674
diff
changeset
|
5 CPPFLAGS=-I. -I../../include -I../../include/condat -I../../gpf/inc \ |
900be07de4e8
dl_com.c compiles
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
674
diff
changeset
|
6 -I../../cdginc |
900be07de4e8
dl_com.c compiles
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
674
diff
changeset
|
7 |
709
bf58458efda0
dl_sacch0.c compiles
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
708
diff
changeset
|
8 OBJS= dl_com.o dl_dcch0.o dl_dcch3.o dl_dph.o dl_drr.o dl_em.o dl_pei.o \ |
712
576c006d4b90
dl_trace.c compiles
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
711
diff
changeset
|
9 dl_sacch0.o dl_signal.o dl_state.o dl_trace.o |
702
900be07de4e8
dl_com.c compiles
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
674
diff
changeset
|
10 |
713
c0d95c32a99a
gsm-fw/g23m-gsm/dl/Makefile: link xipcode.o
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
712
diff
changeset
|
11 all: xipcode.o |
c0d95c32a99a
gsm-fw/g23m-gsm/dl/Makefile: link xipcode.o
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
712
diff
changeset
|
12 |
c0d95c32a99a
gsm-fw/g23m-gsm/dl/Makefile: link xipcode.o
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
712
diff
changeset
|
13 xipcode.o: ${OBJS} |
c0d95c32a99a
gsm-fw/g23m-gsm/dl/Makefile: link xipcode.o
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
712
diff
changeset
|
14 ${LD} -r -o $@ ${OBJS} |
674
5ec79b82ab04
gsm-fw/g23m-gsm: stub Makefile hierarchy created, hooked into make clean
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
15 |
5ec79b82ab04
gsm-fw/g23m-gsm: stub Makefile hierarchy created, hooked into make clean
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
16 clean: |
5ec79b82ab04
gsm-fw/g23m-gsm: stub Makefile hierarchy created, hooked into make clean
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
17 rm -f *.[oa] *.out *errs |