On Mon, Feb 6, 2017 at 8:55 AM, Phil Blundell <p...@pbcl.net> wrote: > On Mon, 2017-02-06 at 14:44 +0000, Phil Blundell wrote: > > But sadly the contents of libecj-bootstrap-native doesn't actually show up > in gnujaf-native's recipe-sysroot-native. > > > 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: > > # Java "source" distributions often contain precompiled things > # we want to delete first. > do_removebinaries() { > find ${WORKDIR} -name "*.jar" -exec rm {} \; > find ${WORKDIR} -name "*.class" -exec rm {} \; > } > > addtask removebinaries after do_unpack before do_patch > > And, since recipe-sysroot-native is inside ${WORKDIR}, this blows away > everything that rss carefully placed there. Doh.
good job. yeah this pre-rss assumptions, I also had another issue where clang cross compiler was happily searching native sysroot for headers. Not rss fault but exposed a latent problem. -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core