From: Tom Rini Date: Wed, 13 Jul 2011 19:06:02 +0000 (-0700) Subject: perl: Use SITEINFO variables not functions X-Git-Tag: yocto-4.0~40439 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=615f05dc46afa14ea4fca49a551278b92d2c99d3;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git perl: Use SITEINFO variables not functions Switch from SITEINFO_BITS / SITEINFO_ENDIANESS rather than siteinfo_get... Signed-off-by: Tom Rini Signed-off-by: Richard Purdie --- diff --git a/meta/recipes-devtools/perl/perl_5.12.3.bb b/meta/recipes-devtools/perl/perl_5.12.3.bb index 4582d91144c..c75a5322df2 100644 --- a/meta/recipes-devtools/perl/perl_5.12.3.bb +++ b/meta/recipes-devtools/perl/perl_5.12.3.bb @@ -116,8 +116,8 @@ do_configure() { # Generate configuration rm -f config.sh-${TARGET_ARCH}-${TARGET_OS} for i in ${WORKDIR}/config.sh \ - ${WORKDIR}/config.sh-${@siteinfo_get_bits(d)} \ - ${WORKDIR}/config.sh-${@siteinfo_get_bits(d)}-${@siteinfo_get_endianess(d)}; do + ${WORKDIR}/config.sh-${SITEINFO_BITS} \ + ${WORKDIR}/config.sh-${SITEINFO_BITS}-${SITEINFO_ENDIANESS}; do cat $i >> config.sh-${TARGET_ARCH}-${TARGET_OS} done