FreeCalypso > hg > freecalypso-sw
annotate gsm-fw/serial/Makefile @ 947:76149e0628ba
target-utils/Makefile: c139explore added
author | Mychaela Falconia <falcon@ivan.Harhan.ORG> |
---|---|
date | Mon, 02 Nov 2015 18:11:53 +0000 |
parents | fc713944bd1c |
children |
rev | line source |
---|---|
116
22c8199e08af
started integrating TI's serial code
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1 CC= arm-elf-gcc |
22c8199e08af
started integrating TI's serial code
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
2 CFLAGS= -O2 -fno-builtin -mthumb-interwork -mthumb |
117
e40d8661ecab
nuc-fw: low-level serial code should be complete
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
116
diff
changeset
|
3 LD= arm-elf-ld |
116
22c8199e08af
started integrating TI's serial code
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
4 |
852
fc713944bd1c
gsm-fw: uartfax.c included in the build with feature at-modem
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
143
diff
changeset
|
5 sinclude ../include/config.mk |
fc713944bd1c
gsm-fw: uartfax.c included in the build with feature at-modem
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
143
diff
changeset
|
6 |
136
3b5c3f3646fb
RV bring-up: lack of timer ticks fixed,
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
117
diff
changeset
|
7 OBJS= debug.o init.o serialswitch.o uart.o |
852
fc713944bd1c
gsm-fw: uartfax.c included in the build with feature at-modem
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
143
diff
changeset
|
8 ifeq (${CONFIG_FDMODEM},1) |
fc713944bd1c
gsm-fw: uartfax.c included in the build with feature at-modem
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
143
diff
changeset
|
9 OBJS+= uartfax.o |
fc713944bd1c
gsm-fw: uartfax.c included in the build with feature at-modem
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
143
diff
changeset
|
10 endif |
116
22c8199e08af
started integrating TI's serial code
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
11 |
22c8199e08af
started integrating TI's serial code
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
12 HDRS= faxdata.h serialswitch.h traceswitch.h uart.h uartfax.h |
22c8199e08af
started integrating TI's serial code
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
13 |
117
e40d8661ecab
nuc-fw: low-level serial code should be complete
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
116
diff
changeset
|
14 all: xipcode.o |
116
22c8199e08af
started integrating TI's serial code
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
15 |
22c8199e08af
started integrating TI's serial code
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
16 ${OBJS}: ${HDRS} |
22c8199e08af
started integrating TI's serial code
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
17 |
117
e40d8661ecab
nuc-fw: low-level serial code should be complete
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
116
diff
changeset
|
18 xipcode.o: ${OBJS} |
e40d8661ecab
nuc-fw: low-level serial code should be complete
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
116
diff
changeset
|
19 ${LD} -r -o $@ ${OBJS} |
e40d8661ecab
nuc-fw: low-level serial code should be complete
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
116
diff
changeset
|
20 |
116
22c8199e08af
started integrating TI's serial code
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
21 clean: |
22c8199e08af
started integrating TI's serial code
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
22 rm -f *.[oa] *errs |