diff gsm-fw/L1/cust0/Makefile @ 893:fa119e49673b

gsm-fw/L1/cust0/Makefile: compile pirelli.c XIP module with -mthumb
author Space Falcon <falcon@ivan.Harhan.ORG>
date Mon, 29 Jun 2015 23:00:49 +0000
parents 452a4aea3fc5
children
line wrap: on
line diff
--- a/gsm-fw/L1/cust0/Makefile	Mon Jun 29 22:57:27 2015 +0000
+++ b/gsm-fw/L1/cust0/Makefile	Mon Jun 29 23:00:49 2015 +0000
@@ -21,6 +21,11 @@
 l1_cust_xip.o:	l1_cust.c
 	${CC} ${CFLAGS} ${CPPFLAGS} -DRUN_FLASH -mthumb -c -o $@ $<
 
+ifeq (${CONFIG_TARGET_PIRELLI},1)
+pirelli.o:	pirelli.c
+	${CC} ${CFLAGS} ${CPPFLAGS} -mthumb -c $<
+endif
+
 iramcode.o:	${IOBJS}
 	${LD} -r -o $@ ${IOBJS}