blob: 2ed3426e87e4550965306405c006fb75a4638358 [file] [log] [blame]
Pau Espin Pedrold3fce462017-08-31 16:58:33 +02001#!/bin/sh
2set -e -x
3
Alexander Couzens9695a1c2018-03-06 14:31:26 +01004_poky_version="$POKY_VERSION"
5_poky_path="$POKY_PATH"
6
7[ -z "$_poky_version" ] && _poky_version="1.5.4"
8[ -z "$_poky_path" ] && _poky_path="/opt/poky/$_poky_version"
9
10. "$_poky_path/environment-setup-armv5te-poky-linux-gnueabi"
Pau Espin Pedrold3fce462017-08-31 16:58:33 +020011
12# Cross-compilation: all installations need to be put in the sysmo SDK sysroot
Alexander Couzens9695a1c2018-03-06 14:31:26 +010013export DESTDIR="$_poky_path/sysroots/armv5te-poky-linux-gnueabi"
Pau Espin Pedrold3fce462017-08-31 16:58:33 +020014
15base="$PWD"
16name="osmo-pcu-sysmo"
17prefix="/usr/local/jenkins-build/inst-$name"
18prefix_real="$DESTDIR$prefix"
19. "$(dirname "$0")/jenkins-build-common.sh"
20
Pau Espin Pedrol37d38f02017-11-06 15:39:16 +010021build_repo libosmocore --disable-pcsc --disable-doxygen --disable-gnutls
Pau Espin Pedrold3fce462017-08-31 16:58:33 +020022build_repo osmo-pcu --enable-sysmocom-dsp
23
Neels Hofmeyr1921c0f2017-09-04 16:34:18 +020024create_bin_tgz osmo-pcu