mirror of https://gerrit.osmocom.org/simtrace2
contrib/jenkins.sh : build and publish combined targets
This makes production a bit easier. Related: OS#5722 Change-Id: I32f9a0213aaefa50232a3d8dc2e7a4f2f44dbae1
This commit is contained in:
parent
0c8cb51849
commit
773d314142
|
@ -27,20 +27,37 @@ verify_value_string_arrays_are_terminated.py $(find . -name "*.[hc]")
|
||||||
export PKG_CONFIG_PATH="$inst/lib/pkgconfig:$PKG_CONFIG_PATH"
|
export PKG_CONFIG_PATH="$inst/lib/pkgconfig:$PKG_CONFIG_PATH"
|
||||||
export LD_LIBRARY_PATH="$inst/lib"
|
export LD_LIBRARY_PATH="$inst/lib"
|
||||||
|
|
||||||
BUILDS=""
|
# dfu target MUST be built first, the combined targets need a bl that can be combined..
|
||||||
BUILDS+="simtrace/dfu simtrace/blupdate simtrace/trace simtrace/cardem "
|
BUILDS="simtrace/dfu qmod/dfu owhw/dfu ngff_cardem/dfu "
|
||||||
BUILDS+="qmod/dfu qmod/blupdate qmod/cardem "
|
#
|
||||||
BUILDS+="owhw/dfu owhw/blupdate owhw/cardem "
|
BUILDS+="simtrace/blupdate qmod/blupdate owhw/blupdate ngff_cardem/blupdate "
|
||||||
BUILDS+="octsimtest/cardem "
|
BUILDS+="simtrace/cardem qmod/cardem owhw/cardem octsimtest/cardem ngff_cardem/cardem "
|
||||||
BUILDS+="ngff_cardem/dfu ngff_cardem/blupdate ngff_cardem/cardem ngff_cardem/trace "
|
BUILDS+="simtrace/trace ngff_cardem/trace "
|
||||||
|
|
||||||
cd $TOPDIR/firmware
|
cd $TOPDIR/firmware
|
||||||
for build in $BUILDS; do
|
for build in $BUILDS; do
|
||||||
board=`echo $build | cut -d "/" -f 1`
|
board=`echo $build | cut -d "/" -f 1`
|
||||||
app=`echo $build | cut -d "/" -f 2`
|
app=`echo $build | cut -d "/" -f 2`
|
||||||
|
case "$build" in
|
||||||
|
"owhw/cardem")
|
||||||
|
comb="combined"
|
||||||
|
;;
|
||||||
|
"qmod/cardem")
|
||||||
|
comb="combined"
|
||||||
|
;;
|
||||||
|
"ngff_cardem/cardem")
|
||||||
|
comb="combined"
|
||||||
|
;;
|
||||||
|
"simtrace/trace")
|
||||||
|
comb="combined"
|
||||||
|
;;
|
||||||
|
*)
|
||||||
|
comb=""
|
||||||
|
;;
|
||||||
|
esac
|
||||||
echo
|
echo
|
||||||
echo "=============== $board / $app START =============="
|
echo "=============== $board / $app START =============="
|
||||||
PATH="/opt/llvm-arm/bin:$PATH" make USE_CLANG=1 BOARD="$board" APP="$app"
|
PATH="/opt/llvm-arm/bin:$PATH" make USE_CLANG=1 BOARD="$board" APP="$app" $comb
|
||||||
echo "=============== $board / $app RES:$? =============="
|
echo "=============== $board / $app RES:$? =============="
|
||||||
done
|
done
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue