FreeCalypso > hg > freecalypso-sw
annotate gsm-fw/L1/tpudrv/Makefile @ 825:f8eaff87563f
gsm-fw: replaced strtok() from newlib with 4.3BSD-Tahoe version
newlib version uses malloc which is not allowed
author | Space Falcon <falcon@ivan.Harhan.ORG> |
---|---|
date | Mon, 06 Apr 2015 00:24:07 +0000 |
parents | 083e71ff5603 |
children |
rev | line source |
---|---|
577
d70ebaea3003
L1: tpudrv.c compiles
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1 CC= arm-elf-gcc |
d70ebaea3003
L1: tpudrv.c compiles
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
2 CPPFLAGS=-I../../include -I../include -I../audio_include -I../audio_cust0 \ |
d70ebaea3003
L1: tpudrv.c compiles
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
3 -I../tm_include -I../tm_cust0 -I../cust0 |
d70ebaea3003
L1: tpudrv.c compiles
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
4 CFLAGS= -O2 -fno-builtin -mthumb-interwork |
d70ebaea3003
L1: tpudrv.c compiles
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
5 LD= arm-elf-ld |
d70ebaea3003
L1: tpudrv.c compiles
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
6 |
584
d42078e35ac9
tpudrv12.c compiles!
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
577
diff
changeset
|
7 OBJS= tpudrv.o tpudrv12.o |
577
d70ebaea3003
L1: tpudrv.c compiles
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
8 |
585
083e71ff5603
gsm-fw/L1/tpudrv/Makefile: build iramcode.o
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
584
diff
changeset
|
9 all: iramcode.o |
083e71ff5603
gsm-fw/L1/tpudrv/Makefile: build iramcode.o
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
584
diff
changeset
|
10 |
083e71ff5603
gsm-fw/L1/tpudrv/Makefile: build iramcode.o
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
584
diff
changeset
|
11 iramcode.o: ${OBJS} |
083e71ff5603
gsm-fw/L1/tpudrv/Makefile: build iramcode.o
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
584
diff
changeset
|
12 ${LD} -r -o $@ ${OBJS} |
577
d70ebaea3003
L1: tpudrv.c compiles
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
13 |
d70ebaea3003
L1: tpudrv.c compiles
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
14 clean: |
d70ebaea3003
L1: tpudrv.c compiles
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
15 rm -f *.[oa] *.out *errs |