aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/jenkins_oct_and_bts_trx.sh
blob: ead2f5677095e3643d698de5cee4f7f0f9ec1514 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#!/bin/sh
# jenkins build helper script for osmo-bts-octphy + osmo-bts-trx

# shellcheck source=contrib/jenkins_common.sh
. $(dirname "$0")/jenkins_common.sh

export PKG_CONFIG_PATH="$inst/lib/pkgconfig:$PKG_CONFIG_PATH"
export LD_LIBRARY_PATH="$inst/lib"

osmo-build-dep.sh libosmocore "" --disable-doxygen

osmo-build-dep.sh libosmo-abis

cd "$deps"

osmo-layer1-headers.sh oct "$FIRMWARE_VERSION"

configure_flags="\
  --enable-werror \
  --with-octsdr-2g=$deps/layer1-headers/ \
  --enable-octphy \
  --enable-trx \
  --enable-external-tests \
  "

build_bts "osmo-bts-octphy+trx" "$configure_flags"

osmo-clean-workspace.sh