summaryrefslogtreecommitdiff
path: root/classes/image_ipk.oeclass
diff options
context:
space:
mode:
Diffstat (limited to 'classes/image_ipk.oeclass')
-rw-r--r--classes/image_ipk.oeclass3
1 files changed, 3 insertions, 0 deletions
diff --git a/classes/image_ipk.oeclass b/classes/image_ipk.oeclass
index f0fb5ec483..7f47b3959e 100644
--- a/classes/image_ipk.oeclass
+++ b/classes/image_ipk.oeclass
@@ -36,6 +36,9 @@ arch any 1
arch noarch 1
arch ${TARGET_ARCH} 10
EOF
+ if [ ! -z ${MACHINE} ]; then
+ echo "arch ${MACHINE} 10" >>${DEPLOY_DIR_IMAGE}/ipkg.conf
+ fi
for i in ${IPKG_ARCHS}; do
if [ $i != "all" ] && [ $i != "${TARGET_ARCH}" ]; then
echo "arch $i 5" >> ${DEPLOY_DIR_IMAGE}/ipkg.conf