jenkins-build-srslte.sh: allow custom binaries

this allows to specify the environmental var
wanted_binaries_bin that will be included in the
trial package. if the variable isn't set, all three
main srsLTE binaries are included

Change-Id: I63f5799328435ce32b5bfd6dae6fd0b37e1e5397
This commit is contained in:
Andre Puschmann 2020-12-04 15:04:09 +01:00
parent d95d494fcc
commit 4cd6f14be2
1 changed files with 5 additions and 1 deletions

View File

@ -1,6 +1,10 @@
#!/bin/sh
set -e -x
if [ -z "$trial_binaries" ]; then
trial_binaries="srsue srsenb srsepc"
fi
base="$PWD"
name="srslte"
git_url="${git_url:-https://github.com/srsLTE}"
@ -10,4 +14,4 @@ project_name="${project_name:-srsLTE}"
#TODO: make sure libconfig, zeroMQ is installed
build_repo $project_name $configure_opts
create_bin_tgz "srsue srsenb srsepc"
create_bin_tgz "$trial_binaries"