FreeCalypso > hg > freecalypso-sw
diff 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 |
line wrap: on
line diff
--- a/nuc-fw/bsp/Makefile Thu Oct 31 23:08:59 2013 +0000 +++ b/nuc-fw/bsp/Makefile Fri Nov 01 01:31:39 2013 +0000 @@ -1,8 +1,7 @@ CC= arm-elf-gcc CFLAGS= -O2 -fno-builtin -mthumb-interwork ASFLAGS=-mthumb-interwork -AR= arm-elf-ar -RANLIB= arm-elf-ranlib +LD= arm-elf-ld IOBJS= niq32.o @@ -11,14 +10,18 @@ XOBJS= ${XTOBJS} AOBJS= ${IOBJS} -HDRS= +HDRS= armio.h clkm.h dma.h inth.h iq.h mem.h rhea_arm.h sim.h timer.h \ + timer1.h timer2.h ulpd.h -all: ${IOBJS} ${XOBJS} +all: ${IOBJS} ${XOBJS} xipcode.o ${AOBJS}: ${HDRS} ${XTOBJS}: %.o : %.c ${HDRS} ${CC} ${CFLAGS} -mthumb -c $< +xipcode.o: ${XOBJS} + ${LD} -r -o $@ ${XOBJS} + clean: rm -f *.[oa] *errs