* endian option was removed from configure
* arch/host-arch option is now deprecated and configure shows
warning when it's used
* both are now autodetected
(From meta-qt5 rev:
34a4b6bc246e8c6ce4e39a12ea7bde3e1a76d1d6)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
ICU = "icu "
ICU_powerpc = "pango"
-require qt5_arch.inc
-
QT_MODULE ?= "${BPN}"
do_configure() {
- set_arch
- set_endian
-
qmake5_base_do_configure
}
+++ /dev/null
-inherit siteinfo
-
-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
-}
export OE_QMAKE_STRIP
do_configure() {
- set_arch
- set_endian
-
# we need symlink in path relative to source, because
# EffectivePaths:Prefix is relative to qmake location
if [ ! -e ${B}/bin/qmake ]; then