649782175a
In qt4's do_configure operation, it will refer to some variables that are derived from 'd', however these variable values may be not correct in multilib case since the extraction of these variables happens before the multilib handler. The fix is to move these python style functions back to shell style. This fixes [YOCTO #2355] [RP: Fix whitepace] (From OE-Core rev: 977ba301a1063a84b865ddf7367c35827fbffc86) Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
22 lines
455 B
PHP
22 lines
455 B
PHP
inherit siteinfo
|
|
|
|
ARM_INSTRUCTION_SET = "arm"
|
|
|
|
set_arch() {
|
|
case ${TARGET_ARCH} in
|
|
arm*) QT_ARCH=arm ;;
|
|
i*86*) QT_ARCH=i386 ;;
|
|
mips*) QT_ARCH=mips ;;
|
|
powerpc*) QT_ARCH=powerpc ;;
|
|
x86_64*) QT_ARCH=x86_64 ;;
|
|
esac
|
|
}
|
|
|
|
set_endian() {
|
|
if [ ${SITEINFO_ENDIANNESS} = "le" ] ; then
|
|
QT_ENDIAN="-little-endian"
|
|
elif [ ${SITEINFO_ENDIANNESS} = "be" ] ; then
|
|
QT_ENDIAN="-big-endian"
|
|
fi
|
|
}
|