contrib: Workaround poky SDK bug building libosmo-netif

Similar fixes are applied in meta-telephony.git and
meta-sysmocom-bsp.git for recipes checking for existence of
netinet/sctp.h.
This is basically a poky pyro bug, already fixed in upstream poky
master (b11fc7795cd1a6d74c9bb50b922d928f4a17722d).

Change-Id: I330866badba8f30f500f74ac31e2c4e20b11d53c
This commit is contained in:
Pau Espin 2022-09-08 11:39:59 +02:00
parent 93d3b9df9d
commit b172c066fb
4 changed files with 28 additions and 0 deletions

View File

@ -12,6 +12,13 @@ _poky_path="$POKY_OC2G_PATH"
# Cross-compilation: all installations need to be put in the sysmo SDK sysroot
export DESTDIR="$_poky_path/sysroots/cortexa15hf-neon-poky-linux-gnueabi"
# Workaround to oe-core meta/site/* CONFIG_SITE files passed to autoconf forcing
# unavailability of netinet/sctp.h.
# Patch fixing issue upstream: https://patchwork.openembedded.org/patch/168892/
# Merged: poky.git b11fc7795cd1a6d74c9bb50b922d928f4a17722d
# See meta-telephony.git 7acf2bff4e279b7d974373b952bad8e400c3bff2
export ac_cv_header_netinet_sctp_h=yes
base="$PWD"
name="osmo-bts-oc2g"
prefix="/usr/local/jenkins-build/inst-$name"

View File

@ -12,6 +12,13 @@ _poky_path="$POKY_PATH"
# Cross-compilation: all installations need to be put in the sysmo SDK sysroot
export DESTDIR="$_poky_path/sysroots/armv5te-poky-linux-gnueabi"
# Workaround to oe-core meta/site/* CONFIG_SITE files passed to autoconf forcing
# unavailability of netinet/sctp.h.
# Patch fixing issue upstream: https://patchwork.openembedded.org/patch/168892/
# Merged: poky.git b11fc7795cd1a6d74c9bb50b922d928f4a17722d
# See meta-telephony.git 7acf2bff4e279b7d974373b952bad8e400c3bff2
export ac_cv_header_netinet_sctp_h=yes
base="$PWD"
name="osmo-bts-sysmo"
prefix="/usr/local/jenkins-build/inst-$name"

View File

@ -12,6 +12,13 @@ _poky_path="$POKY_OC2G_PATH"
# Cross-compilation: all installations need to be put in the sysmo SDK sysroot
export DESTDIR="$_poky_path/sysroots/cortexa15hf-neon-poky-linux-gnueabi"
# Workaround to oe-core meta/site/* CONFIG_SITE files passed to autoconf forcing
# unavailability of netinet/sctp.h.
# Patch fixing issue upstream: https://patchwork.openembedded.org/patch/168892/
# Merged: poky.git b11fc7795cd1a6d74c9bb50b922d928f4a17722d
# See meta-telephony.git 7acf2bff4e279b7d974373b952bad8e400c3bff2
export ac_cv_header_netinet_sctp_h=yes
base="$PWD"
name="osmo-pcu-oc2g"
prefix="/usr/local/jenkins-build/inst-$name"

View File

@ -12,6 +12,13 @@ _poky_path="$POKY_PATH"
# Cross-compilation: all installations need to be put in the sysmo SDK sysroot
export DESTDIR="$_poky_path/sysroots/armv5te-poky-linux-gnueabi"
# Workaround to oe-core meta/site/* CONFIG_SITE files passed to autoconf forcing
# unavailability of netinet/sctp.h.
# Patch fixing issue upstream: https://patchwork.openembedded.org/patch/168892/
# Merged: poky.git b11fc7795cd1a6d74c9bb50b922d928f4a17722d
# See meta-telephony.git 7acf2bff4e279b7d974373b952bad8e400c3bff2
export ac_cv_header_netinet_sctp_h=yes
base="$PWD"
name="osmo-pcu-sysmo"
prefix="/usr/local/jenkins-build/inst-$name"