<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/meta-java.git/classes, branch warrior-next</title>
<subtitle>[no description]</subtitle>
<id>https://git.enea.com/cgit/linux/meta-java.git/atom?h=warrior-next</id>
<link rel='self' href='https://git.enea.com/cgit/linux/meta-java.git/atom?h=warrior-next'/>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-java.git/'/>
<updated>2020-08-17T11:02:40+00:00</updated>
<entry>
<title>remove True option to getVar calls</title>
<updated>2020-08-17T11:02:40+00:00</updated>
<author>
<name>André Draszik</name>
<email>andre.draszik@jci.com</email>
</author>
<published>2019-01-13T11:13:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-java.git/commit/?id=8f6374ef51eb0f4d2e85fbd6b546b9cee0bb954d'/>
<id>urn:sha1:8f6374ef51eb0f4d2e85fbd6b546b9cee0bb954d</id>
<content type='text'>
getVar() has been defaulting to expanding by default for
a long time (2016), thus remove the True option from
getVar() calls with a regex search and replace.

Search &amp; replace made using the following command:
    sed -e 's|\(d\.getVar \?\)( \?\([^,()]*\), \?True)|\1(\2)|g' \
        -i $(git grep -E 'getVar ?\( ?([^,()]*), ?True\)' \
             | cut -d':' -f1 \
             | sort -u)

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-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>
</feed>
