FreeCalypso > hg > freecalypso-sw
annotate gsm-fw/gpf/conf/Makefile @ 1001:5e73df562a7d
loadtools/README: typo fix
author | Mychaela Falconia <falcon@ivan.Harhan.ORG> |
---|---|
date | Sun, 06 Mar 2016 22:07:18 +0000 |
parents | 86364a58aa6c |
children |
rev | line source |
---|---|
485
890ffca53a09
gsm-fw/gpf/conf: started
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1 CC= arm-elf-gcc |
890ffca53a09
gsm-fw/gpf/conf: started
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
2 CFLAGS= -O2 -fno-builtin -mthumb-interwork -mthumb |
890ffca53a09
gsm-fw/gpf/conf: started
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
3 CPPFLAGS=-I../inc |
890ffca53a09
gsm-fw/gpf/conf: started
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
4 LD= arm-elf-ld |
890ffca53a09
gsm-fw/gpf/conf: started
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
5 |
850
86364a58aa6c
gsm-fw: gsmcomp gpf configuration enabled for CONFIG_GSM
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
488
diff
changeset
|
6 sinclude ../../include/config.mk |
86364a58aa6c
gsm-fw: gsmcomp gpf configuration enabled for CONFIG_GSM
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
488
diff
changeset
|
7 |
86364a58aa6c
gsm-fw: gsmcomp gpf configuration enabled for CONFIG_GSM
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
488
diff
changeset
|
8 ifeq (${CONFIG_GSM},1) |
86364a58aa6c
gsm-fw: gsmcomp gpf configuration enabled for CONFIG_GSM
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
488
diff
changeset
|
9 CONFIG_MODULE= gsmcomp |
86364a58aa6c
gsm-fw: gsmcomp gpf configuration enabled for CONFIG_GSM
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
488
diff
changeset
|
10 else |
488
e8ed76bbf556
gsm-fw/gpf/conf: bare{comp.c,const.h} configuration created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
486
diff
changeset
|
11 CONFIG_MODULE= barecomp |
850
86364a58aa6c
gsm-fw: gsmcomp gpf configuration enabled for CONFIG_GSM
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
488
diff
changeset
|
12 endif |
488
e8ed76bbf556
gsm-fw/gpf/conf: bare{comp.c,const.h} configuration created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
486
diff
changeset
|
13 |
e8ed76bbf556
gsm-fw/gpf/conf: bare{comp.c,const.h} configuration created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
486
diff
changeset
|
14 OBJS= gpf_misc_init.o gpf_tst_drv.o ${CONFIG_MODULE}.o |
485
890ffca53a09
gsm-fw/gpf/conf: started
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
15 |
890ffca53a09
gsm-fw/gpf/conf: started
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
16 all: xipcode.o |
890ffca53a09
gsm-fw/gpf/conf: started
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
17 |
890ffca53a09
gsm-fw/gpf/conf: started
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
18 xipcode.o: ${OBJS} |
890ffca53a09
gsm-fw/gpf/conf: started
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
19 ${LD} -r -o $@ ${OBJS} |
890ffca53a09
gsm-fw/gpf/conf: started
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
20 |
890ffca53a09
gsm-fw/gpf/conf: started
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
21 clean: |
890ffca53a09
gsm-fw/gpf/conf: started
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
22 rm -f *.[oa] *errs |