<html><head></head><body><div>On Mon, 2017-02-06 at 14:44 +0000, Phil Blundell wrote:</div><blockquote type="cite"><div>But sadly the contents of libecj-bootstrap-native doesn't actually show up in gnujaf-native's recipe-sysroot-native.</div></blockquote><div><br></div><div>A bit of further sleuthing reveals that although this problem only started with rss the blame lies somewhere else. It transpires that meta-java's java-library.bbclass contains the somewhat epically unhelpful (in this context) fragment:</div><div><br></div><div># Java "source" distributions often contain precompiled things</div><div># we want to delete first.</div><div>do_removebinaries() {</div><div> find ${WORKDIR} -name "*.jar" -exec rm {} \;</div><div> find ${WORKDIR} -name "*.class" -exec rm {} \;</div><div>}</div><div><br></div><div>addtask removebinaries after do_unpack before do_patch</div><div><br></div><div>And, since recipe-sysroot-native is inside ${WORKDIR}, this blows away everything that rss carefully placed there. Doh.</div><div><br></div><div>p.</div><div><br></div><div></div></body></html>