FreeCalypso > hg > freecalypso-sw
changeset 155:3be2bc80ad38
gsm-fw/bsp/Makefile: abb+spi hooked into the build
author | Michael Spacefalcon <msokolov@ivan.Harhan.ORG> |
---|---|
date | Sun, 17 Nov 2013 06:08:47 +0000 |
parents | 47754cdb6248 |
children | eba29cb0526c |
files | gsm-fw/bsp/Makefile |
diffstat | 1 files changed, 12 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/gsm-fw/bsp/Makefile Sun Nov 17 05:53:10 2013 +0000 +++ b/gsm-fw/bsp/Makefile Sun Nov 17 06:08:47 2013 +0000 @@ -13,15 +13,23 @@ 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 +SUBDIR= abb+spi + +all: ${IOBJS} ${XOBJS} ${SUBDIR} xipcode.o ${AOBJS}: ${HDRS} ${XTOBJS}: %.o : %.c ${HDRS} ${CC} ${CFLAGS} -mthumb -c $< -xipcode.o: ${XOBJS} - ${LD} -r -o $@ ${XOBJS} +xipcode.o: ${XOBJS} ${SUBDIR} + ${LD} -r -o $@ ${XOBJS} abb+spi/xipcode.o + +${SUBDIR}: FRC + cd $@; ${MAKE} ${MFLAGS} clean: - rm -f *.[oa] *errs + rm -f *.[oa] *.out *errs + for i in ${SUBDIR}; do (cd $$i; ${MAKE} ${MFLAGS} clean); done + +FRC: