Newlib provides a fast, C library optimized for embedded systems. In the
case of Xen stubdomains, we are using MiniOS. This Newlib recipe creates
static libraries that are cross-compiled against MiniOS, Xen, and LWIP
headers and subsequently used during the cross-compilation and linking
of PolarSSL, the stubdom specific GMP, TPM Emulator, and the Xen vTPM
and vTPM Manager stubdomains. The current Xen source code is hardcoded
to fetch a specific version of this package. The patch files originate
from the Xen/stubdom source tree. This recipe provides the flexibility
to change version or modify the patches.
Signed-off-by: Kurt Bodiker <kurt.bodiker@braintrust-us.com >
---
Changes in v3:
- change cross-root-${XEN_TARGET_ARCH} to cross-root-${GNU_TARGET_ARCH}
Changes in v2:
- Multi-line variables formatted to match OE style guide
- SRC_URI formatted to use SRCREV rather than git tag
- patches formatted to striplevel=1
---
recipes-extended/xen/files/newlib-chk.patch | 155 +++++
.../newlib-stdint-size_max-fix-from-1.17.0.patch | 16 +
recipes-extended/xen/files/newlib.patch | 727 +++++++++++++++++++++
recipes-extended/xen/newlib.inc | 64 ++
recipes-extended/xen/newlib_1.16.0.bb | 21 +
5 files changed, 983 insertions(+)
create mode 100644 recipes-extended/xen/files/newlib-chk.patch
create mode 100644 recipes-extended/xen/files/newlib-stdint-size_max-fix- from-1.17.0.patch
create mode 100644 recipes-extended/xen/files/newlib.patch
create mode 100644 recipes-extended/xen/newlib.inc
create mode 100644 recipes-extended/xen/newlib_1.16.0.bb