summaryrefslogtreecommitdiff
path: root/qte/qte_2.3.7.oe
diff options
context:
space:
mode:
authorGerald Britton <gbritton@doomcom.org>2004-05-04 05:05:20 +0000
committerGerald Britton <gbritton@doomcom.org>2004-05-04 05:05:20 +0000
commit798194e144f1c2c23aa2b3070a5bd84a415befa9 (patch)
tree4a05acbb72441b384db8d44f8c39b2267a8a5c41 /qte/qte_2.3.7.oe
parentce65840c20221dd324c23cd9738b8cc2a7175cf1 (diff)
grr. real fix to allow QTE to build under uclibc
BKrev: 40972490RPuVavzX9IpLfJRX_94hhw
Diffstat (limited to 'qte/qte_2.3.7.oe')
-rw-r--r--qte/qte_2.3.7.oe18
1 files changed, 7 insertions, 11 deletions
diff --git a/qte/qte_2.3.7.oe b/qte/qte_2.3.7.oe
index d17925a70d..06da21cd20 100644
--- a/qte/qte_2.3.7.oe
+++ b/qte/qte_2.3.7.oe
@@ -13,13 +13,6 @@ 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)
@@ -29,13 +22,12 @@ 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 ${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_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 = "-system-jpeg -system-libpng -system-zlib -no-qvfb -no-xft -no-vnc -gif ${EXTRA_OECONF_ARCH} ${EXTRA_OECONF_CONFIG}"
@@ -52,6 +44,10 @@ export SYSCONF_MOC = "${STAGING_BINDIR}/moc"
export SYSCONF_UIC = "${STAGING_BINDIR}/uic"
do_configure() {
+ for f in ${S}/configs/linux-*-g++-shared; do
+ sed -e 's,-linux-,-linux-uclibc-,g' < $f \
+ > `echo $f | sed -e 's,linux-,linux-uclibc-,'`
+ done
echo yes | ./configure ${EXTRA_OECONF} || die "Configuring qt failed. EXTRA_OECONF was ${EXTRA_OECONF}"
}