Patchwork [2/3] perl: Use SITEINFO variables not functions

login
register
mail settings
Submitter Tom Rini
Date July 13, 2011, 7:06 p.m.
Message ID <e351235961ce10c07818e885ec20aa047cb41ea9.1310583666.git.tom_rini@mentor.com>
Download mbox | patch
Permalink /patch/7571/
State New, archived
Headers show

Comments

Tom Rini - July 13, 2011, 7:06 p.m.
Switch from SITEINFO_BITS / SITEINFO_ENDIANESS rather than
siteinfo_get...

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

Patch

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