mirror of
git://git.yoctoproject.org/meta-virtualization.git
synced 2025-07-04 21:05:25 +02:00
xen-image-minimal: fix aarch64 build for non-qemuboot-enabled machines
The qemuboot device tree generation task in qemuboot-xen-dtb.bbclass requires the QB_SYSTEM_NAME variable to be set to identify the Qemu binary to use. Skip the task if it is not set. Reported-and-tested-by: Jon Mason <jdmason@kudzu.us> Signed-off-by: Christopher Clark <christopher.clark@starlab.io> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
This commit is contained in:
parent
b975a66297
commit
5fdf66c1e2
|
@ -176,7 +176,7 @@ do_write_xen_qemuboot_dtb() {
|
|||
# Not all architectures qemuboot with a device tree binary, so check
|
||||
# to see if one is needed. This allows this bbclass file to be used
|
||||
# in the same image recipe for multiple architectures.
|
||||
if [ -n "${QB_DTB}" ] ; then
|
||||
if [ -n "${QB_DTB}" ] && [ -n "${QB_SYSTEM_NAME}" ] ; then
|
||||
generate_xen_qemuboot_dtb
|
||||
fi
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user