<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On 6 May 2016 at 13:13, Catalin Enache <span dir="ltr"><<a href="mailto:catalin.enache@windriver.com" target="_blank">catalin.enache@windriver.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div> DEPENDS_class-target = "<span>grub</span>-<span>efi</span>-native"<br>
RDEPENDS_${PN}_class-target = "diffutils freetype"<br>
+DEPENDS += "autogen-native"</div></blockquote></div><br>Because += happens after overrides this results in autogen-native only a dependency in native builds, so you can't be sure it will be present for target builds.</div><div class="gmail_extra"><br></div><div class="gmail_extra">Should the configure_prepend and autogen-native be added to grub2.inc so that every recipe has that dependency?</div><div class="gmail_extra"><br></div><div class="gmail_extra">Ross</div></div>