summaryrefslogtreecommitdiffstats
path: root/meta/classes
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@linux.intel.com>2010-01-14 13:16:13 +0000
committerRichard Purdie <rpurdie@linux.intel.com>2010-01-14 13:16:13 +0000
commitce687c223fabb02d2a3a797e85ee727d6a909fab (patch)
treef3a520758785bd3f5f271d192faf5aa24781b2f4 /meta/classes
parentadede582cd0d9b8b1aa90479d09c96386ee9a7a4 (diff)
downloadpoky-ce687c223fabb02d2a3a797e85ee727d6a909fab.tar.gz
package_ipk.bbclass: Tweak handling for all/any/noarch and nativesdk
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'meta/classes')
-rw-r--r--meta/classes/package_ipk.bbclass6
1 files changed, 5 insertions, 1 deletions
diff --git a/meta/classes/package_ipk.bbclass b/meta/classes/package_ipk.bbclass
index 56a1e73ecc..04b117b75d 100644
--- a/meta/classes/package_ipk.bbclass
+++ b/meta/classes/package_ipk.bbclass
@@ -122,7 +122,11 @@ package_generate_archlist () {
122 for arch in $ipkgarchs; do 122 for arch in $ipkgarchs; do
123 sdkarch=`echo $arch | sed -e 's/${HOST_ARCH}/${SDK_ARCH}/'` 123 sdkarch=`echo $arch | sed -e 's/${HOST_ARCH}/${SDK_ARCH}/'`
124 echo "arch $arch $priority" >> ${IPKGCONF_TARGET} 124 echo "arch $arch $priority" >> ${IPKGCONF_TARGET}
125 echo "arch $sdkarch-nativesdk $priority" >> ${IPKGCONF_SDK} 125 extension=-nativesdk
126 if [ "$sdkarch" = "all" -o "$sdkarch" = "any" -o "$sdkarch" = "noarch" ]; then
127 extension=""
128 fi
129 echo "arch $sdkarch$extension $priority" >> ${IPKGCONF_SDK}
126 priority=$(expr $priority + 5) 130 priority=$(expr $priority + 5)
127 done 131 done
128 echo "arch ${SDK_ARCH}-${TARGET_ARCH}-canadian $priority" >> ${IPKGCONF_SDK} 132 echo "arch ${SDK_ARCH}-${TARGET_ARCH}-canadian $priority" >> ${IPKGCONF_SDK}