summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTom Rini <tom_rini@mentor.com>2011-07-13 12:06:02 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-07-14 15:40:48 +0100
commitf7fd215749e12852378a3a1cce7d316078ead54d (patch)
treea56237ed19c57e4df8aadae5bb07bdf18a20653c
parent54e8e04a87d0319a1c2b362c32e90e89025db5c8 (diff)
downloadpoky-f7fd215749e12852378a3a1cce7d316078ead54d.zip
poky-f7fd215749e12852378a3a1cce7d316078ead54d.tar.gz
poky-f7fd215749e12852378a3a1cce7d316078ead54d.tar.bz2
perl: Use SITEINFO variables not functions
Switch from SITEINFO_BITS / SITEINFO_ENDIANESS rather than siteinfo_get... (From OE-Core rev: 615f05dc46afa14ea4fca49a551278b92d2c99d3) Signed-off-by: Tom Rini <tom_rini@mentor.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-devtools/perl/perl_5.12.3.bb4
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