From dfc9b3d6f7f05b7c67995540d4d71b44db9684f8 Mon Sep 17 00:00:00 2001 From: Tom Rini Date: Fri, 19 Jun 2009 19:15:15 -0400 Subject: meta-toolchain: Use ${layout_base_libdir} not usr/lib for opkg. --- recipes/meta/meta-toolchain.bb | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'recipes') 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}/ -- cgit v1.2.3