diff gsm-fw/bsp/Makefile @ 597:8be182dd9218

gsm-fw: INT_{Dis,En}ableIRQ() functions implemented (needed by L1 code)
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Sun, 17 Aug 2014 07:15:12 +0000
parents 98be4841eeb7
children 1199cdf99c32
line wrap: on
line diff
--- a/gsm-fw/bsp/Makefile	Sun Aug 17 06:58:27 2014 +0000
+++ b/gsm-fw/bsp/Makefile	Sun Aug 17 07:15:12 2014 +0000
@@ -3,7 +3,7 @@
 ASFLAGS=-mthumb-interwork
 LD=	arm-elf-ld
 
-IOBJS=	niq32.o
+IOBJS=	irq_twiddle.o niq32.o
 
 XTOBJS=	armio.o clkm.o init_target.o inth.o niq.o timer.o timer1.o timer2.o
 
@@ -16,13 +16,16 @@
 SUBDIR=	abb+spi rtc
 SUBDIR_XIPCODE=	abb+spi/xipcode.o rtc/xipcode.o
 
-all:	${IOBJS} ${XOBJS} ${SUBDIR} xipcode.o
+all:	${IOBJS} ${XOBJS} ${SUBDIR} iramcode.o xipcode.o
 
 ${AOBJS}:	${HDRS}
 
 ${XTOBJS}:	%.o : %.c ${HDRS}
 	${CC} ${CFLAGS} -mthumb -c $<
 
+iramcode.o:	${IOBJS}
+	${LD} -r -o $@ ${IOBJS}
+
 xipcode.o:	${XOBJS} ${SUBDIR}
 	${LD} -r -o $@ ${XOBJS} ${SUBDIR_XIPCODE}