aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-core/openjdk/openjdk-7-common.inc
AgeCommit message (Collapse)Author
2018-10-02openjdk-7-common: fix jvm postinst scriptsRichard Leitner
As the JVM postinst scripts fail during rootfs creation we postpone them to the target using the "pkg_postinst_ontarget_" function. Failing the build at failing postinst scripts was intentionally introduced by oe-core. Furthermore remove the no longer needed $D prefixes from those postinst scripts. Signed-off-by: Richard Leitner <richard.leitner@skidata.com>
2018-10-02openjdk-7: merge postinst into openjdk-7-commonRichard Leitner
As openjdk-7-common was the only consumer of openjdk-postinst.inc move it's content and remove openjdk-postinst.inc. Now all files in recipes-core/openjdk are named correctly according to their versions again. Signed-off-by: Richard Leitner <richard.leitner@skidata.com>
2018-10-02openjdk-7: remove version dependent stuff from openjdk-commonRichard Leitner
Move the OpenJDK-7 specific parts from openjdk-common.inc to openjdk-7-common.inc. Signed-off-by: Richard Leitner <richard.leitner@skidata.com>
2018-10-02openjdk-7: use openjdk_build_helper's ARCH translation functionsRichard Leitner
As the openjdk_build_helper now provides the ARCH translation function use those and drop the local ones. Furthermore remove the duplicated LLVM_CONFIGURE_ARCH export. Signed-off-by: Richard Leitner <richard.leitner@skidata.com>
2018-08-13java.bbclass: move openjdk/icedtea specific code into new classAndré Draszik
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 <andre.draszik@jci.com> Signed-off-by: Richard Leitner <richard.leitner@skidata.com>
2016-12-06move from bb.data.getVar(x, d, 1) to d.getVar(x, True)Cody P Schafer
bb.data.getVar was removed, need to use the modern mechanism. Signed-off-by: Cody P Schafer <dev@codyps.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2016-08-30Reimplement helper method for parallelizing JDK buildsKyle Russell
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 <bkylerussell@gmail.com> Signed-off-by: Maxin B. John <maxin.john@intel.com>
2016-08-24openjdk-7: disable IcedTea's auto-downloadingRichard Leitner
Pass "--enable-downloading=no" to IcedTea's make. This ensures IcedTea uses the versions and checksums we defined in the openjdk-7-jre recipe for its "sub-modules". Signed-off-by: Richard Leitner <richard.leitner@skidata.com> Signed-off-by: Maxin B. John <maxin.john@intel.com>
2016-07-18openjdk-7, openjdk-8: use vardeps to fix shared stateDaniel McGregor
Previously if PARALLEL_MAKE changed, so did the task signature for do_configure. Use vardepsvalue so that the signature remains constant. Signed-off-by: Daniel McGregor <daniel.mcgregor@vecima.com> Signed-off-by: Maxin B. John <maxin.john@intel.com>
2016-01-04openjdk-7: fix the incorrect URIs and checksumsJackie Huang
The error in do_configure is like: openjdk.tar.bz2: FAILED /usr/bin/sha256sum: WARNING: 1 of 1 computed checksum did NOT match That's because the URIs and checksums do not match the ones defined in Makefile.am, then the configure will fail the test and download again from ICEDTEA_DROP_URL. Signed-off-by: Jackie Huang <jackie.huang@windriver.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2016-01-04icedtea7-native/openjdk-7: fails on hosts with no unzipAmy Fong
Fails with an error message /usr/bin/unzip not found. Additionally, icedtea7 enables you to specify an unzip to use by setting the variable UNZIP, this results in an error because unzip uses UNZIP to specify options, hence you'll end up with unzip trying to unzip unzip. Note: Same issue applies to openjdk Signed-off-by: Amy Fong <amy.fong@windriver.com> Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
2016-01-04openjdk-7: add depends on attrAmy Fong
openjdk depends on attr, this can result in a configure failure if the dependency is missing. checking for sys/epoll.h... (cached) yes checking attr/xattr.h usability... no checking attr/xattr.h presence... no checking for attr/xattr.h... no configure: error: Could not find required system headers; install the appropriate files from glibc-headers, libc6-dev and/or libattr-devel, libattr1-dev or use --disable-compile-against-syscalls if necessary. Configure failed. The contents of all config.log files follows to aid debugging Signed-off-by: Amy Fong <amy.fong@windriver.com> Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
2016-01-04openjdk-7: added java tools to the jdk packageAmy Fong
The jdk package was missing tools like javac and tools.jar. Adding jvm to the packaging pulls in the tool set. Signed-off-by: Paul Barrette <paul.barrette@windriver.com> Signed-off-by: Amy Fong <amy.fong@windriver.com> Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
2015-12-17openjdk-7: skip the already-stripped testJackie Huang
libfreetype.so.6 is copied from STAGING_LIBDIR and binaries/libraries in sysroot are already stripped since the following commit in oe-core: "30f3774 staging: Strip files in sysroot" Signed-off-by: Jackie Huang <jackie.huang@windriver.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-10-30openjdk: fix indentationRichard Leitner
Change the indentation for all openjdk recipes to 4 spaces. Signed-off-by: Richard Leitner <richard.leitner@skidata.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-10-30openjdk-7: remove openjdk-7-release-*.incRichard Leitner
Due to the fact we will always support only one OpenJDK 7 version the openjdk-7-release-*.inc is not needed. Therefore remove this file and split it content to openjdk-7_*.bb and openjdk-7-common.inc. Signed-off-by: Richard Leitner <richard.leitner@skidata.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-10-19openjdk7: remove broken/unsupported VM'sJens Rehsack
Since Shark is utterly broken and cacao and jamvm are terrible slow compared to zero, it's pointless to support them for targets with limited resources unless there is active maintainership taken by responsible person. Signed-off-by: Jens Rehsack <sno@netbsd.org> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-10-19icedtea7: allow modern Linux being used, eitherJens Rehsack
Since Yocto Project has a reasonable definition of supported build hosts, we shouldn't restrict to e.g. pre 4.x kernels as icedtea7 expects. Signed-off-by: Jens Rehsack <sno@netbsd.org> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-10-15openjdk: Avoid extra-noise because of self-satisfying dependencyJens Rehsack
I realized one small issue last days: the dependency of openjdk-*-demos on java2-vm, which is provided by the current recipe (eg. openjdk-7) causes bitbake scan for alternatives (eg. java2-vm provided by openjdk-6) without any need. I would recommend to remove such a generic dependency: * openjdk-6-demos require openjdk-6-jre, period. * openjdk-7-demos require openjdk-7-jre, period. * openjdk-8-demos require openjdk-8-jre, period. There is no sense in satisfying openjdk-8-demos with openjdk-6-jre (even if it might be possible). Signed-off-by: Jens Rehsack <sno@netbsd.org> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-08-18openjdk-7-common.inc: bump PR to 6Richard Leitner
Increment the PR of openjdk-7-common.inc due to the previous changes. Signed-off-by: Richard Leitner <richard.leitner@skidata.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-08-18openjdk-7-common: fix FILES_openjdk-7-jre_appendRichard Leitner
Use the PN variable instead of the hardcoded "openjdk-7-jre" string. Furthermore fix the indentation of its content. Signed-off-by: Richard Leitner <richard.leitner@skidata.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-08-18openjdk-7: move "--disable-pulse-java" from common to 75b13 onlyRichard Leitner
The "--disable-pulse-java" configuration is no longer available in IcedTea 2.6.1, therefore move it to the 2.5.4 (75b13) version only. Signed-off-by: Richard Leitner <richard.leitner@skidata.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-08-18openjdk-7-common: explicitely disable PCSC and SCTPRichard Leitner
PCSC default value was changed to true and SCTP was added during the 2.6.0 IcedTea release so disable them both explicitely in openjdk-7-common.inc Signed-off-by: Richard Leitner <richard.leitner@skidata.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-04-28openjdk-7: Add libxslt-native and krb5 as dependencySven Ebenfeld
Signed-off-by: Sven Ebenfeld <sven.ebenfeld@gmail.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-04-28openjdk-7: use icedtea7-native as dependency instead of icedtea6Sven Ebenfeld
Due to problems when using native rmic, I switched to using icedtea7. Signed-off-by: Sven Ebenfeld <sven.ebenfeld@gmail.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-04-28openjdk-7: Add IcedTea 2.5.4 OpenJDK 7u75b13Sven Ebenfeld
Signed-off-by: Sven Ebenfeld <sven.ebenfeld@gmail.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-03-11openjdk-7-jre: RDEPENDS openjdk-7-commonMagnus Olsson
-jre binaries such as keytool, policytool and more requires libjli.so so ensure there's a RDEPEND that provides it. Same goes for openjdk-7-java (java binary FILERDEPENDS libjli.so). Both of these already DEPENDS -common, so the build was not broken before but this patch will also silence the QA file-rdeps issue. Signed-off-by: Magnus Olsson <magnus@minimum.se> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2014-12-26openjdk: fix do_install for out of source buildsMax Krummenacher
use ${B} to specify the build directory, thus keep working for daisy and older versions as well as for dizzy and newer. Signed-off-by: Max Krummenacher <max.oss.09@gmail.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2014-06-26openjdk: fix do_install for out of source buildsHenning Heinold
2014-04-16openjdk: add our renamed libjavanet.so and lib.so to the private libsHenning Heinold
2014-01-09openjdk7: use icedtea6-native instead of icedtea7-nativeHenning Heinold
* the current icedtea7 seems to have some issues when compiling on recent linux distribution * switch back to icedtea6-native to have a reliable state for building openjdk7
2013-04-21openjdk-7: Fix QA errors non debug package contains .debug directoryKhem Raj
Fixes errors like below when building jamvm as additional VM ERROR: QA Issue: non debug package contains .debug directory: openjdk-7-common path /work/ppce500v2-poky-linux-gnuspe/openjdk-7-jre/03b21-2.1.7-r6.0/packages-split/openjdk-7-common/usr/lib/jvm/java-7-openjdk/jre/lib/ppc/client/.debug/libjvm.so ERROR: QA run found fatal errors. Please consider fixing them. ERROR: Function failed: do_package_qa Signed-off-by: Khem Raj <raj.khem@gmail.com>
2013-04-04openjdk: Create a common inc file between openjdk 6 and 7Khem Raj
we hit below errors ERROR: The function get_jdk_arch defined in openjdk-7-common.inc was already declared in openjdk-6-common.inc. BitBake has a global python function namespace so shared functions should be declared in a common include file rather than being duplicated, or if the functions are different, please use different function names. ERROR: The function get_llvm_configure_arch defined in openjdk-7-common.inc was already declared in openjdk-6-c ommon.inc. BitBake has a global python function namespace so shared functions should be declared in a common in clude file rather than being duplicated, or if the functions are different, please use different function names This patch fixes the above Signed-off-by: Khem Raj <raj.khem@gmail.com>
2013-03-28llvm,openjdk: Turn bitbake parse error into warning on finding unsupported CPUKhem Raj
Sometimes we have meta-java in bblayers but one of the CPUs e.g. mips64 which does not support openjdk errors out on parsing. Thats not OK if say the image thats being generated does not use java at all. So its ok to warn and inform about it clearly but it should not be error. Signed-off-by: Khem Raj <raj.khem@gmail.com>
2013-03-11openjdk7: add debug folders for cacao and jamvm libjvm.soHenning Heinold
2013-03-10openjdk7: get icedtea version from recipe name like openjdk6Henning Heinold
2013-01-25openjdk: remove llvm as dependency until we can shark enable againHenning Heinold
2013-01-25openjdk: link libjvm.so from hotspot to archdirHenning Heinold
* native libararies located in the archdir search for libjvm.so in the archdir directory so make a link to satisfy the search
2013-01-25openjdk: factor out the postinst bitsHenning Heinold
* bump INC_PR of openjdk-6-common.inc * when both are going to be installed use jdk-7 as default
2013-01-24openjdk-7: use $D in postinst so readonly fs works and switch to ↵Henning Heinold
update-alternatives class * bump INC_PR
2012-12-07openjdk7: disable shark until it is working againHenning Heinold
2012-11-26openjdk7: bring back additional vmsHenning Heinold
* bump PR
2012-11-26openjdk7: use right make command so addtional jvms are getting installedHenning Heinold
2012-11-23openjdk7: update to version 2.1.3Henning Heinold
* libxp is gone
2012-11-22openjdk7: copy over the openjdk7 from openjdk7-branchHenning Heinold
The branches differed to much and I wanted to keep openjdk-6. We will loose some history, but I think that is not a great problem Thanks to khem for working on the recipes too.