summaryrefslogtreecommitdiff
path: root/classes
diff options
context:
space:
mode:
Diffstat (limited to 'classes')
-rw-r--r--classes/rootfs_ipk.oeclass3
1 files changed, 3 insertions, 0 deletions
diff --git a/classes/rootfs_ipk.oeclass b/classes/rootfs_ipk.oeclass
index 167aef5bfd..64537f9a9e 100644
--- a/classes/rootfs_ipk.oeclass
+++ b/classes/rootfs_ipk.oeclass
@@ -38,6 +38,9 @@ arch any 1
arch noarch 1
arch ${TARGET_ARCH} 10
EOF
+ if [ "${TARGET_ARCH}" != "${PACKAGE_ARCH}" ]; then
+ echo "arch ${PACKAGE_ARCH} 15" >>${T}/ipkg.conf
+ fi
if [ ! -z ${MACHINE} ]; then
echo "arch ${MACHINE} 20" >>${T}/ipkg.conf
fi