diff options
author | Stelios Koroneos <skoroneos@digital-opsis.com> | 2007-09-06 05:59:04 +0000 |
---|---|---|
committer | Stelios Koroneos <skoroneos@digital-opsis.com> | 2007-09-06 05:59:04 +0000 |
commit | ca7e526e53d66fdcb62a0f42a51c883c29eec2fa (patch) | |
tree | 4b08150855b8b4ea2191a133a515eefaaecdf07b | |
parent | 6f784c700d590ff8cab06be8ed854165a8447906 (diff) | |
parent | cd413adf1ba62cb4dc83f418998338be601ee912 (diff) |
merge of '67a0d6fb746dc6576bd8ae2410c1144c785b13d0'
and '6a2d2b93d5aaaeac208513989dea7830e85864d2'
-rw-r--r-- | classes/package_ipk.bbclass | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/classes/package_ipk.bbclass b/classes/package_ipk.bbclass index e9e21456dd..0b7f274a96 100644 --- a/classes/package_ipk.bbclass +++ b/classes/package_ipk.bbclass @@ -82,6 +82,10 @@ package_update_index_ipk () { touch ${DEPLOY_DIR_IPK}/$arch/Packages ipkg-make-index -r ${DEPLOY_DIR_IPK}/$arch/Packages -p ${DEPLOY_DIR_IPK}/$arch/Packages -l ${DEPLOY_DIR_IPK}/$arch/Packages.filelist -m ${DEPLOY_DIR_IPK}/$arch/ fi + if [ -e ${DEPLOY_DIR_IPK}/${BUILD_ARCH}-$arch-sdk/ ] ; then + touch ${DEPLOY_DIR_IPK}/${BUILD_ARCH}-$arch-sdk/Packages + ipkg-make-index -r ${DEPLOY_DIR_IPK}/${BUILD_ARCH}-$arch-sdk/Packages -p ${DEPLOY_DIR_IPK}/${BUILD_ARCH}-$arch-sdk/Packages -l ${DEPLOY_DIR_IPK}/${BUILD_ARCH}-$arch-sdk/Packages.filelist -m ${DEPLOY_DIR_IPK}/${BUILD_ARCH}-$arch-sdk/ + fi done } @@ -102,7 +106,9 @@ package_generate_ipkg_conf () { priority=$(expr $priority + 5) if [ -e ${DEPLOY_DIR_IPK}/$arch/Packages ] ; then echo "src oe-$arch file:${DEPLOY_DIR_IPK}/$arch" >> ${IPKGCONF_TARGET} - echo "src oe-$arch file:${DEPLOY_DIR_IPK}/$arch" >> ${IPKGCONF_SDK} + fi + if [ -e ${DEPLOY_DIR_IPK}/${BUILD_ARCH}-$arch-sdk/Packages ] ; then + echo "src oe-${BUILD_ARCH}-$arch-sdk file:${DEPLOY_DIR_IPK}/${BUILD_ARCH}-$arch-sdk" >> ${IPKGCONF_SDK} fi done } |