summaryrefslogtreecommitdiffstats
path: root/recipes-core/openjdk/openjdk-7-common.inc
Commit message (Collapse)AuthorAgeFilesLines
* remove True option to getVar callsAndré Draszik2019-12-271-1/+1
| | | | | | | | | | | | | | | 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 & 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 <andre.draszik@jci.com> Signed-off-by: Richard Leitner <richard.leitner@skidata.com>
* openjdk7: Make kerberos optional through PACKAGECONFIGRicardo Ribalda Delgado2019-07-091-1/+3
| | | | | | | | It triggers a lot of dependencies, and it is no clear that is needed. Signed-off-by: Ricardo Ribalda Delgado <ricardo@ribalda.com> Signed-off-by: Richard Leitner <richard.leitner@skidata.com>
* openjdk-7-common: fix jvm postinst scriptsRichard Leitner2018-10-021-18/+18
| | | | | | | | | | | | 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>
* openjdk-7: merge postinst into openjdk-7-commonRichard Leitner2018-10-021-1/+99
| | | | | | | | | | 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>
* openjdk-7: remove version dependent stuff from openjdk-commonRichard Leitner2018-10-021-0/+38
| | | | | | | Move the OpenJDK-7 specific parts from openjdk-common.inc to openjdk-7-common.inc. Signed-off-by: Richard Leitner <richard.leitner@skidata.com>
* openjdk-7: use openjdk_build_helper's ARCH translation functionsRichard Leitner2018-10-021-3/+0
| | | | | | | | | 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>
* java.bbclass: move openjdk/icedtea specific code into new classAndré Draszik2018-08-131-1/+1
| | | | | | | | | | 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>
* move from bb.data.getVar(x, d, 1) to d.getVar(x, True)Cody P Schafer2016-12-061-1/+1
| | | | | | | 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>
* Reimplement helper method for parallelizing JDK buildsKyle Russell2016-08-301-31/+1
| | | | | | | | | | | | | 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>
* openjdk-7: disable IcedTea's auto-downloadingRichard Leitner2016-08-241-0/+2
| | | | | | | | | 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>
* openjdk-7, openjdk-8: use vardeps to fix shared stateDaniel McGregor2016-07-181-0/+1
| | | | | | | | | 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>
* openjdk-7: fix the incorrect URIs and checksumsJackie Huang2016-01-041-17/+16
| | | | | | | | | | | | | 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>
* icedtea7-native/openjdk-7: fails on hosts with no unzipAmy Fong2016-01-041-0/+2
| | | | | | | | | | | | 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>
* openjdk-7: add depends on attrAmy Fong2016-01-041-0/+1
| | | | | | | | | | | | | | | | | | 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>
* openjdk-7: added java tools to the jdk packageAmy Fong2016-01-041-0/+1
| | | | | | | | | 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>
* openjdk-7: skip the already-stripped testJackie Huang2015-12-171-0/+4
| | | | | | | | | | 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>
* openjdk: fix indentationRichard Leitner2015-10-301-163/+162
| | | | | | | 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>
* openjdk-7: remove openjdk-7-release-*.incRichard Leitner2015-10-301-0/+34
| | | | | | | | | 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>
* openjdk7: remove broken/unsupported VM'sJens Rehsack2015-10-191-31/+0
| | | | | | | | | 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>
* icedtea7: allow modern Linux being used, eitherJens Rehsack2015-10-191-0/+1
| | | | | | | | 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>
* openjdk: Avoid extra-noise because of self-satisfying dependencyJens Rehsack2015-10-151-1/+1
| | | | | | | | | | | | | | | | 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>
* openjdk-7-common.inc: bump PR to 6Richard Leitner2015-08-181-1/+1
| | | | | | | 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>
* openjdk-7-common: fix FILES_openjdk-7-jre_appendRichard Leitner2015-08-181-7/+7
| | | | | | | | 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>
* openjdk-7: move "--disable-pulse-java" from common to 75b13 onlyRichard Leitner2015-08-181-1/+0
| | | | | | | | 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>
* openjdk-7-common: explicitely disable PCSC and SCTPRichard Leitner2015-08-181-0/+7
| | | | | | | | 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>
* openjdk-7: Add libxslt-native and krb5 as dependencySven Ebenfeld2015-04-281-2/+2
| | | | | Signed-off-by: Sven Ebenfeld <sven.ebenfeld@gmail.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* openjdk-7: use icedtea7-native as dependency instead of icedtea6Sven Ebenfeld2015-04-281-2/+2
| | | | | | | 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>
* openjdk-7: Add IcedTea 2.5.4 OpenJDK 7u75b13Sven Ebenfeld2015-04-281-0/+1
| | | | | Signed-off-by: Sven Ebenfeld <sven.ebenfeld@gmail.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* openjdk-7-jre: RDEPENDS openjdk-7-commonMagnus Olsson2015-03-111-1/+2
| | | | | | | | | | | | | -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>
* openjdk: fix do_install for out of source buildsMax Krummenacher2014-12-261-1/+1
| | | | | | | | 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>
* openjdk: fix do_install for out of source buildsHenning Heinold2014-06-261-1/+1
|
* openjdk: add our renamed libjavanet.so and lib.so to the private libsHenning Heinold2014-04-161-2/+2
|
* openjdk7: use icedtea6-native instead of icedtea7-nativeHenning Heinold2014-01-091-2/+2
| | | | | | | * 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
* openjdk-7: Fix QA errors non debug package contains .debug directoryKhem Raj2013-04-211-0/+1
| | | | | | | | | | | | 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>
* openjdk: Create a common inc file between openjdk 6 and 7Khem Raj2013-04-041-76/+2
| | | | | | | | | | | | | | | | | | | | | 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>
* llvm,openjdk: Turn bitbake parse error into warning on finding unsupported CPUKhem Raj2013-03-281-1/+1
| | | | | | | | | 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>
* openjdk7: add debug folders for cacao and jamvm libjvm.soHenning Heinold2013-03-111-0/+2
|
* openjdk7: get icedtea version from recipe name like openjdk6Henning Heinold2013-03-101-2/+2
|
* openjdk: remove llvm as dependency until we can shark enable againHenning Heinold2013-01-251-11/+1
|
* openjdk: link libjvm.so from hotspot to archdirHenning Heinold2013-01-251-1/+3
| | | | | * native libararies located in the archdir search for libjvm.so in the archdir directory so make a link to satisfy the search
* openjdk: factor out the postinst bitsHenning Heinold2013-01-251-80/+1
| | | | | * bump INC_PR of openjdk-6-common.inc * when both are going to be installed use jdk-7 as default
* openjdk-7: use $D in postinst so readonly fs works and switch to ↵Henning Heinold2013-01-241-27/+22
| | | | | | update-alternatives class * bump INC_PR
* openjdk7: disable shark until it is working againHenning Heinold2012-12-071-2/+3
|
* openjdk7: bring back additional vmsHenning Heinold2012-11-261-1/+2
| | | | * bump PR
* openjdk7: use right make command so addtional jvms are getting installedHenning Heinold2012-11-261-1/+1
|
* openjdk7: update to version 2.1.3Henning Heinold2012-11-231-2/+2
| | | | * libxp is gone
* openjdk7: copy over the openjdk7 from openjdk7-branchHenning Heinold2012-11-221-0/+496
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.