# HG changeset patch
# User Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
# Date 1411640387 0
# Node ID 46e5c90fd0b89300e66746a0282aa045def1bd21
# Parent  e40935b81113933c1be18683596fbccb8e30b780
gsm-fw: ccd hooked into the build

diff -r e40935b81113 -r 46e5c90fd0b8 gsm-fw/cfgmagic/processconf.sh
--- a/gsm-fw/cfgmagic/processconf.sh	Thu Sep 25 10:12:21 2014 +0000
+++ b/gsm-fw/cfgmagic/processconf.sh	Thu Sep 25 10:19:47 2014 +0000
@@ -105,6 +105,10 @@
 
 BUILD_COMPONENTS="bsp nucleus riviera serial services sprintf sysglue"
 
+if [ "$CONFIG_INCLUDE_CCD" = 1 ]
+then
+	BUILD_COMPONENTS="$BUILD_COMPONENTS ccd"
+fi
 if [ "$CONFIG_INCLUDE_GPF" = 1 ]
 then
 	BUILD_COMPONENTS="$BUILD_COMPONENTS gpf"
diff -r e40935b81113 -r 46e5c90fd0b8 gsm-fw/finlink/Makefile
--- a/gsm-fw/finlink/Makefile	Thu Sep 25 10:12:21 2014 +0000
+++ b/gsm-fw/finlink/Makefile	Thu Sep 25 10:19:47 2014 +0000
@@ -16,6 +16,11 @@
 		../nucleus/libplus.iram.a ../sprintf/libsprintf.a
 LIB_DEPEND=	${BASE_LIBS}
 
+ifeq (${CONFIG_INCLUDE_CCD},1)
+LIB_LINK_ORDER+=../ccd/libccd.a
+LIB_DEPEND+=	../ccd/libccd.a
+endif
+
 ifeq (${CONFIG_INCLUDE_GPF},1)
 GPF_LIBS=	../gpf/libs/libgpf.xip.a ../gpf/libs/libgpf.iram.a
 LIB_LINK_ORDER+=	--start-group ${GPF_LIBS} --end-group
diff -r e40935b81113 -r 46e5c90fd0b8 gsm-fw/finlink/ld-script.src
--- a/gsm-fw/finlink/ld-script.src	Thu Sep 25 10:12:21 2014 +0000
+++ b/gsm-fw/finlink/ld-script.src	Thu Sep 25 10:19:47 2014 +0000
@@ -60,6 +60,7 @@
 		xipcode.o(.text*)
 		*libplus.xip.a:(.text*)
 		*libgpf.xip.a:(.text*)
+		*libccd.a:(.text*)
 		*librv.a:(.text*)
 		*libsprintf.a:(.text*)
 		/* let's put the ARM->Thumb veneers in the XIP section */
@@ -122,6 +123,7 @@
 		xipcode.o(.bss* COMMON)
 		*libplus.xip.a:(.bss* COMMON)
 		*libgpf.xip.a:(.bss* COMMON)
+		*libccd.a:(.bss* COMMON)
 		*librv.a:(.bss* COMMON)
 		*libsprintf.a:(.bss* COMMON)
 		. = ALIGN(4);