[OE-core] task i was asked about: "Fix java build to not use host java"

Robert P. J. Day rpjday at crashcourse.ca
Sun Feb 16 09:37:37 UTC 2020


  (NOTE: while this was asked in the context of the latest wind river
linux, i'm guessing it applies to stock OE/YP.)

  regarding a WRL project that i haven't actually seen yet, one of the
items on a TO DO list reads, "Fix java build to not use host java",
and i'm trying to clarify what that might mean without yet seeing the
project.

  as i read that brief item, i'm assuming that this is a java-based
project wherein some java recipes must be compiled and added to the
image and, currently, it's the host java compiler that is being used,
whereas they want a java compiler to be compiled, added to the native
sysroot, and used for all java compilation.

  i'm aware of bitbake.conf's ASSUME_PROVIDED variable which says
nothing about java, and i've never worked on a java-flavoured OE
project before, so i'm curious as to whether the host java would be
used by default, and how to override that.

  does this make sense? a pointer to some reasonable example of a
java-infused YP project would probably suffice, and i'm aware of the
meta-java layer, which i assume will be dragged in. i have no details
beyond this at the moment, just trying to figure out what that task
might mean.

rday

-- 

========================================================================
Robert P. J. Day                                 Ottawa, Ontario, CANADA
                         http://crashcourse.ca

Twitter:                                       http://twitter.com/rpjday
LinkedIn:                               http://ca.linkedin.com/in/rpjday
========================================================================


More information about the Openembedded-core mailing list