#!/bin/sh

BUILD_DIR=build-test
TARGET=fcdev3b
CHIPSET=10
DSP=36
RF=12
L1_DYN_DSP_DWNLD=1
GPRS=1
SRVC=1
MEMSUPER=0

export BUILD_DIR TARGET CHIPSET DSP RF L1_DYN_DSP_DWNLD GPRS SRVC MEMSUPER

set -e

mkdir -p $BUILD_DIR
scripts/config-headers.sh
for i in `ls components`
do
	echo $i
	if [ $i != libsys_fl -a $i != libsys_ir -a $i != main_ir ]
	then
		scripts/mk-component.sh $i
	fi
done
