summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2019-03-04 20:27:24 +0100
committerPau Espin Pedrol <pespin@sysmocom.de>2019-03-15 20:16:14 +0000
commit8369cc321b5ccc26e8cd5b01c3e18745a439bca4 (patch)
tree7ec9fb4d4c5f38f6699b7db3590ede1e4e6586dc
parentc02b96e77bec4f19052c5e05b506b9056ca43d51 (diff)
contrib: Use proper SDK for OC2G builds
Binaries produced by sysmobts SDK are not compatible with OC2G. Change-Id: I5adde9cf8a5f84cfc4b6fc4d4def3836444929ec
-rwxr-xr-xcontrib/jenkins-build-osmo-bts-oc2g.sh12
-rwxr-xr-xcontrib/jenkins-build-osmo-pcu-oc2g.sh12
2 files changed, 12 insertions, 12 deletions
diff --git a/contrib/jenkins-build-osmo-bts-oc2g.sh b/contrib/jenkins-build-osmo-bts-oc2g.sh
index 9ed2099..c4357f0 100755
--- a/contrib/jenkins-build-osmo-bts-oc2g.sh
+++ b/contrib/jenkins-build-osmo-bts-oc2g.sh
@@ -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"
diff --git a/contrib/jenkins-build-osmo-pcu-oc2g.sh b/contrib/jenkins-build-osmo-pcu-oc2g.sh
index 2164926..c10b14e 100755
--- a/contrib/jenkins-build-osmo-pcu-oc2g.sh
+++ b/contrib/jenkins-build-osmo-pcu-oc2g.sh
@@ -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"