view gsm-fw/sysglue/Makefile @ 693:59f088f893a5

cc_ffk.c compiles
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Tue, 30 Sep 2014 01:56:15 +0000
parents 7cf154cd3891
children
line wrap: on
line source

CC=	arm-elf-gcc
CFLAGS=	-Os -fno-builtin -mthumb-interwork -mthumb
ASFLAGS=-mthumb-interwork
LD=	arm-elf-ld

OBJS=	appinit.o exceptions.o irqfiq.o sysinit.o

all:	xipcode.o flashboot.o

flashboot.o:	flashboot.S vectors.S
sysinit.o:	sysinit.S vectors.S

xipcode.o:	${OBJS}
	${LD} -r -o $@ ${OBJS}

clean:
	rm -f *.[oa] *errs