<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On 3 May 2017 at 09:23, <span dir="ltr"><<a href="mailto:rebecca.swee.fun.chang@intel.com" target="_blank">rebecca.swee.fun.chang@intel.com</a>></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('TARGET_ARCH') == "arc":<br>
+ raise bb.parse.SkipRecipe("<wbr>ghostscript is incompatible with target arc")<br>
+}</div></blockquote></div><br>Wouldn't it be neater to use COMPATIBLE_HOST? For example sysprof doesn't work on aarch64 and uses COMPATIBLE_HOST = "^(?!aarch64).*".</div><div class="gmail_extra"><br></div><div class="gmail_extra">Ross</div></div>