contrib: Add scripts to build osmo-pcu

Change-Id: I90e7d2a79fb4ab7cc7fae5f3a1287a2e5bb748ab
This commit is contained in:
Pau Espin 2017-08-31 16:58:33 +02:00
parent c54c294df3
commit d3fce46f58
2 changed files with 29 additions and 0 deletions

View File

@ -0,0 +1,19 @@
#!/bin/sh
set -e -x
poky="/opt/poky/1.5.4"
. "$poky/environment-setup-armv5te-poky-linux-gnueabi"
# Cross-compilation: all installations need to be put in the sysmo SDK sysroot
export DESTDIR="$poky/sysroots/armv5te-poky-linux-gnueabi"
base="$PWD"
name="osmo-pcu-sysmo"
prefix="/usr/local/jenkins-build/inst-$name"
prefix_real="$DESTDIR$prefix"
. "$(dirname "$0")/jenkins-build-common.sh"
build_repo libosmocore --disable-pcsc --disable-doxygen
build_repo osmo-pcu --enable-sysmocom-dsp
create_bin_tgz

View File

@ -0,0 +1,10 @@
#!/bin/sh
set -e -x
base="$PWD"
name="osmo-pcu"
. "$(dirname "$0")/jenkins-build-common.sh"
build_repo libosmocore --disable-pcsc --disable-doxygen
build_repo osmo-pcu
create_bin_tgz