changeset 167:df335d255ac4

gsm-fw: services subdir hooked into the build
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Tue, 19 Nov 2013 05:26:02 +0000
parents 13af69b6a3dc
children 60afcd233b04
files gsm-fw/Makefile gsm-fw/cfgmagic/processconf.sh gsm-fw/services/Makefile
diffstat 3 files changed, 20 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/gsm-fw/Makefile	Tue Nov 19 05:07:24 2013 +0000
+++ b/gsm-fw/Makefile	Tue Nov 19 05:26:02 2013 +0000
@@ -1,4 +1,4 @@
-SUBDIR=	bsp finlink include nucleus riviera serial sprintf sysglue
+SUBDIR=	bsp finlink include nucleus riviera serial services sprintf sysglue
 
 default:	config.stamp
 	${MAKE} ${MFLAGS} -f Makefile.build $@
--- a/gsm-fw/cfgmagic/processconf.sh	Tue Nov 19 05:07:24 2013 +0000
+++ b/gsm-fw/cfgmagic/processconf.sh	Tue Nov 19 05:26:02 2013 +0000
@@ -44,13 +44,16 @@
 TR_BAUD_CONFIG=TR_BAUD_$RVTMUX_UART_baud
 export_to_c TR_BAUD_CONFIG
 
-# Once we get some actual functionality, the following definitions
-# will likely depend on the target and feature configuration,
-# but for now all we have is a Riviera skeleton.
+# At some point the list of build components will probably become
+# dependent on feature or maybe even target configurations, but for
+# now it is static.
 
-BUILD_COMPONENTS="bsp nucleus riviera serial sprintf sysglue"
+BUILD_COMPONENTS="bsp nucleus riviera serial services sprintf sysglue"
 export_to_mk BUILD_COMPONENTS
 
+# The support for building flashable images is not here yet,
+# so ramImage is all we can build for now.
+
 BUILD_DEFAULT_IMAGE=ramImage
 export_to_mk BUILD_DEFAULT_IMAGE
 
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/gsm-fw/services/Makefile	Tue Nov 19 05:26:02 2013 +0000
@@ -0,0 +1,12 @@
+SUBDIR=	etm
+
+all:	${SUBDIR}
+
+${SUBDIR}: FRC
+	cd $@; ${MAKE} ${MFLAGS}
+
+clean: FRC
+	rm -f *.[oa] *.out *errs
+	for i in ${SUBDIR}; do (cd $$i; ${MAKE} ${MFLAGS} clean); done
+
+FRC: