annotate gsm-fw/comlib/Makefile @ 992:a7b0b426f9ca

target-utils: boot ROM UART autodetection revamped The new implementation should work with both the familiar Calypso C035 boot ROM version found in our regular targets as well as the older Calypso F741979B version found on the vintage D-Sample board.
author Mychaela Falconia <falcon@ivan.Harhan.ORG>
date Wed, 30 Dec 2015 21:28:41 +0000
parents 39bacc7d5c49
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
665
39bacc7d5c49 gsm-fw: starting to compile comlib
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1 CC= arm-elf-gcc
39bacc7d5c49 gsm-fw: starting to compile comlib
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2 AR= arm-elf-ar
39bacc7d5c49 gsm-fw: starting to compile comlib
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
3 RANLIB= arm-elf-ranlib
39bacc7d5c49 gsm-fw: starting to compile comlib
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
4
39bacc7d5c49 gsm-fw: starting to compile comlib
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
5 CFLAGS= -O2 -fno-builtin -mthumb-interwork -mthumb
39bacc7d5c49 gsm-fw: starting to compile comlib
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
6 CPPFLAGS=-I../include -I../include/condat -I../gpf/inc -I../cdginc
39bacc7d5c49 gsm-fw: starting to compile comlib
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
7
39bacc7d5c49 gsm-fw: starting to compile comlib
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
8 OBJS= cl_des.o cl_imei.o cl_list.o cl_md5.o cl_ribu.o cl_rlcmac.o cl_shrd.o
39bacc7d5c49 gsm-fw: starting to compile comlib
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
9
39bacc7d5c49 gsm-fw: starting to compile comlib
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
10 all: comlib.a
39bacc7d5c49 gsm-fw: starting to compile comlib
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
11
39bacc7d5c49 gsm-fw: starting to compile comlib
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
12 comlib.a: ${OBJS}
39bacc7d5c49 gsm-fw: starting to compile comlib
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
13 ${AR} cru $@ ${OBJS}
39bacc7d5c49 gsm-fw: starting to compile comlib
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
14 ${RANLIB} $@
39bacc7d5c49 gsm-fw: starting to compile comlib
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
15
39bacc7d5c49 gsm-fw: starting to compile comlib
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
16 clean:
39bacc7d5c49 gsm-fw: starting to compile comlib
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
17 rm -f *.[oa] *errs