diff options
Diffstat (limited to 'meta')
| -rw-r--r-- | meta/recipes-devtools/opkg/opkg-config-base_1.0.bb | 7 |
1 files changed, 6 insertions, 1 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 3a559cb57d..f37b2db27d 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() { | |||
| 9 | archconf=${S}/${sysconfdir}/opkg/arch.conf | 9 | archconf=${S}/${sysconfdir}/opkg/arch.conf |
| 10 | 10 | ||
| 11 | rm -f $archconf | 11 | rm -f $archconf |
| 12 | ipkgarchs="${PACKAGE_ARCHS}" | 12 | multilibs="${@d.getVar('MULTILIBS',True)}" |
| 13 | if [ "X${multilibs}" == "XNone" ]; then | ||
| 14 | ipkgarchs="${PACKAGE_ARCHS}" | ||
| 15 | else | ||
| 16 | ipkgarchs="${ALL_MULTILIB_PACKAGE_ARCHS}" | ||
| 17 | fi | ||
| 13 | priority=1 | 18 | priority=1 |
| 14 | for arch in $ipkgarchs; do | 19 | for arch in $ipkgarchs; do |
| 15 | echo "arch $arch $priority" >> $archconf | 20 | echo "arch $arch $priority" >> $archconf |
