# HG changeset patch
# User Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
# Date 1409444282 0
# Node ID d6f0892cdf1e41b4152f5c7c8632ec75d0237fe2
# Parent  10a1a99de746fb3cd2aa496a3e3abdff37ed84eb
L1 standalone: final link passes with gsm-fw/L1/stand code included

diff -r 10a1a99de746 -r d6f0892cdf1e gsm-fw/L1/Makefile
--- 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