summaryrefslogtreecommitdiff
path: root/qte
diff options
context:
space:
mode:
authorGerald Britton <gbritton@doomcom.org>2004-05-04 04:45:42 +0000
committerGerald Britton <gbritton@doomcom.org>2004-05-04 04:45:42 +0000
commitce65840c20221dd324c23cd9738b8cc2a7175cf1 (patch)
tree163249a001a706efef1c798d240682c893ab2aa1 /qte
parent82641f0aa39af760a9126699046d92f7688a3cd5 (diff)
allow qte to build on uclibc
BKrev: 40971ff6o9BJd5G7lVlIXnM9aemyKA
Diffstat (limited to 'qte')
-rw-r--r--qte/qte_2.3.7.oe14
-rw-r--r--qte/qte_2.3.8-snap.oe14
2 files changed, 22 insertions, 6 deletions
diff --git a/qte/qte_2.3.7.oe b/qte/qte_2.3.7.oe
index b236458416..d17925a70d 100644
--- a/qte/qte_2.3.7.oe
+++ b/qte/qte_2.3.7.oe
@@ -13,6 +13,13 @@ S = "${WORKDIR}/qt-${PV}"
export QTDIR = "${S}"
+def qte_os(d):
+ import oe, re
+ arch = oe.data.getVar('TARGET_OS', d, 1)
+ if re.match("^linux-uclibc$", arch):
+ arch = "linux"
+ return arch
+
def qte_arch(d):
import oe, re
arch = oe.data.getVar('TARGET_ARCH', d, 1)
@@ -22,12 +29,13 @@ def qte_arch(d):
arch = "x86"
return arch
+QTE_OS := "${@qte_os(d)}"
QTE_ARCH := "${@qte_arch(d)}"
EXTRA_OECONF_CONFIG = "-qconfig qpe"
-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++"
+EXTRA_OECONF_ARCH = "-xplatform ${QTE_OS}-${QTE_ARCH}-g++"
+EXTRA_OECONF_ARCH_collie = "-xplatform ${QTE_OS}-sharp-g++"
+EXTRA_OECONF_ARCH_ramses = "-xplatform ${QTE_OS}-ramses-g++"
EXTRA_OECONF = "-system-jpeg -system-libpng -system-zlib -no-qvfb -no-xft -no-vnc -gif ${EXTRA_OECONF_ARCH} ${EXTRA_OECONF_CONFIG}"
diff --git a/qte/qte_2.3.8-snap.oe b/qte/qte_2.3.8-snap.oe
index 3864fd3d5a..812dbbc4eb 100644
--- a/qte/qte_2.3.8-snap.oe
+++ b/qte/qte_2.3.8-snap.oe
@@ -14,6 +14,13 @@ S = "${WORKDIR}/qt-${PV}shot-${SNAPDATE}"
export QTDIR = "${S}"
+def qte_os(d):
+ import oe, re
+ arch = oe.data.getVar('TARGET_OS', d, 1)
+ if re.match("^linux-uclibc$", arch):
+ arch = "linux"
+ return arch
+
def qte_arch(d):
import oe, re
arch = oe.data.getVar('TARGET_ARCH', d, 1)
@@ -23,12 +30,13 @@ def qte_arch(d):
arch = "x86"
return arch
+QTE_OS := "${@qte_os(d)}"
QTE_ARCH := "${@qte_arch(d)}"
EXTRA_OECONF_CONFIG = "-qconfig qpe"
-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++"
+EXTRA_OECONF_ARCH = "-xplatform ${QTE_OS}-${QTE_ARCH}-g++"
+EXTRA_OECONF_ARCH_collie = "-xplatform ${QTE_OS}-sharp-g++"
+EXTRA_OECONF_ARCH_ramses = "-xplatform ${QTE_OS}-ramses-g++"
EXTRA_OECONF = "-system-jpeg -system-libpng -system-zlib -no-qvfb -no-xft -no-vnc -gif ${EXTRA_OECONF_ARCH} ${EXTRA_OECONF_CONFIG}"