Pau Espin Pedrol | bf90917 | 2019-02-21 18:44:05 +0100 | [diff] [blame] | 1 | #!/bin/sh |
| 2 | set -e -x |
| 3 | |
| 4 | _poky_version="$POKY_VERSION" |
| 5 | _poky_path="$POKY_PATH" |
| 6 | |
| 7 | [ -z "$_poky_version" ] && _poky_version="2.3.2" |
| 8 | [ -z "$_poky_path" ] && _poky_path="/opt/poky/$_poky_version" |
| 9 | |
| 10 | . "$_poky_path/environment-setup-armv5te-poky-linux-gnueabi" |
| 11 | |
| 12 | # Cross-compilation: all installations need to be put in the sysmo SDK sysroot |
| 13 | export DESTDIR="$_poky_path/sysroots/armv5te-poky-linux-gnueabi" |
| 14 | |
| 15 | base="$PWD" |
| 16 | name="osmo-pcu-oc2g" |
| 17 | prefix="/usr/local/jenkins-build/inst-$name" |
| 18 | prefix_real="$DESTDIR$prefix" |
| 19 | . "$(dirname "$0")/jenkins-build-common.sh" |
| 20 | |
| 21 | build_repo libosmocore --disable-pcsc --disable-doxygen --disable-gnutls |
| 22 | build_repo osmo-pcu --disable-sysmocom-dsp |
| 23 | |
| 24 | create_bin_tgz osmo-pcu |