diff options
author | Richard Purdie <richard@openedhand.com> | 2008-07-19 22:06:25 +0000 |
---|---|---|
committer | Richard Purdie <richard@openedhand.com> | 2008-07-19 22:06:25 +0000 |
commit | 7c1f208e36729bed90df40daf4056730dbde4360 (patch) | |
tree | fc205c917fd9d50c417ac1dd554bf44e3817b78e /meta | |
parent | 9d4dd6dbd17944d03f5fa5dab31bb4ff48127900 (diff) | |
download | poky-7c1f208e36729bed90df40daf4056730dbde4360.tar.gz |
meta-toolchain: Fix pkgdata location
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4899 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta')
-rw-r--r-- | meta/packages/meta/meta-toolchain.bb | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/meta/packages/meta/meta-toolchain.bb b/meta/packages/meta/meta-toolchain.bb index 4a383293ba..9700969cfc 100644 --- a/meta/packages/meta/meta-toolchain.bb +++ b/meta/packages/meta/meta-toolchain.bb | |||
@@ -61,12 +61,12 @@ do_populate_sdk() { | |||
61 | orig_pkg=`opkg-list-fields $pkgnames | grep OE: | cut -d ' ' -f2` | 61 | orig_pkg=`opkg-list-fields $pkgnames | grep OE: | cut -d ' ' -f2` |
62 | pkg_subdir=$arch${TARGET_VENDOR}${@['-' + bb.data.getVar('TARGET_OS', d, 1), ''][bb.data.getVar('TARGET_OS', d, 1) == ('' or 'custom')]} | 62 | pkg_subdir=$arch${TARGET_VENDOR}${@['-' + bb.data.getVar('TARGET_OS', d, 1), ''][bb.data.getVar('TARGET_OS', d, 1) == ('' or 'custom')]} |
63 | mkdir -p ${SDK_OUTPUT2}/${prefix}/pkgdata/$pkg_subdir/runtime | 63 | mkdir -p ${SDK_OUTPUT2}/${prefix}/pkgdata/$pkg_subdir/runtime |
64 | cp ${STAGING_DIR}/pkgdata/$pkg_subdir/$orig_pkg ${SDK_OUTPUT2}/${prefix}/pkgdata/$pkg_subdir/ | 64 | cp ${TMPDIR}/pkgdata/$pkg_subdir/$orig_pkg ${SDK_OUTPUT2}/${prefix}/pkgdata/$pkg_subdir/ |
65 | subpkgs=`cat ${STAGING_DIR}/pkgdata/$pkg_subdir/$orig_pkg | grep PACKAGES: | cut -b 10-` | 65 | subpkgs=`cat ${TMPDIR}/pkgdata/$pkg_subdir/$orig_pkg | grep PACKAGES: | cut -b 10-` |
66 | for subpkg in $subpkgs; do | 66 | for subpkg in $subpkgs; do |
67 | cp ${STAGING_DIR}/pkgdata/$pkg_subdir/runtime/$subpkg ${SDK_OUTPUT2}/${prefix}/pkgdata/$pkg_subdir/runtime/ | 67 | cp ${TMPDIR}/pkgdata/$pkg_subdir/runtime/$subpkg ${SDK_OUTPUT2}/${prefix}/pkgdata/$pkg_subdir/runtime/ |
68 | if [ -e ${STAGING_DIR}/pkgdata/$pkg_subdir/runtime/$subpkg.packaged ];then | 68 | if [ -e ${TMPDIR}/pkgdata/$pkg_subdir/runtime/$subpkg.packaged ];then |
69 | cp ${STAGING_DIR}/pkgdata/$pkg_subdir/runtime/$subpkg.packaged ${SDK_OUTPUT2}/${prefix}/pkgdata/$pkg_subdir/runtime/ | 69 | cp ${TMPDIR}/pkgdata/$pkg_subdir/runtime/$subpkg.packaged ${SDK_OUTPUT2}/${prefix}/pkgdata/$pkg_subdir/runtime/ |
70 | fi | 70 | fi |
71 | if [ -e ${STAGING_DIR_TARGET}/shlibs/$subpkg.list ]; then | 71 | if [ -e ${STAGING_DIR_TARGET}/shlibs/$subpkg.list ]; then |
72 | cp ${STAGING_DIR_TARGET}/shlibs/$subpkg.* ${SDK_OUTPUT2}/${prefix}/${TARGET_SYS}/shlibs/ | 72 | cp ${STAGING_DIR_TARGET}/shlibs/$subpkg.* ${SDK_OUTPUT2}/${prefix}/${TARGET_SYS}/shlibs/ |