FreeCalypso > hg > freecalypso-sw
view gsm-fw/bsp/Makefile @ 269:6e7410f7975c
gsm-fw feature pirhack-ffs: require explicit selection of sectors to be used
author | Michael Spacefalcon <msokolov@ivan.Harhan.ORG> |
---|---|
date | Thu, 06 Feb 2014 03:09:39 +0000 |
parents | 98be4841eeb7 |
children | 8be182dd9218 |
line wrap: on
line source
CC= arm-elf-gcc CFLAGS= -O2 -fno-builtin -mthumb-interwork ASFLAGS=-mthumb-interwork LD= arm-elf-ld IOBJS= niq32.o XTOBJS= armio.o clkm.o init_target.o inth.o niq.o timer.o timer1.o timer2.o XOBJS= ${XTOBJS} oldint.o AOBJS= ${IOBJS} oldint.o 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 SUBDIR= abb+spi rtc SUBDIR_XIPCODE= abb+spi/xipcode.o rtc/xipcode.o all: ${IOBJS} ${XOBJS} ${SUBDIR} xipcode.o ${AOBJS}: ${HDRS} ${XTOBJS}: %.o : %.c ${HDRS} ${CC} ${CFLAGS} -mthumb -c $< xipcode.o: ${XOBJS} ${SUBDIR} ${LD} -r -o $@ ${XOBJS} ${SUBDIR_XIPCODE} ${SUBDIR}: FRC cd $@; ${MAKE} ${MFLAGS} clean: rm -f *.[oa] *.out *errs for i in ${SUBDIR}; do (cd $$i; ${MAKE} ${MFLAGS} clean); done FRC: