comparison 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
comparison
equal deleted inserted replaced
596:a8121805b6d0 597:8be182dd9218
1 CC= arm-elf-gcc 1 CC= arm-elf-gcc
2 CFLAGS= -O2 -fno-builtin -mthumb-interwork 2 CFLAGS= -O2 -fno-builtin -mthumb-interwork
3 ASFLAGS=-mthumb-interwork 3 ASFLAGS=-mthumb-interwork
4 LD= arm-elf-ld 4 LD= arm-elf-ld
5 5
6 IOBJS= niq32.o 6 IOBJS= irq_twiddle.o niq32.o
7 7
8 XTOBJS= armio.o clkm.o init_target.o inth.o niq.o timer.o timer1.o timer2.o 8 XTOBJS= armio.o clkm.o init_target.o inth.o niq.o timer.o timer1.o timer2.o
9 9
10 XOBJS= ${XTOBJS} oldint.o 10 XOBJS= ${XTOBJS} oldint.o
11 AOBJS= ${IOBJS} oldint.o 11 AOBJS= ${IOBJS} oldint.o
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 SUBDIR_XIPCODE= abb+spi/xipcode.o rtc/xipcode.o
18 18
19 all: ${IOBJS} ${XOBJS} ${SUBDIR} xipcode.o 19 all: ${IOBJS} ${XOBJS} ${SUBDIR} iramcode.o xipcode.o
20 20
21 ${AOBJS}: ${HDRS} 21 ${AOBJS}: ${HDRS}
22 22
23 ${XTOBJS}: %.o : %.c ${HDRS} 23 ${XTOBJS}: %.o : %.c ${HDRS}
24 ${CC} ${CFLAGS} -mthumb -c $< 24 ${CC} ${CFLAGS} -mthumb -c $<
25
26 iramcode.o: ${IOBJS}
27 ${LD} -r -o $@ ${IOBJS}
25 28
26 xipcode.o: ${XOBJS} ${SUBDIR} 29 xipcode.o: ${XOBJS} ${SUBDIR}
27 ${LD} -r -o $@ ${XOBJS} ${SUBDIR_XIPCODE} 30 ${LD} -r -o $@ ${XOBJS} ${SUBDIR_XIPCODE}
28 31
29 ${SUBDIR}: FRC 32 ${SUBDIR}: FRC