diff options
author | Max <msuraev@sysmocom.de> | 2018-01-15 16:43:22 +0100 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2018-01-17 11:17:43 +0000 |
commit | 186206cff295de9afb0d1beda72a4304ebaa1e17 (patch) | |
tree | 7786a123599452a2b881ab8c4bd11f2015b9454d /contrib | |
parent | 6298fbb7b2f3639fde994633e33ba54a64a6ef9b (diff) |
Allow specifying sysmocom headers explicitly
The headers for LC1.5 are specified explicitly. Add corresponding option
to specify sysmoBTS headers location and use it in jenkins build. While
at it, unify header fixup code with the one used in OsmoBTS.
Change-Id: I5248e8b389fd240b4d5a0bcf6c954d6115262462
Diffstat (limited to 'contrib')
-rwxr-xr-x | contrib/jenkins.sh | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/contrib/jenkins.sh b/contrib/jenkins.sh index b7cfc3d7..af25c691 100755 --- a/contrib/jenkins.sh +++ b/contrib/jenkins.sh @@ -26,15 +26,13 @@ mkdir "$deps" || true # Collect configure options for osmo-pcu PCU_CONFIG="" if [ "$with_dsp" = sysmo ]; then - PCU_CONFIG="$PCU_CONFIG --enable-sysmocom-dsp" + PCU_CONFIG="$PCU_CONFIG --enable-sysmocom-dsp --with-sysmobts=$inst/include/" # For direct sysmo DSP access, provide the SysmoBTS Layer 1 API cd "$deps" osmo-layer1-headers.sh sysmo - cd layer1-headers - api_incl="$inst/include/sysmocom/femtobts/" - mkdir -p "$api_incl" - cp include/*.h "$api_incl" + mkdir -p "$inst/include/sysmocom/femtobts" + ln -s $deps/layer1-headers/include/* "$inst/include/sysmocom/femtobts/" cd "$base" elif [ "$with_dsp" = lc15 ]; then |