DD2-monitor/build.sh

39 lines
607 B
Bash
Raw Normal View History

2019-05-21 22:44:38 +11:00
#!/bin/bash
# ------------------------------------------------------------------
function build
{
echo ============= $1 ==============
2019-05-22 18:50:25 +11:00
curdir=${PWD}
2019-05-21 22:44:38 +11:00
cd $1
make t
error=$?
2019-05-22 18:50:25 +11:00
cd ${curdir}
if [ ${error} -ne 0 ]
then
echo === error on $1 = ${error}
exit
fi
2019-05-21 22:44:38 +11:00
}
# ------------------------------------------------------------------
2019-05-22 18:50:25 +11:00
#
# euh, il faut parfois tweaker l'ordre de ces modules
#
modules=" core serial viz/curses ui audio storage "
2019-05-21 22:44:38 +11:00
2019-05-22 18:50:25 +11:00
for mod in ${modules}
do
build $mod
done
2019-05-21 22:44:38 +11:00
2019-05-22 18:50:25 +11:00
echo +++++++++++++++++++++++++++++++++++
2019-05-21 22:44:38 +11:00
make essai
# ------------------------------------------------------------------