diff options
-rw-r--r-- | classes/qemuboot-xen-dtb.bbclass | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/classes/qemuboot-xen-dtb.bbclass b/classes/qemuboot-xen-dtb.bbclass index 08f9b02e..2d37e913 100644 --- a/classes/qemuboot-xen-dtb.bbclass +++ b/classes/qemuboot-xen-dtb.bbclass | |||
@@ -176,7 +176,7 @@ do_write_xen_qemuboot_dtb() { | |||
176 | # Not all architectures qemuboot with a device tree binary, so check | 176 | # Not all architectures qemuboot with a device tree binary, so check |
177 | # to see if one is needed. This allows this bbclass file to be used | 177 | # to see if one is needed. This allows this bbclass file to be used |
178 | # in the same image recipe for multiple architectures. | 178 | # in the same image recipe for multiple architectures. |
179 | if [ -n "${QB_DTB}" ] ; then | 179 | if [ -n "${QB_DTB}" ] && [ -n "${QB_SYSTEM_NAME}" ] ; then |
180 | generate_xen_qemuboot_dtb | 180 | generate_xen_qemuboot_dtb |
181 | fi | 181 | fi |
182 | } | 182 | } |