aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAeschbacher <fabrice.aeschbacher@siemens.com>2010-12-11 01:04:32 -0800
committerKhem Raj <raj.khem@gmail.com>2010-12-11 01:04:32 -0800
commit3b67bf1daf2adaee4b53dd39f33042cb18872394 (patch)
tree9b9638a8ad46d47d5747fdd38f658d4098f8d79b
parent00319141d43a13a5be7cbff7d683e0133fc15ed7 (diff)
downloadopenembedded-3b67bf1daf2adaee4b53dd39f33042cb18872394.zip
openembedded-3b67bf1daf2adaee4b53dd39f33042cb18872394.tar.gz
openembedded-3b67bf1daf2adaee4b53dd39f33042cb18872394.tar.bz2
qte: fixed do_configure() for powerpc
Signed-off-by: Aeschbacher <fabrice.aeschbacher@siemens.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r--recipes/qte/qte-common_2.3.10.inc3
1 files changed, 2 insertions, 1 deletions
diff --git a/recipes/qte/qte-common_2.3.10.inc b/recipes/qte/qte-common_2.3.10.inc
index 18811c7..2eed76d 100644
--- a/recipes/qte/qte-common_2.3.10.inc
+++ b/recipes/qte/qte-common_2.3.10.inc
@@ -109,7 +109,7 @@ export SYSCONF_LFLAGS = "${LDFLAGS} -lts"
export SYSCONF_MOC = "${STAGING_BINDIR_NATIVE}/moc"
export SYSCONF_UIC = "${STAGING_BINDIR_NATIVE}/uic"
-# generate uclibc and eabi configurations
+# generate uclibc, eabi and powerpc configurations
do_configure() {
for f in ${S}/configs/linux-*-g++-shared; do
sed -e 's,-linux-,-linux-uclibc-,g' < $f \
@@ -119,6 +119,7 @@ do_configure() {
sed -e 's,-linux-,-linux-uclibceabi-,g' < $f \
> `dirname $f`/`basename $f | sed -e 's,linux-,linux-uclibceabi-,'`
done
+ sed -e 's/arm/powerpc/' ${S}/configs/linux-arm-g++-shared > ${S}/configs/linux-powerpc-g++-shared
echo yes | ./configure ${EXTRA_OECONF} || die "Configuring qte failed. EXTRA_OECONF was ${EXTRA_OECONF}"
}