diff gsm-fw/L1/Makefile @ 620:d6f0892cdf1e

L1 standalone: final link passes with gsm-fw/L1/stand code included
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Sun, 31 Aug 2014 00:18:02 +0000
parents 13e55e310eea
children ab20a5e9dbf3
line wrap: on
line diff
--- a/gsm-fw/L1/Makefile	Sun Aug 31 00:13:01 2014 +0000
+++ b/gsm-fw/L1/Makefile	Sun Aug 31 00:18:02 2014 +0000
@@ -2,10 +2,16 @@
 
 SUBDIR=	audio_cfile cfile cust0 dsp stand tpudrv
 
+sinclude ../include/config.mk
+
 INT_PIECES=	cfile/iramcode.o cust0/iramcode.o tpudrv/iramcode.o
 EXT_PIECES=	audio_cfile/xipcode.o cfile/xipcode.o cust0/xipcode.o \
 		dsp/xipcode.o
 
+ifeq (${CONFIG_L1_STANDALONE},1)
+EXT_PIECES+=	stand/xipcode.o
+endif
+
 all:	iramcode.o xipcode.o
 
 ${SUBDIR}: FRC
@@ -23,6 +29,9 @@
 dsp/xipcode.o:	dsp
 	@true
 
+stand/xipcode.o:	stand
+	@true
+
 tpudrv/iramcode.o:	tpudrv
 	@true