[MERGED] osmo-pcu[master]: lc15: use generic L1 headers helper

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

Harald Welte gerrit-no-reply at lists.osmocom.org
Thu Jun 22 06:27:36 UTC 2017


Harald Welte has submitted this change and it was merged.

Change subject: lc15: use generic L1 headers helper
......................................................................


lc15: use generic L1 headers helper

* use generic L1 headers helper for both sysmocom-dsp and lc15bts-phy
  options
* use sh instead of bash

Related: SYS#3683
Change-Id: I3dc621731f47650cbc15a5f17b9e899e9ed2770f
---
M contrib/jenkins.sh
1 file changed, 9 insertions(+), 7 deletions(-)

Approvals:
  Harald Welte: Looks good to me, approved
  Jenkins Builder: Verified



diff --git a/contrib/jenkins.sh b/contrib/jenkins.sh
index 8a96380..9c5c2e2 100755
--- a/contrib/jenkins.sh
+++ b/contrib/jenkins.sh
@@ -1,4 +1,4 @@
-#!/usr/bin/env bash
+#!/bin/sh
 
 set -ex
 
@@ -22,17 +22,19 @@
 
   # For direct sysmo DSP access, provide the SysmoBTS Layer 1 API
   cd "$deps"
-  if [ ! -d layer1-api ]; then
-    git clone git://git.sysmocom.de/sysmo-bts/layer1-api.git layer1-api
-  fi
-  cd layer1-api
-  git fetch origin
-  git reset --hard origin/master
+  osmo-layer1-headers.sh sysmo
+  cd layer1-headers
   api_incl="$inst/include/sysmocom/femtobts/"
   mkdir -p "$api_incl"
   cp include/*.h "$api_incl"
   cd "$base"
 
+elif [ "$with_dsp" = lc15 ]; then
+  PCU_CONFIG="$PCU_CONFIG --enable-lc15bts-phy --with-litecell15=$deps/layer1-headers/inc"
+  cd "$deps"
+  osmo-layer1-headers.sh lc15
+  cd "$base"
+
 elif [ -z "$with_dsp" -o "$with_dsp" = none ]; then
   echo "Direct DSP access disabled"
 else

-- 
To view, visit https://gerrit.osmocom.org/2970
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I3dc621731f47650cbc15a5f17b9e899e9ed2770f
Gerrit-PatchSet: 1
Gerrit-Project: osmo-pcu
Gerrit-Branch: master
Gerrit-Owner: Max <msuraev at sysmocom.de>
Gerrit-Reviewer: André Boddenberg <dr.blobb at gmail.com>
Gerrit-Reviewer: Harald Welte <laforge at gnumonks.org>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: neels <nhofmeyr at sysmocom.de>



More information about the gerrit-log mailing list