diff options
author | Richard Purdie <richard@openedhand.com> | 2008-02-07 20:22:10 +0000 |
---|---|---|
committer | Richard Purdie <richard@openedhand.com> | 2008-02-07 20:22:10 +0000 |
commit | 18aa85bc8f85aaf7054ea8c17f9823bd2ebd8925 (patch) | |
tree | 84791b78164fd8ee5c609f376252d379736223d6 /meta/packages | |
parent | 8dac31d67803c59d950a02b5ce3a638731b86cdc (diff) | |
download | openembedded-core-18aa85bc8f85aaf7054ea8c17f9823bd2ebd8925.tar.gz openembedded-core-18aa85bc8f85aaf7054ea8c17f9823bd2ebd8925.tar.bz2 openembedded-core-18aa85bc8f85aaf7054ea8c17f9823bd2ebd8925.tar.xz openembedded-core-18aa85bc8f85aaf7054ea8c17f9823bd2ebd8925.zip |
meta-toolchain: Install -dbg packages into standalone toolchains and sdk
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3712 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/packages')
-rw-r--r-- | meta/packages/meta/meta-toolchain-sdk.bb | 2 | ||||
-rw-r--r-- | meta/packages/meta/meta-toolchain.bb | 10 |
2 files changed, 9 insertions, 3 deletions
diff --git a/meta/packages/meta/meta-toolchain-sdk.bb b/meta/packages/meta/meta-toolchain-sdk.bb index 4da9391dd..eb8f4fdcd 100644 --- a/meta/packages/meta/meta-toolchain-sdk.bb +++ b/meta/packages/meta/meta-toolchain-sdk.bb @@ -1,3 +1,3 @@ -TOOLCHAIN_TARGET_TASK = "task-poky-standalone-gmae-sdk-target" +TOOLCHAIN_TARGET_TASK = "task-poky-standalone-gmae-sdk-target task-poky-standalone-gmae-sdk-target-dbg" TOOLCHAIN_OUTPUTNAME = "${SDK_NAME}-toolchain-sdk-${DISTRO_VERSION}" require meta-toolchain.bb diff --git a/meta/packages/meta/meta-toolchain.bb b/meta/packages/meta/meta-toolchain.bb index 40d27b56e..fb213b88b 100644 --- a/meta/packages/meta/meta-toolchain.bb +++ b/meta/packages/meta/meta-toolchain.bb @@ -13,7 +13,7 @@ IPKG_HOST = "ipkg-cl -f ${IPKGCONF_SDK} -o ${SDK_OUTPUT}" IPKG_TARGET = "ipkg-cl -f ${IPKGCONF_TARGET} -o ${SDK_OUTPUT}/temp-target" TOOLCHAIN_HOST_TASK ?= "task-sdk-host" -TOOLCHAIN_TARGET_TASK ?= "task-poky-standalone-sdk-target" +TOOLCHAIN_TARGET_TASK ?= "task-poky-standalone-sdk-target task-poky-standalone-sdk-target-dbg" TOOLCHAIN_OUTPUTNAME ?= "${SDK_NAME}-toolchain-${DISTRO_VERSION}" RDEPENDS = "${TOOLCHAIN_TARGET_TASK} ${TOOLCHAIN_HOST_TASK}" @@ -36,14 +36,20 @@ do_populate_sdk() { ${IPKG_TARGET} install ${TOOLCHAIN_TARGET_TASK} mkdir -p ${SDK_OUTPUT}/${prefix}/${TARGET_SYS}/include - mkdir -p ${SDK_OUTPUT}/${prefix}/${TARGET_SYS}/lib + mkdir -p ${SDK_OUTPUT}/${prefix}/${TARGET_SYS}/lib/.debug/ mkdir -p ${SDK_OUTPUT}/${prefix}/${TARGET_SYS}/share mv ${SDK_OUTPUT}/temp-target/usr/lib/ipkg/status ${SDK_OUTPUT}/${prefix}/package-status rm -rf ${SDK_OUTPUT}/temp-target/usr/lib/ipkg/ cp -pPR ${SDK_OUTPUT}/temp-target/usr/include/* ${SDK_OUTPUT}/${prefix}/${TARGET_SYS}/include/ cp -pPR ${SDK_OUTPUT}/temp-target/usr/lib/* ${SDK_OUTPUT}/${prefix}/${TARGET_SYS}/lib/ + if [ -d ${SDK_OUTPUT}/temp-target/usr/lib/.debug ]; then + cp -pPR ${SDK_OUTPUT}/temp-target/usr/lib/.debug/* ${SDK_OUTPUT}/${prefix}/${TARGET_SYS}/lib/.debug/ + fi cp -pPR ${SDK_OUTPUT}/temp-target/usr/share/* ${SDK_OUTPUT}/${prefix}/${TARGET_SYS}/share/ cp -pPR ${SDK_OUTPUT}/temp-target/lib/* ${SDK_OUTPUT}/${prefix}/${TARGET_SYS}/lib/ + if [ -d ${SDK_OUTPUT}/temp-target/lib/.debug ]; then + cp -pPR ${SDK_OUTPUT}/temp-target/lib/.debug/* ${SDK_OUTPUT}/${prefix}/${TARGET_SYS}/lib/.debug/ + fi rm -rf ${SDK_OUTPUT}/temp-target/ for fn in `ls ${SDK_OUTPUT}/${prefix}/${TARGET_SYS}/lib/`; do |