2017-06-12 17:15:05 +00:00
|
|
|
#!/bin/sh
|
2017-07-10 12:54:24 +00:00
|
|
|
# jenkins build helper script for osmo-bts-octphy + osmo-bts-trx
|
2016-11-30 02:01:30 +00:00
|
|
|
|
2017-06-12 17:15:05 +00:00
|
|
|
# shellcheck source=contrib/jenkins_common.sh
|
|
|
|
. $(dirname "$0")/jenkins_common.sh
|
2016-11-30 02:01:30 +00:00
|
|
|
|
|
|
|
export PKG_CONFIG_PATH="$inst/lib/pkgconfig:$PKG_CONFIG_PATH"
|
|
|
|
export LD_LIBRARY_PATH="$inst/lib"
|
|
|
|
|
2017-12-14 15:02:29 +00:00
|
|
|
osmo-build-dep.sh libosmocore "" --disable-doxygen
|
2017-03-01 14:40:52 +00:00
|
|
|
|
2016-11-30 02:01:30 +00:00
|
|
|
osmo-build-dep.sh libosmo-abis
|
|
|
|
|
|
|
|
cd "$deps"
|
|
|
|
|
2017-06-21 12:20:03 +00:00
|
|
|
osmo-layer1-headers.sh oct "$FIRMWARE_VERSION"
|
2016-11-30 02:01:30 +00:00
|
|
|
|
|
|
|
configure_flags="\
|
2018-06-11 11:06:22 +00:00
|
|
|
--enable-werror \
|
2017-06-21 12:20:03 +00:00
|
|
|
--with-octsdr-2g=$deps/layer1-headers/ \
|
2016-11-30 02:01:30 +00:00
|
|
|
--enable-octphy \
|
|
|
|
--enable-trx \
|
2021-08-16 18:43:06 +00:00
|
|
|
--enable-external-tests \
|
2016-11-30 02:01:30 +00:00
|
|
|
"
|
2017-06-22 17:49:58 +00:00
|
|
|
|
|
|
|
build_bts "osmo-bts-octphy+trx" "$configure_flags"
|
2017-10-27 20:54:25 +00:00
|
|
|
|
|
|
|
osmo-clean-workspace.sh
|