FreeCalypso > hg > freecalypso-sw
diff 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 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/gsm-fw/bsp/Makefile Tue Nov 12 05:35:48 2013 +0000 @@ -0,0 +1,27 @@ +CC= arm-elf-gcc +CFLAGS= -O2 -fno-builtin -mthumb-interwork +ASFLAGS=-mthumb-interwork +LD= arm-elf-ld + +IOBJS= niq32.o + +XTOBJS= armio.o clkm.o init_target.o inth.o niq.o timer.o timer1.o timer2.o + +XOBJS= ${XTOBJS} oldint.o +AOBJS= ${IOBJS} oldint.o + +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} xipcode.o + +${AOBJS}: ${HDRS} + +${XTOBJS}: %.o : %.c ${HDRS} + ${CC} ${CFLAGS} -mthumb -c $< + +xipcode.o: ${XOBJS} + ${LD} -r -o $@ ${XOBJS} + +clean: + rm -f *.[oa] *errs