contrib: Use proper SDK for OC2G builds

Binaries produced by sysmobts SDK are not compatible with OC2G.

Change-Id: I5adde9cf8a5f84cfc4b6fc4d4def3836444929ec
This commit is contained in:
Pau Espin 2019-03-04 20:27:24 +01:00
parent c02b96e77b
commit 8369cc321b
2 changed files with 12 additions and 12 deletions

View File

@ -1,16 +1,16 @@
#!/bin/sh
set -e -x
_poky_version="$POKY_VERSION"
_poky_path="$POKY_PATH"
_poky_version="$POKY_OC2G_VERSION"
_poky_path="$POKY_OC2G_PATH"
[ -z "$_poky_version" ] && _poky_version="2.3.2"
[ -z "$_poky_path" ] && _poky_path="/opt/poky/$_poky_version"
[ -z "$_poky_version" ] && _poky_version="2.3.4"
[ -z "$_poky_path" ] && _poky_path="/opt/poky-oc2g/$_poky_version"
. "$_poky_path/environment-setup-armv5te-poky-linux-gnueabi"
. "$_poky_path/environment-setup-cortexa15hf-neon-poky-linux-gnueabi"
# Cross-compilation: all installations need to be put in the sysmo SDK sysroot
export DESTDIR="$_poky_path/sysroots/armv5te-poky-linux-gnueabi"
export DESTDIR="$_poky_path/sysroots/cortexa15hf-neon-poky-linux-gnueabi"
base="$PWD"
name="osmo-bts-oc2g"

View File

@ -1,16 +1,16 @@
#!/bin/sh
set -e -x
_poky_version="$POKY_VERSION"
_poky_path="$POKY_PATH"
_poky_version="$POKY_OC2G_VERSION"
_poky_path="$POKY_OC2G_PATH"
[ -z "$_poky_version" ] && _poky_version="2.3.2"
[ -z "$_poky_path" ] && _poky_path="/opt/poky/$_poky_version"
[ -z "$_poky_version" ] && _poky_version="2.3.4"
[ -z "$_poky_path" ] && _poky_path="/opt/poky-oc2g/$_poky_version"
. "$_poky_path/environment-setup-armv5te-poky-linux-gnueabi"
. "$_poky_path/environment-setup-cortexa15hf-neon-poky-linux-gnueabi"
# Cross-compilation: all installations need to be put in the sysmo SDK sysroot
export DESTDIR="$_poky_path/sysroots/armv5te-poky-linux-gnueabi"
export DESTDIR="$_poky_path/sysroots/cortexa15hf-neon-poky-linux-gnueabi"
base="$PWD"
name="osmo-pcu-oc2g"