diff options
author | Richard Purdie <richard@openedhand.com> | 2008-04-17 11:48:23 +0000 |
---|---|---|
committer | Richard Purdie <richard@openedhand.com> | 2008-04-17 11:48:23 +0000 |
commit | 58d88cec423e8a4d36a25e962f4a4df84d235ced (patch) | |
tree | 405c33b4a6b6270ec48e14116425aea75a728410 /meta | |
parent | 28f93a633d84d3c112c7efaf358c4a28a3e48e31 (diff) | |
download | poky-58d88cec423e8a4d36a25e962f4a4df84d235ced.tar.gz |
meta-toolchain: Fix up various paths and file locations to be more consistent
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4289 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta')
-rw-r--r-- | meta/packages/meta/meta-toolchain.bb | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/meta/packages/meta/meta-toolchain.bb b/meta/packages/meta/meta-toolchain.bb index 9f2520d2a5..9deda4c1c0 100644 --- a/meta/packages/meta/meta-toolchain.bb +++ b/meta/packages/meta/meta-toolchain.bb | |||
@@ -39,8 +39,11 @@ do_populate_sdk() { | |||
39 | mv ${SDK_OUTPUT}/usr/lib/opkg/* ${SDK_OUTPUT}/${prefix}/usr/lib/opkg/ | 39 | mv ${SDK_OUTPUT}/usr/lib/opkg/* ${SDK_OUTPUT}/${prefix}/usr/lib/opkg/ |
40 | rm -Rf ${SDK_OUTPUT}/usr/lib | 40 | rm -Rf ${SDK_OUTPUT}/usr/lib |
41 | 41 | ||
42 | install -d ${SDK_OUTPUT}/${prefix}/${TARGET_SYS}/${layout_sysconfdir} | ||
43 | install -m 0644 ${IPKGCONF_TARGET} ${IPKGCONF_SDK} ${SDK_OUTPUT}/${prefix}/${TARGET_SYS}/${layout_sysconfdir}/ | ||
44 | |||
42 | install -d ${SDK_OUTPUT}/${sysconfdir} | 45 | install -d ${SDK_OUTPUT}/${sysconfdir} |
43 | install -m 0644 ${IPKGCONF_TARGET} ${IPKGCONF_SDK} ${SDK_OUTPUT}/${sysconfdir} | 46 | install -m 0644 ${IPKGCONF_SDK} ${SDK_OUTPUT}/${sysconfdir}/ |
44 | 47 | ||
45 | # extract and store ipks, pkgdata and shlibs data | 48 | # extract and store ipks, pkgdata and shlibs data |
46 | target_pkgs=`cat ${SDK_OUTPUT}/${prefix}/package-status | grep Package: | cut -f 2 -d ' '` | 49 | target_pkgs=`cat ${SDK_OUTPUT}/${prefix}/package-status | grep Package: | cut -f 2 -d ' '` |
@@ -89,10 +92,10 @@ do_populate_sdk() { | |||
89 | touch $script | 92 | touch $script |
90 | echo 'export PATH=${prefix}/bin:$PATH' >> $script | 93 | echo 'export PATH=${prefix}/bin:$PATH' >> $script |
91 | echo 'export PKG_CONFIG_SYSROOT_DIR=${prefix}/${TARGET_SYS}' >> $script | 94 | echo 'export PKG_CONFIG_SYSROOT_DIR=${prefix}/${TARGET_SYS}' >> $script |
92 | echo 'export PKG_CONFIG_PATH=${prefix}/${TARGET_SYS}/${layout_libdir}/pkgconfig' >> $script | 95 | echo 'export PKG_CONFIG_PATH=${prefix}/${TARGET_SYS}${layout_libdir}/pkgconfig' >> $script |
93 | echo 'export CONFIG_SITE=${prefix}/site-config' >> $script | 96 | echo 'export CONFIG_SITE=${prefix}/site-config' >> $script |
94 | echo "alias opkg='LD_LIBRARY_PATH=${prefix}/lib ${prefix}/bin/opkg-cl -f ${sysconfdir}/opkg-sdk.conf -o ${prefix}'" >> $script | 97 | echo "alias opkg='LD_LIBRARY_PATH=${prefix}/lib ${prefix}/bin/opkg-cl -f ${sysconfdir}/opkg-sdk.conf -o ${prefix}'" >> $script |
95 | echo "alias opkg-target='LD_LIBRARY_PATH=${prefix}/lib ${prefix}/bin/opkg-cl -f ${sysconfdir}/opkg.conf -o ${prefix}/${TARGET_SYS}'" >> $script | 98 | echo "alias opkg-target='LD_LIBRARY_PATH=${prefix}/lib ${prefix}/bin/opkg-cl -f ${prefix}/${TARGET_SYS}${layout_sysconfdir}/opkg.conf -o ${prefix}/${TARGET_SYS}'" >> $script |
96 | 99 | ||
97 | # Add version information | 100 | # Add version information |
98 | versionfile=${SDK_OUTPUT}/${prefix}/version | 101 | versionfile=${SDK_OUTPUT}/${prefix}/version |