diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-02-01 17:39:10 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-02-01 17:39:10 +0000 |
commit | 19e1f4f672806c8a45847ce5c2adac6da663ff69 (patch) | |
tree | bbfe27295904561d17640c3b5bfc6b8e097ac7f4 /meta/recipes-qt | |
parent | ec740ac770d2124cbae1ab936d85b8343076c53b (diff) | |
download | openembedded-core-19e1f4f672806c8a45847ce5c2adac6da663ff69.tar.gz openembedded-core-19e1f4f672806c8a45847ce5c2adac6da663ff69.tar.bz2 openembedded-core-19e1f4f672806c8a45847ce5c2adac6da663ff69.zip |
meta-toolchain-qte: Append to the toolchain env script and remove code duplication
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-qt')
-rw-r--r-- | meta/recipes-qt/meta/meta-toolchain-qte.bb | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/meta/recipes-qt/meta/meta-toolchain-qte.bb b/meta/recipes-qt/meta/meta-toolchain-qte.bb index b57369a937..da0dda77c9 100644 --- a/meta/recipes-qt/meta/meta-toolchain-qte.bb +++ b/meta/recipes-qt/meta/meta-toolchain-qte.bb @@ -8,9 +8,7 @@ SDK_SUFFIX = "toolchain-qte" QT_DIR_NAME = "qtopia" -do_populate_sdk_append() { - script="${SDK_OUTPUT}/${SDKPATH}/environment-setup" - touch $script +toolchain_create_sdk_env_script_append() { 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 @@ -25,8 +23,4 @@ do_populate_sdk_append() { 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 . } |