diff options
Diffstat (limited to 'contrib/jenkins_oct.sh')
-rwxr-xr-x | contrib/jenkins_oct.sh | 19 |
1 files changed, 3 insertions, 16 deletions
diff --git a/contrib/jenkins_oct.sh b/contrib/jenkins_oct.sh index 0f926c96..6ad53586 100755 --- a/contrib/jenkins_oct.sh +++ b/contrib/jenkins_oct.sh @@ -11,20 +11,7 @@ export LD_LIBRARY_PATH="$inst/lib" osmo-build-dep.sh libosmo-abis cd "$deps" -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" set +x @@ -36,10 +23,10 @@ echo set -x autoreconf --install --force -./configure --with-openbsc="$deps/openbsc/openbsc/include" --with-octsdr-2g="$deps/layer1-api/" --enable-octphy +./configure --with-openbsc="$deps/openbsc/openbsc/include" --with-octsdr-2g="$deps/layer1-headers/" --enable-octphy $MAKE $PARALLEL_MAKE $MAKE check \ || cat-testlogs.sh -DISTCHECK_CONFIGURE_FLAGS="--with-octsdr-2g=$deps/layer1-api/ --with-openbsc=$deps/openbsc/openbsc/include --enable-octphy" \ +DISTCHECK_CONFIGURE_FLAGS="--with-octsdr-2g=$deps/layer1-headers/ --with-openbsc=$deps/openbsc/openbsc/include --enable-octphy" \ $MAKE distcheck \ || cat-testlogs.sh |