diff options
author | Max <msuraev@sysmocom.de> | 2017-06-22 19:49:58 +0200 |
---|---|---|
committer | Max <msuraev@sysmocom.de> | 2017-08-18 18:08:31 +0000 |
commit | b78fc1eeee3b8d3a5e7b00e0f8bd89a844123c26 (patch) | |
tree | f74d013ee9e52a9a6ff43fde1efdb63142a865df /contrib/jenkins_oct_and_bts_trx.sh | |
parent | 69ec4a419edee4f00a104c59a78b530eaf85382a (diff) |
Simplify jenkins build scripts
* move duplicated code into separate functions in jenkins_common.sh
* use that function in individual builds
Change-Id: I4d09c5f2693b5ac0a4d8f2c840971e13d1ec58cf
Diffstat (limited to 'contrib/jenkins_oct_and_bts_trx.sh')
-rwxr-xr-x | contrib/jenkins_oct_and_bts_trx.sh | 21 |
1 files changed, 2 insertions, 19 deletions
diff --git a/contrib/jenkins_oct_and_bts_trx.sh b/contrib/jenkins_oct_and_bts_trx.sh index c23009d1..964fb94f 100755 --- a/contrib/jenkins_oct_and_bts_trx.sh +++ b/contrib/jenkins_oct_and_bts_trx.sh @@ -18,28 +18,11 @@ osmo-deps.sh osmo-pcu osmo-layer1-headers.sh oct "$FIRMWARE_VERSION" -cd "$base" - -set +x -echo -echo -echo -echo " =============================== osmo-bts-octphy+trx ===============================" -echo -set -x - -autoreconf --install --force configure_flags="\ - --with-openbsc=$deps/openbsc/openbsc/include \ --with-osmo-pcu=$deps/osmo-pcu/include \ --with-octsdr-2g=$deps/layer1-headers/ \ --enable-octphy \ --enable-trx \ " -./configure $configure_flags -$MAKE $PARALLEL_MAKE -$MAKE check \ - || cat-testlogs.sh -DISTCHECK_CONFIGURE_FLAGS="$configure_flags" \ - $MAKE distcheck \ - || cat-testlogs.sh + +build_bts "osmo-bts-octphy+trx" "$configure_flags" |