view gpf/conf/Makefile @ 32:b76c78b62e5e

g23m-gsm/alr/alr_dedi.c: same KC_STRING_SIZE fix as in Magnetite
author Mychaela Falconia <falcon@freecalypso.org>
date Sat, 15 Oct 2016 04:07:40 +0000
parents 75a11d740a02
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