mirror of
https://git.yoctoproject.org/poky
synced 2026-05-04 13:39:49 +02:00
multilib: avoid expanding grub and grub-efi to multilib
It doesn't make much sense to expand them to multilib, and there is an error on qemuarm64 since grub-efi supports arm64, but doesn't support armv7a or armv7ve: * Fixed: MACHINE = "qemuarm64" require conf/multilib.conf MULTILIBS = "multilib:lib32" DEFAULTTUNE_virtclass-multilib-lib32 = "armv7a" MACHINE_FEATURES_append = " efi" $ bitbake lib32-core-image-minimal Also introduced a variable NON_MULTILIB_RECIPES in multilib.conf, so that we can easily add other recipes, such as syslinux if needed. (From OE-Core rev: 25f7c6c329038b443d36074fff45a30ba3712f7a) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
f7198b473f
commit
a1fd97e1c7
@@ -164,8 +164,11 @@ python multilib_virtclass_handler_global () {
|
||||
if variant:
|
||||
return
|
||||
|
||||
non_ml_recipes = d.getVar('NON_MULTILIB_RECIPES').split()
|
||||
|
||||
if bb.data.inherits_class('kernel', e.data) or \
|
||||
bb.data.inherits_class('module-base', e.data):
|
||||
bb.data.inherits_class('module-base', e.data) or \
|
||||
d.getVar('BPN') in non_ml_recipes:
|
||||
variants = (e.data.getVar("MULTILIB_VARIANTS") or "").split()
|
||||
|
||||
import oe.classextend
|
||||
|
||||
Reference in New Issue
Block a user