485
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1 CC= arm-elf-gcc
|
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
2 CFLAGS= -O2 -fno-builtin -mthumb-interwork -mthumb
|
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
3 CPPFLAGS=-I../inc
|
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
4 LD= arm-elf-ld
|
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
5
|
488
e8ed76bbf556
gsm-fw/gpf/conf: bare{comp.c,const.h} configuration created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
diff
changeset
|
6 CONFIG_MODULE= barecomp
|
e8ed76bbf556
gsm-fw/gpf/conf: bare{comp.c,const.h} configuration created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
diff
changeset
|
7
|
e8ed76bbf556
gsm-fw/gpf/conf: bare{comp.c,const.h} configuration created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
diff
changeset
|
8 OBJS= gpf_misc_init.o gpf_tst_drv.o ${CONFIG_MODULE}.o
|
485
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
9
|
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
10 all: xipcode.o
|
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
11
|
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
12 xipcode.o: ${OBJS}
|
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
13 ${LD} -r -o $@ ${OBJS}
|
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
14
|
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
15 clean:
|
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
16 rm -f *.[oa] *errs
|