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 <christopher.clark6@baesystems.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
This commit is contained in:
Christopher Clark 2017-08-25 18:44:52 -07:00 committed by Bruce Ashfield
parent add137fd22
commit b757de0da6

View File

@ -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() {