2017-04-08 13:56:31 +00:00
|
|
|
#!/bin/sh
|
2017-03-28 10:16:58 +00:00
|
|
|
set -e -x
|
|
|
|
|
2017-05-29 20:53:34 +00:00
|
|
|
poky="/opt/poky/1.5.4"
|
|
|
|
. "$poky/environment-setup-armv5te-poky-linux-gnueabi"
|
2017-03-28 10:16:58 +00:00
|
|
|
|
2017-04-08 13:56:31 +00:00
|
|
|
# Cross-compilation: all installations need to be put in the sysmo SDK sysroot
|
2017-05-29 20:53:34 +00:00
|
|
|
export DESTDIR="$poky/sysroots/armv5te-poky-linux-gnueabi"
|
2017-03-28 10:16:58 +00:00
|
|
|
|
2017-05-29 20:53:34 +00:00
|
|
|
base="$PWD"
|
|
|
|
name="osmo-bts-sysmo"
|
|
|
|
prefix="/usr/local/jenkins-build/inst-$name"
|
2017-03-28 10:16:58 +00:00
|
|
|
prefix_real="$DESTDIR$prefix"
|
2017-05-29 20:53:34 +00:00
|
|
|
. "$(dirname "$0")/jenkins-build-common.sh"
|
2017-05-24 16:10:52 +00:00
|
|
|
|
2017-05-29 20:53:34 +00:00
|
|
|
# for gsm_data_shared.h
|
|
|
|
have_repo openbsc
|
2017-03-28 10:16:58 +00:00
|
|
|
|
2017-07-06 15:14:46 +00:00
|
|
|
build_repo libosmocore --disable-pcsc --disable-doxygen
|
2017-05-29 20:53:34 +00:00
|
|
|
build_repo libosmo-abis
|
|
|
|
build_repo osmo-bts --enable-sysmocom-bts --with-openbsc=$base/openbsc/openbsc/include
|
2017-05-22 17:32:06 +00:00
|
|
|
|
2017-05-29 20:53:34 +00:00
|
|
|
create_bin_tgz
|