From b757de0da6786274c8248bbe3cf2a05809f51127 Mon Sep 17 00:00:00 2001 From: Christopher Clark Date: Fri, 25 Aug 2017 18:44:52 -0700 Subject: xen: Only generate long-double-32.h if absent 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 Signed-off-by: Bruce Ashfield --- 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 b429c81c..ab699873 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() { -- cgit v1.2.3-54-g00ecf