Merge bk://openembedded@openembedded.bkbits.net/packages
authorPhil Blundell <philb@gnu.org>
Thu, 5 Aug 2004 10:09:06 +0000 (10:09 +0000)
committerPhil Blundell <philb@gnu.org>
Thu, 5 Aug 2004 10:09:06 +0000 (10:09 +0000)
into stealth.(none):/home/pb/oe/oe-packages

2004/08/05 11:08:34+01:00 (none)!pb
add PACKAGE_ARCH to ipkg.conf if different from TARGET_ARCH

BKrev: 41120742faIfJ1E8hsgsVzfSBOyJiA

classes/rootfs_ipk.oeclass

index 167aef5..64537f9 100644 (file)
@@ -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