[meta-virtualization] [PATCH v3 4/8] xen: Newlib recipe and patches for Xen stubdoms

Christopher Clark christopher.w.clark at gmail.com
Thu Apr 26 15:08:46 PDT 2018


On Thu, Apr 26, 2018 at 1:15 PM, Kurt Bodiker <
kurt.bodiker at braintrust-us.com> wrote:

> 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 at 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
>
>
Seeing whitespace damage in newlib.patch on:

newlib/libc/machine/i386/i386mach.h
newlib/libm/machine/i386/i386mach.h
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/meta-virtualization/attachments/20180426/f3d9170a/attachment.html>


More information about the meta-virtualization mailing list