diff options
author | Phil Blundell <philb@gnu.org> | 2004-08-05 10:09:06 +0000 |
---|---|---|
committer | Phil Blundell <philb@gnu.org> | 2004-08-05 10:09:06 +0000 |
commit | e995ca496c2c6989865664bf537144be164a570a (patch) | |
tree | c54ada70b18664e4eff578b75965d489023d16d8 | |
parent | 6b53f0b5bb3f2c129e35fcb8fb3476517fc7e55a (diff) |
Merge bk://openembedded@openembedded.bkbits.net/packages
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
-rw-r--r-- | classes/rootfs_ipk.oeclass | 3 |
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 |