FreeCalypso > hg > freecalypso-sw
comparison gsm-fw/bsp/Makefile @ 161:98be4841eeb7
gsm-fw: RTC code hooked into the build
author | Michael Spacefalcon <msokolov@ivan.Harhan.ORG> |
---|---|
date | Mon, 18 Nov 2013 00:08:43 +0000 |
parents | dbfc9ff4e8d2 |
children | 8be182dd9218 |
comparison
equal
deleted
inserted
replaced
160:dbfc9ff4e8d2 | 161:98be4841eeb7 |
---|---|
12 | 12 |
13 HDRS= armio.h clkm.h dma.h inth.h iq.h mem.h rhea_arm.h sim.h timer.h \ | 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 | 14 timer1.h timer2.h ulpd.h |
15 | 15 |
16 SUBDIR= abb+spi rtc | 16 SUBDIR= abb+spi rtc |
17 SUBDIR_XIPCODE= abb+spi/xipcode.o rtc/xipcode.o | |
17 | 18 |
18 all: ${IOBJS} ${XOBJS} ${SUBDIR} xipcode.o | 19 all: ${IOBJS} ${XOBJS} ${SUBDIR} xipcode.o |
19 | 20 |
20 ${AOBJS}: ${HDRS} | 21 ${AOBJS}: ${HDRS} |
21 | 22 |
22 ${XTOBJS}: %.o : %.c ${HDRS} | 23 ${XTOBJS}: %.o : %.c ${HDRS} |
23 ${CC} ${CFLAGS} -mthumb -c $< | 24 ${CC} ${CFLAGS} -mthumb -c $< |
24 | 25 |
25 xipcode.o: ${XOBJS} ${SUBDIR} | 26 xipcode.o: ${XOBJS} ${SUBDIR} |
26 ${LD} -r -o $@ ${XOBJS} abb+spi/xipcode.o | 27 ${LD} -r -o $@ ${XOBJS} ${SUBDIR_XIPCODE} |
27 | 28 |
28 ${SUBDIR}: FRC | 29 ${SUBDIR}: FRC |
29 cd $@; ${MAKE} ${MFLAGS} | 30 cd $@; ${MAKE} ${MFLAGS} |
30 | 31 |
31 clean: | 32 clean: |