[OE-core] [PATCH 2/3] perl: Use SITEINFO variables not functions

Tom Rini tom_rini at mentor.com
Wed Jul 13 19:06:02 UTC 2011


Switch from SITEINFO_BITS / SITEINFO_ENDIANESS rather than
siteinfo_get...

Signed-off-by: Tom Rini <tom_rini at mentor.com>
---
 meta/recipes-devtools/perl/perl_5.12.3.bb |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/meta/recipes-devtools/perl/perl_5.12.3.bb b/meta/recipes-devtools/perl/perl_5.12.3.bb
index beb1791..105bbcc 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
 
-- 
1.7.0.4





More information about the Openembedded-core mailing list