diff options
author | Max <msuraev@sysmocom.de> | 2017-06-21 14:20:03 +0200 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2017-06-21 20:25:28 +0000 |
commit | d4806db1e59a9e205e323a3fe5aa8a39379ee13d (patch) | |
tree | 80d284a741a2c8af74bf90b9935b18dd51f4b32b /contrib/jenkins_oct_and_bts_trx.sh | |
parent | 71ad40c647c09e232e94eb4b2accd68db441d95a (diff) |
Use generic L1 headers helper
Change-Id: I2253df3509595d7393ec6631ef846dbebae73ca4
Diffstat (limited to 'contrib/jenkins_oct_and_bts_trx.sh')
-rwxr-xr-x | contrib/jenkins_oct_and_bts_trx.sh | 15 |
1 files changed, 2 insertions, 13 deletions
diff --git a/contrib/jenkins_oct_and_bts_trx.sh b/contrib/jenkins_oct_and_bts_trx.sh index 132c2e0d..a8a8004b 100755 --- a/contrib/jenkins_oct_and_bts_trx.sh +++ b/contrib/jenkins_oct_and_bts_trx.sh @@ -15,18 +15,7 @@ cd "$deps" # Get osmo-pcu for pcuif_proto.h osmo-deps.sh osmo-pcu -if ! test -d layer1-api; -then - git clone git://git.osmocom.org/octphy-2g-headers layer1-api -fi -cd layer1-api -git fetch origin -if [ $FIRMWARE_VERSION = "master" ]; -then -git reset --hard origin/master -else -git reset --hard $FIRMWARE_VERSION -fi +osmo-layer1-headers.sh oct "$FIRMWARE_VERSION" cd "$base" @@ -42,7 +31,7 @@ autoreconf --install --force configure_flags="\ --with-openbsc=$deps/openbsc/openbsc/include \ --with-osmo-pcu=$deps/osmo-pcu/include \ - --with-octsdr-2g=$deps/layer1-api/ \ + --with-octsdr-2g=$deps/layer1-headers/ \ --enable-octphy \ --enable-trx \ " |