annotate gsm-fw/L1/dsp/Makefile @ 598:d42b83dee819

L1: DSP CPU load measurement appears to be possible only on DSP >= 38
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Sun, 17 Aug 2014 16:52:06 +0000
parents 25a3095e8a98
children ab20a5e9dbf3
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
586
25a3095e8a98 L1: dsp subdir added to the build
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1 CC= arm-elf-gcc
25a3095e8a98 L1: dsp subdir added to the build
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2 CFLAGS= -O2 -fno-builtin -mthumb-interwork -mthumb
25a3095e8a98 L1: dsp subdir added to the build
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
3 LD= arm-elf-ld
25a3095e8a98 L1: dsp subdir added to the build
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
4
25a3095e8a98 L1: dsp subdir added to the build
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
5 OBJS= leadapi.o leadboot.o
25a3095e8a98 L1: dsp subdir added to the build
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
6
25a3095e8a98 L1: dsp subdir added to the build
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
7 all: xipcode.o
25a3095e8a98 L1: dsp subdir added to the build
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
8
25a3095e8a98 L1: dsp subdir added to the build
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
9 xipcode.o: ${OBJS}
25a3095e8a98 L1: dsp subdir added to the build
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
10 ${LD} -r -o $@ ${OBJS}
25a3095e8a98 L1: dsp subdir added to the build
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
11
25a3095e8a98 L1: dsp subdir added to the build
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
12 clean:
25a3095e8a98 L1: dsp subdir added to the build
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
13 rm -f *.[oa] *.out *errs