[oe-commits] Tom Rini : perl: Use SITEINFO variables not functions

git version control git at git.openembedded.org
Thu Jul 14 14:41:21 UTC 2011


Module: openembedded-core.git
Branch: master
Commit: 615f05dc46afa14ea4fca49a551278b92d2c99d3
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=615f05dc46afa14ea4fca49a551278b92d2c99d3

Author: Tom Rini <tom_rini at mentor.com>
Date:   Wed Jul 13 12:06:02 2011 -0700

perl: Use SITEINFO variables not functions

Switch from SITEINFO_BITS / SITEINFO_ENDIANESS rather than
siteinfo_get...

Signed-off-by: Tom Rini <tom_rini at mentor.com>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>

---

 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 4582d91..c75a532 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
 





More information about the Openembedded-commits mailing list