diff options
Diffstat (limited to 'meta')
-rw-r--r-- | meta/classes/package_ipk.bbclass | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/meta/classes/package_ipk.bbclass b/meta/classes/package_ipk.bbclass index d327bfc6b3..ebd8320a2c 100644 --- a/meta/classes/package_ipk.bbclass +++ b/meta/classes/package_ipk.bbclass | |||
@@ -75,7 +75,7 @@ package_update_index_ipk () { | |||
75 | 75 | ||
76 | packagedirs="${DEPLOY_DIR_IPK}" | 76 | packagedirs="${DEPLOY_DIR_IPK}" |
77 | for arch in $ipkgarchs; do | 77 | for arch in $ipkgarchs; do |
78 | packagedirs="$packagedirs ${DEPLOY_DIR_IPK}/$arch ${DEPLOY_DIR_IPK}/${BUILD_ARCH}-$arch-nativesdk" | 78 | packagedirs="$packagedirs ${DEPLOY_DIR_IPK}/$arch ${DEPLOY_DIR_IPK}/${SDK_ARCH}-$arch-nativesdk" |
79 | done | 79 | done |
80 | 80 | ||
81 | for pkgdir in $packagedirs; do | 81 | for pkgdir in $packagedirs; do |
@@ -100,8 +100,8 @@ package_generate_ipkg_conf () { | |||
100 | if [ -e ${DEPLOY_DIR_IPK}/$arch/Packages ] ; then | 100 | if [ -e ${DEPLOY_DIR_IPK}/$arch/Packages ] ; then |
101 | echo "src oe-$arch file:${DEPLOY_DIR_IPK}/$arch" >> ${IPKGCONF_TARGET} | 101 | echo "src oe-$arch file:${DEPLOY_DIR_IPK}/$arch" >> ${IPKGCONF_TARGET} |
102 | fi | 102 | fi |
103 | if [ -e ${DEPLOY_DIR_IPK}/${BUILD_ARCH}-$arch-nativesdk/Packages ] ; then | 103 | if [ -e ${DEPLOY_DIR_IPK}/${SDK_ARCH}-$arch-nativesdk/Packages ] ; then |
104 | echo "src oe-${BUILD_ARCH}-$arch-nativesdk file:${DEPLOY_DIR_IPK}/${BUILD_ARCH}-$arch-nativesdk" >> ${IPKGCONF_SDK} | 104 | echo "src oe-${SDK_ARCH}-$arch-nativesdk file:${DEPLOY_DIR_IPK}/${SDK_ARCH}-$arch-nativesdk" >> ${IPKGCONF_SDK} |
105 | fi | 105 | fi |
106 | done | 106 | done |
107 | } | 107 | } |
@@ -111,7 +111,7 @@ package_generate_archlist () { | |||
111 | priority=1 | 111 | priority=1 |
112 | for arch in $ipkgarchs; do | 112 | for arch in $ipkgarchs; do |
113 | echo "arch $arch $priority" >> ${IPKGCONF_TARGET} | 113 | echo "arch $arch $priority" >> ${IPKGCONF_TARGET} |
114 | echo "arch ${BUILD_ARCH}-$arch-nativesdk $priority" >> ${IPKGCONF_SDK} | 114 | echo "arch ${SDK_ARCH}-$arch-nativesdk $priority" >> ${IPKGCONF_SDK} |
115 | priority=$(expr $priority + 5) | 115 | priority=$(expr $priority + 5) |
116 | done | 116 | done |
117 | } | 117 | } |