diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-04-16 11:31:45 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-04-16 12:51:04 +0100 |
commit | bc85abc5013d0c831cc3c3823df45536c293aaba (patch) | |
tree | afa8b8cfd5649406eb4e9697082a6ad3da48ecdc /meta/recipes-devtools/opkg | |
parent | 1d6156e37ef0f36cf5ce8eeaaf23560215c86833 (diff) | |
download | openembedded-core-bc85abc5013d0c831cc3c3823df45536c293aaba.tar.gz openembedded-core-bc85abc5013d0c831cc3c3823df45536c293aaba.tar.bz2 openembedded-core-bc85abc5013d0c831cc3c3823df45536c293aaba.zip |
opkg-config-base/poky-feed-config-opkg: Always use ALL_MULTILIB_PACKAGE_ARCHS to build arch list
We need consistent configuration files for opkg so we might as well always use
the full list. This is equal to PACKAGE_ARCHS in the non-multilib case.
This fixes various multilib failures with ipk multilibs.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/opkg')
-rw-r--r-- | meta/recipes-devtools/opkg/opkg-config-base_1.0.bb | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/meta/recipes-devtools/opkg/opkg-config-base_1.0.bb b/meta/recipes-devtools/opkg/opkg-config-base_1.0.bb index f37b2db27d..f40e981126 100644 --- a/meta/recipes-devtools/opkg/opkg-config-base_1.0.bb +++ b/meta/recipes-devtools/opkg/opkg-config-base_1.0.bb @@ -2,6 +2,7 @@ DESCRIPTION = "Base configuration files for opkg" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420" PACKAGE_ARCH = "${MACHINE_ARCH}" +PR = "r1" do_compile() { mkdir -p ${S}/${sysconfdir}/opkg/ @@ -9,12 +10,7 @@ do_compile() { archconf=${S}/${sysconfdir}/opkg/arch.conf rm -f $archconf - multilibs="${@d.getVar('MULTILIBS',True)}" - if [ "X${multilibs}" == "XNone" ]; then - ipkgarchs="${PACKAGE_ARCHS}" - else - ipkgarchs="${ALL_MULTILIB_PACKAGE_ARCHS}" - fi + ipkgarchs="${ALL_MULTILIB_PACKAGE_ARCHS}" priority=1 for arch in $ipkgarchs; do echo "arch $arch $priority" >> $archconf |