<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/meta-java.git/classes, branch thud</title>
<subtitle>[no description]</subtitle>
<id>https://git.enea.com/cgit/linux/meta-java.git/atom?h=thud</id>
<link rel='self' href='https://git.enea.com/cgit/linux/meta-java.git/atom?h=thud'/>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-java.git/'/>
<updated>2018-12-18T15:05:15+00:00</updated>
<entry>
<title>java-library: make packages overriding PACKAGE_ARCH work again</title>
<updated>2018-12-18T15:05:15+00:00</updated>
<author>
<name>André Draszik</name>
<email>andre.draszik@jci.com</email>
</author>
<published>2018-11-17T09:57:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-java.git/commit/?id=b0c74493af1415dfd3b6caf77ebc677ed4e0fdaa'/>
<id>urn:sha1:b0c74493af1415dfd3b6caf77ebc677ed4e0fdaa</id>
<content type='text'>
Recent changes is OE have caused the traditional approach of inheriting
allarch and setting PACKAGE_ARCH not work anymore. Once allarch is
inherited, PACKAGE_ARCH can not be overridden afterwards.
See commit a23c482cab4f ("allarch: only enable allarch when multilib
is not used") d9ba0219b2f6 in poky.
    http://git.openembedded.org/openembedded-core/commit/?id=a23c482cab4f874f4a6a6889716123569eb5ece9

The error manifests itself with configure trying to
   --host=allarch-poky-linux --target=allarch-poky-linux
which fails.

To work around this we can make java-library's allarch inherit
conditional, as is done e.g. in OE-core for packagegroup.bbclass
    http://git.openembedded.org/openembedded-core/commit/?id=9c826962ec8fa45c2b035427442b90a41517144e
    http://git.openembedded.org/openembedded-core/commit/?id=2c9b1d304daade7b0907320aeb9c522e7ab9dcab

So this commit does exactly that, and fixes the two users of this to
follow the new approach.

Signed-off-by: André Draszik &lt;andre.draszik@jci.com&gt;
Signed-off-by: Richard Leitner &lt;richard.leitner@skidata.com&gt;
</content>
</entry>
<entry>
<title>openjdk-build-helper: add get_*_arch functions</title>
<updated>2018-10-02T05:59:06+00:00</updated>
<author>
<name>Richard Leitner</name>
<email>richard.leitner@skidata.com</email>
</author>
<published>2018-08-20T21:14:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-java.git/commit/?id=8d12f59cfc6e829bf3454840db4de4935401b058'/>
<id>urn:sha1:8d12f59cfc6e829bf3454840db4de4935401b058</id>
<content type='text'>
As different parts of OpenJDK use sightly different names for ARCH'es we
provide those translations functions centrally in our
openjdk-build-helper class.

Signed-off-by: Richard Leitner &lt;richard.leitner@skidata.com&gt;
</content>
</entry>
<entry>
<title>openjdk-build-helper: move c compiler flags retrieval to here (from openjdk-8)</title>
<updated>2018-08-13T20:55:05+00:00</updated>
<author>
<name>André Draszik</name>
<email>andre.draszik@jci.com</email>
</author>
<published>2018-08-13T15:09:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-java.git/commit/?id=bb3dcf4228fb457939680dc9df3df2bda681abfb'/>
<id>urn:sha1:bb3dcf4228fb457939680dc9df3df2bda681abfb</id>
<content type='text'>
Icedtea 7 and OpenJDK 7 will need to apply new compiler flags for certain
compiler version without breaking support for older (host) compilers.

Move here so that the same code can be re-used.

Signed-off-by: André Draszik &lt;andre.draszik@jci.com&gt;
Signed-off-by: Richard Leitner &lt;richard.leitner@skidata.com&gt;
</content>
</entry>
<entry>
<title>java.bbclass: move openjdk/icedtea specific code into new class</title>
<updated>2018-08-13T20:52:44+00:00</updated>
<author>
<name>André Draszik</name>
<email>andre.draszik@jci.com</email>
</author>
<published>2018-08-13T15:09:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-java.git/commit/?id=3c710bf3a90fde0cf6d590ffefc349bfb9a1c677'/>
<id>urn:sha1:3c710bf3a90fde0cf6d590ffefc349bfb9a1c677</id>
<content type='text'>
The code moved is not relevant to anything using java, just for
compiling java itself. It doesn't make sense to have here.

Move it into openjdk-build-helper

Signed-off-by: André Draszik &lt;andre.draszik@jci.com&gt;
Signed-off-by: Richard Leitner &lt;richard.leitner@skidata.com&gt;
</content>
</entry>
<entry>
<title>images/classes: add open{jdk,jre}-{7,8} test</title>
<updated>2018-06-19T12:15:12+00:00</updated>
<author>
<name>Richard Leitner</name>
<email>richard.leitner@skidata.com</email>
</author>
<published>2018-06-18T10:19:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-java.git/commit/?id=2a001736248137de0ab1737955b341324f699aa5'/>
<id>urn:sha1:2a001736248137de0ab1737955b341324f699aa5</id>
<content type='text'>
Add image classes and images for open{jdk,jre}-{7,8} oeqa tests. These
will be the basis for future "quality gates".

Signed-off-by: Richard Leitner &lt;richard.leitner@skidata.com&gt;
</content>
</entry>
<entry>
<title>java-library.bbclass: compatibility with per-recipe sysroots</title>
<updated>2017-07-21T09:04:01+00:00</updated>
<author>
<name>S. Lockwood-Childs</name>
<email>sjl@vctlabs.com</email>
</author>
<published>2017-07-12T08:36:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-java.git/commit/?id=c4b9b97c7c60ad5c0c3392ccf143b2e4e6c7df24'/>
<id>urn:sha1:c4b9b97c7c60ad5c0c3392ccf143b2e4e6c7df24</id>
<content type='text'>
The removebinaries task was intended to remove pre-built .jar and .class files
from the unpacked source, but when per-recipe sysroots were implemented and
ended up under WORKDIR, .jar or .class in those sysroots inadvertently started
getting killed as well.

For instance, ${WORKDIR}/recipe-sysroot-native/usr/share/java/ecj-bootstrap.jar
was deleted when attempting to build jlex-native... which made javac in
that sysroot rather unhappy.

Solve by excluding both recipe-sysroot and recipe-sysroot-native dirs
from the search-and-destroy operation.

Signed-off-by: S. Lockwood-Childs &lt;sjl@vctlabs.com&gt;
Signed-off-by: Maxin B. John &lt;maxin.john@intel.com&gt;
</content>
</entry>
<entry>
<title>move from bb.data.getVar(x, d, 1) to d.getVar(x, True)</title>
<updated>2016-12-06T18:25:08+00:00</updated>
<author>
<name>Cody P Schafer</name>
<email>dev@codyps.com</email>
</author>
<published>2016-11-29T16:48:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-java.git/commit/?id=2a3cd732ce7efea9f372862be7ef70ff5ecb50d9'/>
<id>urn:sha1:2a3cd732ce7efea9f372862be7ef70ff5ecb50d9</id>
<content type='text'>
bb.data.getVar was removed, need to use the modern mechanism.

Signed-off-by: Cody P Schafer &lt;dev@codyps.com&gt;
Signed-off-by: Otavio Salvador &lt;otavio@ossystems.com.br&gt;
</content>
</entry>
<entry>
<title>Reimplement helper method for parallelizing JDK builds</title>
<updated>2016-08-30T13:49:09+00:00</updated>
<author>
<name>Kyle Russell</name>
<email>bkylerussell@gmail.com</email>
</author>
<published>2016-08-24T13:28:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-java.git/commit/?id=8c663efa4f8efccf50d094dbc61c7b78031b3b7d'/>
<id>urn:sha1:8c663efa4f8efccf50d094dbc61c7b78031b3b7d</id>
<content type='text'>
Simplifies duplicated implementation across multiple recipes that all
inherited from java.bbclass.

Previously implementation was not flexible in supporting other make
job-limiting flags (like -l for load) that are typically passed in
through PARALLEL_MAKE.  (OpenJDK doesn't know about these other flags
that might have gotten tagged on after the value for -j.)

Signed-off-by: Kyle Russell &lt;bkylerussell@gmail.com&gt;
Signed-off-by: Maxin B. John &lt;maxin.john@intel.com&gt;
</content>
</entry>
<entry>
<title>java.bbclass: change a warning message to note</title>
<updated>2016-07-18T13:43:23+00:00</updated>
<author>
<name>Jackie Huang</name>
<email>jackie.huang@windriver.com</email>
</author>
<published>2016-05-30T08:37:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-java.git/commit/?id=4f7fb37a87e7d63a7419e480ea403aa02a2ce900'/>
<id>urn:sha1:4f7fb37a87e7d63a7419e480ea403aa02a2ce900</id>
<content type='text'>
The logic is to check if the destination file exists before
create the symlink, and give a message about removing the
existing file, it's harmless and not necessary to be a warning.

Signed-off-by: Jackie Huang &lt;jackie.huang@windriver.com&gt;
Signed-off-by: Otavio Salvador &lt;otavio@ossystems.com.br&gt;
</content>
</entry>
<entry>
<title>java.bbclass: java missing classes during compile</title>
<updated>2016-01-04T11:21:06+00:00</updated>
<author>
<name>Amy Fong</name>
<email>amy.fong@windriver.com</email>
</author>
<published>2015-04-16T17:52:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-java.git/commit/?id=24092dc5e6680602d8a4b66bd9046f345bf58b3a'/>
<id>urn:sha1:24092dc5e6680602d8a4b66bd9046f345bf58b3a</id>
<content type='text'>
oe_makeclasspath is used to define the classpath argument passed to
javac for a number of packages. The current behaviour takes a number
args specifying jar files to look for and if the files exist, it adds
it to a specified variable.

On some builds, oe_makeclasspath cannot find the jar file.

oe_makeclasspath used an invalid test to see the package is native.
(testing if the build arch and package arch are the same, if so, native)
We test to see if PN matches *-native or *-nativesdk instead.

Signed-off-by: Amy Fong &lt;amy.fong@windriver.com&gt;
Signed-off-by: Jackie Huang &lt;jackie.huang@windriver.com&gt;
</content>
</entry>
</feed>
