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>
This commit is contained in:
Tom Rini 2011-07-13 12:06:02 -07:00 committed by Richard Purdie
parent 54e8e04a87
commit f7fd215749
1 changed files with 2 additions and 2 deletions

View File

@ -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