summaryrefslogtreecommitdiff
path: root/recipes/meta
diff options
context:
space:
mode:
authorTom Rini <trini@embeddedalley.com>2009-06-19 19:15:15 -0400
committerTom Rini <trini@embeddedalley.com>2009-06-19 19:15:15 -0400
commitdfc9b3d6f7f05b7c67995540d4d71b44db9684f8 (patch)
tree0e4c7f711b89ff060f1d96e1ff0c93c500dd957b /recipes/meta
parent1f4f1ed2f1986d50e7de022ffaae4f5688f6aa13 (diff)
meta-toolchain: Use ${layout_base_libdir} not usr/lib for opkg.
Diffstat (limited to 'recipes/meta')
-rw-r--r--recipes/meta/meta-toolchain.bb11
1 files changed, 6 insertions, 5 deletions
diff --git a/recipes/meta/meta-toolchain.bb b/recipes/meta/meta-toolchain.bb
index b8ed8013a9..6bb12ea663 100644
--- a/recipes/meta/meta-toolchain.bb
+++ b/recipes/meta/meta-toolchain.bb
@@ -62,17 +62,18 @@ do_populate_sdk() {
revipkgarchs="$arch $revipkgarchs"
done
- mkdir -p ${SDK_OUTPUT}/usr/lib/opkg
+ mkdir -p ${SDK_OUTPUT}/${layout_base_libdir}/opkg
${IPKG_HOST} update
${IPKG_HOST} -force-depends install ${TOOLCHAIN_HOST_TASK}
- mkdir -p ${SDK_OUTPUT}/${SDK_PATH}/${TARGET_SYS}/usr/lib/opkg
+ mkdir -p ${SDK_OUTPUT}/${prefix}/${TARGET_SYS}/${layout_base_libdir}/opkg
${IPKG_TARGET} update
${IPKG_TARGET} install ${TOOLCHAIN_TARGET_TASK}
- install -d ${SDK_OUTPUT}/${prefix}/usr/lib/opkg
- mv ${SDK_OUTPUT}/usr/lib/opkg/* ${SDK_OUTPUT}/${prefix}/usr/lib/opkg/
- rm -Rf ${SDK_OUTPUT}/usr/lib
+ install -d ${SDK_OUTPUT}/${prefix}/${layout_base_libdir}/opkg
+ mv ${SDK_OUTPUT}/${layout_base_libdir}/opkg/* \
+ ${SDK_OUTPUT}/${prefix}/${layout_base_libdir}/opkg/
+ rm -Rf ${SDK_OUTPUT}/${layout_base_libdir}
install -d ${SDK_OUTPUT}/${prefix}/${TARGET_SYS}/${layout_sysconfdir}
install -m 0644 ${IPKGCONF_TARGET} ${IPKGCONF_SDK} ${SDK_OUTPUT}/${prefix}/${TARGET_SYS}/${layout_sysconfdir}/