comparison gsm-fw/bsp/Makefile @ 143:afceeeb2cba1

Our nuc-fw is destined to become gsm-fw, so I went ahead and did the big hg mv
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Tue, 12 Nov 2013 05:35:48 +0000
parents nuc-fw/bsp/Makefile@8b0793c67f9f
children 3be2bc80ad38
comparison
equal deleted inserted replaced
142:15d5977390c2 143:afceeeb2cba1
1 CC= arm-elf-gcc
2 CFLAGS= -O2 -fno-builtin -mthumb-interwork
3 ASFLAGS=-mthumb-interwork
4 LD= arm-elf-ld
5
6 IOBJS= niq32.o
7
8 XTOBJS= armio.o clkm.o init_target.o inth.o niq.o timer.o timer1.o timer2.o
9
10 XOBJS= ${XTOBJS} oldint.o
11 AOBJS= ${IOBJS} oldint.o
12
13 HDRS= armio.h clkm.h dma.h inth.h iq.h mem.h rhea_arm.h sim.h timer.h \
14 timer1.h timer2.h ulpd.h
15
16 all: ${IOBJS} ${XOBJS} xipcode.o
17
18 ${AOBJS}: ${HDRS}
19
20 ${XTOBJS}: %.o : %.c ${HDRS}
21 ${CC} ${CFLAGS} -mthumb -c $<
22
23 xipcode.o: ${XOBJS}
24 ${LD} -r -o $@ ${XOBJS}
25
26 clean:
27 rm -f *.[oa] *errs