Poky Project Discussions
 help / color / mirror / Atom feed
From: Richard Purdie <richard.purdie@linuxfoundation.org>
To: Paul Eggleton <paul.eggleton@linux.intel.com>
Cc: poky@yoctoproject.org
Subject: Re: [PATCH 11/12] qt4: Add meta-toolchain-qte and dependent tasks from OpenEmbedded
Date: Tue, 01 Feb 2011 17:44:59 +0000	[thread overview]
Message-ID: <1296582299.13501.20230.camel@rex> (raw)
In-Reply-To: <6184677be0e44d76b634b611287dca567dfdd3bd.1296267951.git.paul.eggleton@linux.intel.com>

On Sat, 2011-01-29 at 02:30 +0000, Paul Eggleton wrote:

> +++ b/meta/recipes-qt/meta/meta-toolchain-qte.bb
> @@ -0,0 +1,32 @@
> +# Qt Embedded toolchain
> +PR = "r5"
> +TOOLCHAIN_HOST_TASK = "task-qte-toolchain-host"
> +TOOLCHAIN_TARGET_TASK = "task-qte-toolchain-target"
> +
> +require recipes-core/meta/meta-toolchain.bb
> +SDK_SUFFIX = "toolchain-qte"
> +
> +QT_DIR_NAME = "qtopia"
> +
> +do_populate_sdk_append() {
> +    script="${SDK_OUTPUT}/${SDKPATH}/environment-setup"
> +    touch $script
> +    echo 'export OE_QMAKE_CC=${TARGET_SYS}-gcc' >> $script
> +    echo 'export OE_QMAKE_CXX=${TARGET_SYS}-g++' >> $script
> +    echo 'export OE_QMAKE_LINK=${TARGET_SYS}-g++' >> $script
> +    echo 'export OE_QMAKE_AR=${TARGET_SYS}-ar' >> $script
> +    echo 'export OE_QMAKE_LIBDIR_QT=${SDKPATH}/${TARGET_SYS}/${libdir}' >> $script
> +    echo 'export OE_QMAKE_INCDIR_QT=${SDKPATH}/${TARGET_SYS}/${includedir}/${QT_DIR_NAME}' >> $script
> +    echo 'export OE_QMAKE_MOC=${SDKPATH}/bin/moc4' >> $script
> +    echo 'export OE_QMAKE_UIC=${SDKPATH}/bin/uic4' >> $script
> +    echo 'export OE_QMAKE_UIC3=${SDKPATH}/bin/uic34' >> $script
> +    echo 'export OE_QMAKE_RCC=${SDKPATH}/bin/rcc4' >> $script
> +    echo 'export OE_QMAKE_QDBUSCPP2XML=${SDKPATH}/bin/qdbuscpp2xml4' >> $script
> +    echo 'export OE_QMAKE_QDBUSXML2CPP=${SDKPATH}/bin/qdbusxml2cpp4' >> $script
> +    echo 'export OE_QMAKE_QT_CONFIG=${SDKPATH}/${TARGET_SYS}/${datadir}/${QT_DIR_NAME}/mkspecs/qconfig.pri' >> $script
> +    echo 'export QMAKESPEC=${SDKPATH}/${TARGET_SYS}/${datadir}/${QT_DIR_NAME}/mkspecs/linux-g++' >> $script
> +
> +    # Repack SDK with new environment-setup
> +    cd ${SDK_OUTPUT}
> +    tar --owner=root --group=root -cj --file=${SDK_DEPLOY}/${TOOLCHAIN_OUTPUTNAME}.tar.bz2 .
> +}

This is horrible :)

I added this:

http://git.pokylinux.org/cgit.cgi/poky/commit/?id=19e1f4f672806c8a45847ce5c2adac6da663ff69

Cheers,

Richard



  reply	other threads:[~2011-02-01 17:45 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-01-29  2:29 [PATCH 00/12] Qt4 updates v3 Paul Eggleton
2011-01-29  2:30 ` [PATCH 01/12] Add directfb 1.4.6 from meta-openembedded Paul Eggleton
2011-01-29  2:30 ` [PATCH 02/12] qt4: Bring in improvements " Paul Eggleton
2011-01-29  2:30 ` [PATCH 03/12] qt4: add qt4-embedded 4.6.3 " Paul Eggleton
2011-01-29  2:30 ` [PATCH 04/12] qt4: add 4.7.1 version " Paul Eggleton
2011-01-29  2:30 ` [PATCH 05/12] qt4-tools-native: update from OpenEmbedded Paul Eggleton
2011-02-01 17:44   ` Richard Purdie
2011-02-01 18:02     ` Koen Kooi
2011-02-03  2:58     ` Paul Eggleton
2011-02-03  9:13       ` Richard Purdie
2011-01-29  2:30 ` [PATCH 06/12] glib-2.0: extend to nativesdk Paul Eggleton
2011-01-29  2:30 ` [PATCH 07/12] dbus: " Paul Eggleton
2011-01-29  2:30 ` [PATCH 08/12] qt4: Add qt4-tools-nativesdk based on qt4-tools-sdk from OpenEmbedded Paul Eggleton
2011-01-29  2:30 ` [PATCH 09/12] package.bbclass: add nodeprrecs flag to RRECOMMENDS_pkgname Paul Eggleton
2011-01-29  2:30 ` [PATCH 10/12] avahi: prevent unnecessary runtime dependency on gtk+ Paul Eggleton
2011-01-29  2:30 ` [PATCH 11/12] qt4: Add meta-toolchain-qte and dependent tasks from OpenEmbedded Paul Eggleton
2011-02-01 17:44   ` Richard Purdie [this message]
2011-02-03  2:48     ` Paul Eggleton
2011-01-29  2:30 ` [PATCH 12/12] qt4: set RRECOMMENDS correctly for qt4 demos and examples packages Paul Eggleton
2011-01-31 14:08 ` [PATCH 00/12] Qt4 updates v3 Koen Kooi

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1296582299.13501.20230.camel@rex \
    --to=richard.purdie@linuxfoundation.org \
    --cc=paul.eggleton@linux.intel.com \
    --cc=poky@yoctoproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox