FreeCalypso > hg > freecalypso-sw
comparison nuc-fw/bsp/Makefile @ 128:789a9a95533f
nuc-fw: more minor preparations for the big transition
author | Michael Spacefalcon <msokolov@ivan.Harhan.ORG> |
---|---|
date | Fri, 01 Nov 2013 01:31:39 +0000 |
parents | 1e41550feec5 |
children | 8b0793c67f9f |
comparison
equal
deleted
inserted
replaced
127:f4f0c8738dcb | 128:789a9a95533f |
---|---|
1 CC= arm-elf-gcc | 1 CC= arm-elf-gcc |
2 CFLAGS= -O2 -fno-builtin -mthumb-interwork | 2 CFLAGS= -O2 -fno-builtin -mthumb-interwork |
3 ASFLAGS=-mthumb-interwork | 3 ASFLAGS=-mthumb-interwork |
4 AR= arm-elf-ar | 4 LD= arm-elf-ld |
5 RANLIB= arm-elf-ranlib | |
6 | 5 |
7 IOBJS= niq32.o | 6 IOBJS= niq32.o |
8 | 7 |
9 XTOBJS= armio.o clkm.o init_target.o inth.o niq.o timer.o timer1.o timer2.o | 8 XTOBJS= armio.o clkm.o init_target.o inth.o niq.o timer.o timer1.o timer2.o |
10 | 9 |
11 XOBJS= ${XTOBJS} | 10 XOBJS= ${XTOBJS} |
12 AOBJS= ${IOBJS} | 11 AOBJS= ${IOBJS} |
13 | 12 |
14 HDRS= | 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 | 15 |
16 all: ${IOBJS} ${XOBJS} | 16 all: ${IOBJS} ${XOBJS} xipcode.o |
17 | 17 |
18 ${AOBJS}: ${HDRS} | 18 ${AOBJS}: ${HDRS} |
19 | 19 |
20 ${XTOBJS}: %.o : %.c ${HDRS} | 20 ${XTOBJS}: %.o : %.c ${HDRS} |
21 ${CC} ${CFLAGS} -mthumb -c $< | 21 ${CC} ${CFLAGS} -mthumb -c $< |
22 | 22 |
23 xipcode.o: ${XOBJS} | |
24 ${LD} -r -o $@ ${XOBJS} | |
25 | |
23 clean: | 26 clean: |
24 rm -f *.[oa] *errs | 27 rm -f *.[oa] *errs |