| Submitter | Xiaofeng Yan |
|---|---|
| Date | April 9, 2012, 7:48 a.m. |
| Message ID | <b23d2ada953e13001fa9b38535f5a32636f7c91e.1333957247.git.xiaofeng.yan@windriver.com> |
| Download | mbox | patch |
| Permalink | /patch/25355/ |
| State | Accepted |
| Commit | 700fc9a5d25ebb1f85cb9db11e41ba502744fe7e |
| Headers | show |
Comments
Patch
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 3a559cb..f37b2db 100644 --- a/meta/recipes-devtools/opkg/opkg-config-base_1.0.bb +++ b/meta/recipes-devtools/opkg/opkg-config-base_1.0.bb @@ -9,7 +9,12 @@ do_compile() { archconf=${S}/${sysconfdir}/opkg/arch.conf rm -f $archconf - ipkgarchs="${PACKAGE_ARCHS}" + multilibs="${@d.getVar('MULTILIBS',True)}" + if [ "X${multilibs}" == "XNone" ]; then + ipkgarchs="${PACKAGE_ARCHS}" + else + ipkgarchs="${ALL_MULTILIB_PACKAGE_ARCHS}" + fi priority=1 for arch in $ipkgarchs; do echo "arch $arch $priority" >> $archconf