diff options
Diffstat (limited to 'qte/qte_2.3.8-snap.oe')
-rw-r--r-- | qte/qte_2.3.8-snap.oe | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/qte/qte_2.3.8-snap.oe b/qte/qte_2.3.8-snap.oe index 7ec51416e8..bfa806ff6d 100644 --- a/qte/qte_2.3.8-snap.oe +++ b/qte/qte_2.3.8-snap.oe @@ -21,10 +21,19 @@ S = "${WORKDIR}/qt-${PV}shot-${SNAPDATE}" export QTDIR = "${S}" -ARCH_i686 = "x86" +def qte_arch(d): + import oe, re + arch = oe.data.getVar('TARGET_ARCH', d, 1) + if re.match("^i.86$", arch): + arch = "x86" + elif arch == "x86_64": + arch = "x86" + return arch + +QTE_ARCH := "${@qte_arch(d)}" EXTRA_OECONF_CONFIG = "-qconfig qpe" -EXTRA_OECONF_ARCH = "-xplatform ${TARGET_OS}-${TARGET_ARCH}-g++" +EXTRA_OECONF_ARCH = "-xplatform ${TARGET_OS}-${QTE_ARCH}-g++" EXTRA_OECONF_ARCH_collie = "-xplatform ${TARGET_OS}-sharp-g++" EXTRA_OECONF_ARCH_ramses = "-xplatform ${TARGET_OS}-ramses-g++" |