summaryrefslogtreecommitdiffstats
path: root/recipes-extended
diff options
context:
space:
mode:
authorKasper Revsbech <kasper.revsbech.ext@siemensgamesa.com>2022-02-15 15:31:23 +0100
committerBruce Ashfield <bruce.ashfield@gmail.com>2022-02-24 10:47:31 -0500
commite6f165dcecc7fd56bee6dcd902caaf800e79e6b6 (patch)
tree1174a41046b9a6eedc458313bf893fcd85eee07b /recipes-extended
parentef08aac3ddb036fbdaf161e5a456225eb808731e (diff)
downloadmeta-virtualization-e6f165dcecc7fd56bee6dcd902caaf800e79e6b6.tar.gz
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>
Diffstat (limited to 'recipes-extended')
-rw-r--r--recipes-extended/xvisor/xvisor-configs.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/recipes-extended/xvisor/xvisor-configs.inc b/recipes-extended/xvisor/xvisor-configs.inc
index f53bba25..cd873cb3 100644
--- a/recipes-extended/xvisor/xvisor-configs.inc
+++ b/recipes-extended/xvisor/xvisor-configs.inc
@@ -9,7 +9,7 @@ def get_oemake_config(a, d):
9 elif re.match('riscv32(eb|)$', a): return 'generic-32b-defconfig' 9 elif re.match('riscv32(eb|)$', a): return 'generic-32b-defconfig'
10 elif re.match('riscv64(eb|)$', a): return 'generic-64b-defconfig' 10 elif re.match('riscv64(eb|)$', a): return 'generic-64b-defconfig'
11 else: 11 else:
12 bb.error("cannot map '%s' to a Xvisor defconfig" % a) 12 bb.note("cannot map '%s' to a Xvisor defconfig" % a)
13 13
14def map_xvisor_arch(a, d): 14def map_xvisor_arch(a, d):
15 import re 15 import re
@@ -22,4 +22,4 @@ def map_xvisor_arch(a, d):
22 elif re.match('aarch64_be_ilp32$', a): return 'arm' 22 elif re.match('aarch64_be_ilp32$', a): return 'arm'
23 elif re.match('riscv(32|64|)(eb|)$', a): return 'riscv' 23 elif re.match('riscv(32|64|)(eb|)$', a): return 'riscv'
24 else: 24 else:
25 bb.error("cannot map '%s' to a Xvisor architecture" % a) 25 bb.note("cannot map '%s' to a Xvisor architecture" % a)