view gpf/conf/Makefile @ 0:75a11d740a02

initial import of gsm-fw from freecalypso-sw rev 1033:5ab737ac3ad7
author Mychaela Falconia <falcon@freecalypso.org>
date Thu, 09 Jun 2016 00:02:41 +0000
parents
children
line wrap: on
line source

CC=	arm-elf-gcc
CFLAGS=	-O2 -fno-builtin -mthumb-interwork -mthumb
CPPFLAGS=-I../inc
LD=	arm-elf-ld

sinclude ../../include/config.mk

ifeq (${CONFIG_GSM},1)
CONFIG_MODULE=	gsmcomp
else
CONFIG_MODULE=	barecomp
endif

OBJS=	gpf_misc_init.o gpf_tst_drv.o ${CONFIG_MODULE}.o

all:	xipcode.o

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

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