annotate gsm-fw/comlib/Makefile @ 828:a8d0bbba7886

build flashable images by default when PS is included and target has small RAM
author Space Falcon <falcon@ivan.Harhan.ORG>
date Mon, 06 Apr 2015 02:32:04 +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