FreeCalypso > hg > fc-selenite
changeset 30:c8a4561ef581
scripts/test-{make,setup}.sh: component compilation test
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Mon, 16 Jul 2018 00:10:23 +0000 |
parents | 0c7ec2b7183d |
children | ab57d3585e18 |
files | scripts/test-make.sh scripts/test-setup.sh |
diffstat | 2 files changed, 34 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/scripts/test-make.sh Mon Jul 16 00:10:23 2018 +0000 @@ -0,0 +1,12 @@ +#!/bin/sh + +set -e + +for i in * +do + echo $i + if [ $i != config ] + then + (cd $i; make) + fi +done
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/scripts/test-setup.sh Mon Jul 16 00:10:23 2018 +0000 @@ -0,0 +1,22 @@ +#!/bin/sh + +BUILD_DIR=build-sb +TARGET=fcdev3b +CHIPSET=10 +DSP=36 +RF=12 +L1_DYN_DSP_DWNLD=1 +GPRS=1 +SRVC=1 + +export BUILD_DIR TARGET CHIPSET DSP RF L1_DYN_DSP_DWNLD GPRS SRVC + +set -e + +mkdir -p $BUILD_DIR +scripts/config-headers.sh +for i in `ls components` +do + echo $i + scripts/mk-component.sh $i +done