mirror of
git://git.yoctoproject.org/meta-virtualization.git
synced 2025-07-19 12:50:22 +02:00
xvisor: Remove bb.error when builing for non-supported arch
Change bb.error to bb.note when getting config and arch of target/host as it is not an error if arch is not supported that should flag when parsing the recipe. It is an error if trying to include in image and that is already handled in COMPATIBLE_HOST Signed-off-by: Kasper Revsbech <kasper.revsbech.ext@siemensgamesa.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
This commit is contained in:
parent
ef08aac3dd
commit
e6f165dcec
|
@ -9,7 +9,7 @@ def get_oemake_config(a, d):
|
|||
elif re.match('riscv32(eb|)$', a): return 'generic-32b-defconfig'
|
||||
elif re.match('riscv64(eb|)$', a): return 'generic-64b-defconfig'
|
||||
else:
|
||||
bb.error("cannot map '%s' to a Xvisor defconfig" % a)
|
||||
bb.note("cannot map '%s' to a Xvisor defconfig" % a)
|
||||
|
||||
def map_xvisor_arch(a, d):
|
||||
import re
|
||||
|
@ -22,4 +22,4 @@ def map_xvisor_arch(a, d):
|
|||
elif re.match('aarch64_be_ilp32$', a): return 'arm'
|
||||
elif re.match('riscv(32|64|)(eb|)$', a): return 'riscv'
|
||||
else:
|
||||
bb.error("cannot map '%s' to a Xvisor architecture" % a)
|
||||
bb.note("cannot map '%s' to a Xvisor architecture" % a)
|
||||
|
|
Loading…
Reference in New Issue
Block a user