aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/jenkins_lc15.sh
diff options
context:
space:
mode:
authorMax <msuraev@sysmocom.de>2017-06-21 14:20:03 +0200
committerHarald Welte <laforge@gnumonks.org>2017-06-21 20:25:28 +0000
commitd4806db1e59a9e205e323a3fe5aa8a39379ee13d (patch)
tree80d284a741a2c8af74bf90b9935b18dd51f4b32b /contrib/jenkins_lc15.sh
parent71ad40c647c09e232e94eb4b2accd68db441d95a (diff)
Use generic L1 headers helper
Diffstat (limited to 'contrib/jenkins_lc15.sh')
-rw-r--r--contrib/jenkins_lc15.sh14
1 files changed, 3 insertions, 11 deletions
diff --git a/contrib/jenkins_lc15.sh b/contrib/jenkins_lc15.sh
index a0eef43a..c9173bfd 100644
--- a/contrib/jenkins_lc15.sh
+++ b/contrib/jenkins_lc15.sh
@@ -11,15 +11,7 @@ export LD_LIBRARY_PATH="$inst/lib"
osmo-build-dep.sh libosmo-abis
cd "$deps"
-if ! test -d litecell15-fw;
-then
- git clone https://gitlab.com/nrw_litecell15/litecell15-fw.git
-fi
-
-cd litecell15-fw
-git fetch origin
-git reset --hard origin/$FIRMWARE_VERSION
-
+osmo-layer1-headers.sh lc15 "$FIRMWARE_VERSION"
cd "$base"
set +x
@@ -31,7 +23,7 @@ echo
set -x
autoreconf --install --force
-./configure --with-openbsc="$deps/openbsc/openbsc/include" --with-litecell15="$deps/litecell15-fw/" --enable-litecell15
+./configure --with-openbsc="$deps/openbsc/openbsc/include" --with-litecell15="$deps/layer1-headers/" --enable-litecell15
$MAKE "$PARALLEL_MAKE"
$MAKE check || cat-testlogs.sh
-DISTCHECK_CONFIGURE_FLAGS="--with-litecell15=$deps/litecell15-fw/ --with-openbsc=$deps/openbsc/openbsc/include --enable-litecell15" $MAKE distcheck || cat-testlogs.sh
+DISTCHECK_CONFIGURE_FLAGS="--with-litecell15=$deps/layer1-headers/ --with-openbsc=$deps/openbsc/openbsc/include --enable-litecell15" $MAKE distcheck || cat-testlogs.sh