diff 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
line wrap: on
line diff
--- a/gsm-fw/bsp/Makefile	Sun Nov 17 22:52:52 2013 +0000
+++ b/gsm-fw/bsp/Makefile	Mon Nov 18 00:08:43 2013 +0000
@@ -14,6 +14,7 @@
 	timer1.h timer2.h ulpd.h
 
 SUBDIR=	abb+spi rtc
+SUBDIR_XIPCODE=	abb+spi/xipcode.o rtc/xipcode.o
 
 all:	${IOBJS} ${XOBJS} ${SUBDIR} xipcode.o
 
@@ -23,7 +24,7 @@
 	${CC} ${CFLAGS} -mthumb -c $<
 
 xipcode.o:	${XOBJS} ${SUBDIR}
-	${LD} -r -o $@ ${XOBJS} abb+spi/xipcode.o
+	${LD} -r -o $@ ${XOBJS} ${SUBDIR_XIPCODE}
 
 ${SUBDIR}: FRC
 	cd $@; ${MAKE} ${MFLAGS}