From: Phil Blundell Date: Thu, 15 Jul 2004 10:58:54 +0000 (+0000) Subject: apply patch from Robert McQueen to mention ${MACHINE} in ipkg.conf X-Git-Tag: Release-2010-05/1~18214 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6709eeed65861d329ff4b5653b924f997456114f;p=openembedded.git apply patch from Robert McQueen to mention ${MACHINE} in ipkg.conf BKrev: 40f6636eh9RlYxuAd7KcksUe4aN50Q --- 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