FreeCalypso > hg > freecalypso-sw
annotate gsm-fw/services/etm/Makefile @ 571:8d6062f4e7e4
L1: l1_small.c reworked for FreeCalypso
author | Michael Spacefalcon <msokolov@ivan.Harhan.ORG> |
---|---|
date | Sun, 10 Aug 2014 19:51:26 +0000 |
parents | 13af69b6a3dc |
children |
rev | line source |
---|---|
165
9dbf3248a197
starting to compile ETM
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1 CC= arm-elf-gcc |
9dbf3248a197
starting to compile ETM
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
2 CFLAGS= -O2 -fno-builtin -mthumb-interwork -mthumb |
9dbf3248a197
starting to compile ETM
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
3 LD= arm-elf-ld |
9dbf3248a197
starting to compile ETM
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
4 |
166
13af69b6a3dc
ETM core compiles
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
165
diff
changeset
|
5 OBJS= etm_api.o etm_env.o etm_task.o etm_tmcore.o etm_trace.o |
165
9dbf3248a197
starting to compile ETM
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
6 |
9dbf3248a197
starting to compile ETM
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
7 HDRS= etm.h etm_api.h etm_at.h etm_audio_err.h etm_config.h etm_env.h \ |
9dbf3248a197
starting to compile ETM
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
8 etm_messages_i.h etm_misc.h etm_pool_size.h etm_trace.h etm_version.h |
9dbf3248a197
starting to compile ETM
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
9 |
9dbf3248a197
starting to compile ETM
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
10 all: xipcode.o |
9dbf3248a197
starting to compile ETM
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
11 |
9dbf3248a197
starting to compile ETM
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
12 ${OBJS}: ${HDRS} |
9dbf3248a197
starting to compile ETM
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
13 |
9dbf3248a197
starting to compile ETM
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
14 xipcode.o: ${OBJS} |
9dbf3248a197
starting to compile ETM
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
15 ${LD} -r -o $@ ${OBJS} |
9dbf3248a197
starting to compile ETM
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
16 |
9dbf3248a197
starting to compile ETM
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
17 clean: |
9dbf3248a197
starting to compile ETM
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
18 rm -f *.[oa] *errs |