<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On 12 November 2015 at 23:39, Christopher Larson <span dir="ltr">&lt;<a href="mailto:kergoth@gmail.com" target="_blank">kergoth@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div id=":4v0" class="a3s" style="overflow:hidden">diff --git a/meta/classes/qemu.bbclass b/meta/classes/qemu.bbclass<br>
index 315c17f..1f5bbcc 100644<br>
--- a/meta/classes/qemu.bbclass<br>
+++ b/meta/classes/qemu.bbclass<br>
@@ -50,3 +50,8 @@ QEMU_EXTRAOPTIONS_ppc64e5500 = &quot; -cpu e5500&quot;<br>
 QEMU_EXTRAOPTIONS_ppce6500 = &quot; -cpu e6500&quot;<br>
 QEMU_EXTRAOPTIONS_ppc64e6500 = &quot; -cpu e6500&quot;<br>
 QEMU_EXTRAOPTIONS_ppc7400   = &quot; -cpu 7400&quot;<br>
+<br>
+python () {<br>
+    if &quot;QEMU_EXTRAOPTIONS&quot; in d and d.expand(&quot;QEMU_EXTRAOPTIONS_${PACKAGE_ARCH}&quot;) not in d and d.getVar(&quot;PACKAGE_ARCH&quot;, True) != &quot;all&quot;:<br>
+        bb.fatal(&quot;Incorrect use of overrides rather than PACKAGE_ARCH for QEMU_EXTRAOPTIONS&quot;)<br>
+}</div></blockquote></div><br>I think you meant to split this out.</div><div class="gmail_extra"><br></div><div class="gmail_extra">Ross</div></div>