<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On 3 May 2017 at 09:23,  <span dir="ltr">&lt;<a href="mailto:rebecca.swee.fun.chang@intel.com" target="_blank">rebecca.swee.fun.chang@intel.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"><div id="gmail-:wx" class="gmail-a3s gmail-aXjCH gmail-m15bcd69dcf1a7b7c">+# Check for incompatible TARGET_ARCH<br>
+python __anonymous () {<br>
+    if d.getVar(&#39;TARGET_ARCH&#39;) == &quot;arc&quot;:<br>
+        raise bb.parse.SkipRecipe(&quot;<wbr>ghostscript is incompatible with target arc&quot;)<br>
+}</div></blockquote></div><br>Wouldn&#39;t it be neater to use COMPATIBLE_HOST?  For example sysprof doesn&#39;t work on aarch64 and uses COMPATIBLE_HOST = &quot;^(?!aarch64).*&quot;.</div><div class="gmail_extra"><br></div><div class="gmail_extra">Ross</div></div>