[meta-virtualization] [PATCH] xen: Only generate long-double-32.h if absent
Bruce Ashfield
bruce.ashfield at gmail.com
Tue Aug 29 05:44:08 PDT 2017
merged.
Bruce
On Fri, Aug 25, 2017 at 9:44 PM, <christopher.w.clark at gmail.com> wrote:
> From: Christopher Clark <christopher.clark6 at baesystems.com>
>
> Only copy long-double-64.h to create long-double-32.h if it is not
> already present.
>
> Compile tested with both ARM 32-bit build and x86 64-bit build.
>
> Signed-off-by: Christopher Clark <christopher.clark6 at baesystems.com>
> ---
>
> In fixing the 64-bit clean build, long-double-32.h was populated from
> the available long-double-64.h . Unfortunately this broke the 32-bit
> build where long-double-32.h is already present and long-double-64.h
> is not.
>
> recipes-extended/xen/xen.inc | 4 +++-
> 1 file changed, 3 insertions(+), 1 deletion(-)
>
> diff --git a/recipes-extended/xen/xen.inc b/recipes-extended/xen/xen.inc
> index b429c81..ab69987 100644
> --- a/recipes-extended/xen/xen.inc
> +++ b/recipes-extended/xen/xen.inc
> @@ -912,7 +912,9 @@ do_configure() {
>
> # do configure
> oe_runconf
> - cp ${STAGING_INCDIR}/bits/long-double-64.h
> ${STAGING_INCDIR}/bits/long-double-32.h
> + if [ ! -e ${STAGING_INCDIR}/bits/long-double-32.h ]; then
> + cp ${STAGING_INCDIR}/bits/long-double-64.h
> ${STAGING_INCDIR}/bits/long-double-32.h
> + fi
> }
>
> do_compile() {
> --
> 2.7.4
>
> --
> _______________________________________________
> meta-virtualization mailing list
> meta-virtualization at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-virtualization
>
--
"Thou shalt not follow the NULL pointer, for chaos and madness await thee
at its end"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/meta-virtualization/attachments/20170829/3eeb90a5/attachment-0001.html>
More information about the meta-virtualization
mailing list