diff options
author | Leon Woestenberg <leon@sidebranch.com> | 2009-06-10 20:05:04 +0200 |
---|---|---|
committer | Leon Woestenberg <leon@sidebranch.com> | 2009-06-10 20:05:04 +0200 |
commit | a4b14f1a58d10165084c265cfc2d442af5d68046 (patch) | |
tree | f56efe74b08a919cfc9d58c2e477eb051621a5ec /recipes/meta | |
parent | 3074b403d8122ace6d039dbe6ae3d67adc42a68d (diff) | |
parent | 8604f603321ce63ea5dc94334153af0841145fc6 (diff) |
Merge branch 'org.openembedded.dev' of git@git.openembedded.net:openembedded into org.openembedded.dev
Diffstat (limited to 'recipes/meta')
-rw-r--r-- | recipes/meta/meta-toolchain-qte.bb | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/recipes/meta/meta-toolchain-qte.bb b/recipes/meta/meta-toolchain-qte.bb new file mode 100644 index 0000000000..49ed35ee0f --- /dev/null +++ b/recipes/meta/meta-toolchain-qte.bb @@ -0,0 +1,25 @@ +# Qt Embedded toolchain + +require meta-toolchain.bb + +TOOLCHAIN_HOST_TASK = "task-qte-toolchain-host" +TOOLCHAIN_TARGET_TASK = "task-qte-toolchain-target" + +SDK_SUFFIX = "toolchain-qte" +QT_DIR_NAME = "qtopia" + +do_populate_sdk_append() { + script = "${SDK_OUTPUT}/${prefix}/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_LIBDIR_QT=${prefix}/${TARGET_SYS}/${layout_libdir}' >> $script + echo 'export OE_QMAKE_INCDIR_QT=${prefix}/${TARGET_SYS}/${layout_includedir}/${QT_DIR_NAME}' >> $script + echo 'export OE_QMAKE_MOC=${prefix}/${layout_bindir}/moc4' >> $script + echo 'export OE_QMAKE_UIC=${prefix}/${layout_bindir}/uic4' >> $script + + # Repack SDK with new environment-setup + cd ${SDK_OUTPUT} + fakeroot tar cfj ${SDK_DEPLOY}/${TOOLCHAIN_OUTPUTNAME}.tar.bz2 . +} |