diff gsm-fw/L1/cust0/Makefile @ 890:452a4aea3fc5

gsm-fw: implemented reading of Pirelli's factory calibration records
author Space Falcon <falcon@ivan.Harhan.ORG>
date Mon, 29 Jun 2015 21:45:23 +0000
parents 2dccd2b4e5a2
children fa119e49673b
line wrap: on
line diff
--- a/gsm-fw/L1/cust0/Makefile	Sun Jun 28 16:52:06 2015 +0000
+++ b/gsm-fw/L1/cust0/Makefile	Mon Jun 29 21:45:23 2015 +0000
@@ -4,9 +4,15 @@
 CFLAGS=	-O2 -fno-builtin -mthumb-interwork
 LD=	arm-elf-ld
 
+sinclude ../../include/config.mk
+
 IOBJS=	ind_os.o l1_cust_iram.o
 XOBJS=	l1_cust_xip.o l1_rf12.o
 
+ifeq (${CONFIG_TARGET_PIRELLI},1)
+XOBJS+=	pirelli.o
+endif
+
 all:	iramcode.o xipcode.o
 
 l1_cust_iram.o:	l1_cust.c