summaryrefslogtreecommitdiffstats
path: root/recipes-core/openjdk
Commit message (Collapse)AuthorAgeFilesLines
...
* Add explict getVar param for (non) expansionOtavio Salvador2015-07-061-1/+1
| | | | | | | | | | | | Rather than just use d.getVar(X), use the more explict d.getVar(X, False) since at some point in the future, having the default of expansion would be nice. This is the first step towards that. This patch was mostly made using the command: sed -e 's:\(getVar([^,()]*\)\s*):\1, False):g' -i `grep -ril getVar *` Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* openjdk-7: fix patchAmy Fong2015-06-231-1/+1
| | | | | | | Fixing what looks like a hand edited patch error Signed-off-by: Amy Fong <amy.fong@windriver.com> Signed-off-by: Maxin B. John <maxin.john@enea.com>
* openjdk-7: remove IcedTea 2.3.12, OpenJDK 7u25b30Sven Ebenfeld2015-04-2835-1739/+0
| | | | | | | We have now updated to IcedTea 2.5.4, so we can remove the old version. Signed-off-by: Sven Ebenfeld <sven.ebenfeld@gmail.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-2823-0/+1374
| | | | | Signed-off-by: Sven Ebenfeld <sven.ebenfeld@gmail.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* openjdk-6: Add libxslt-native as dependencyOtavio Salvador2015-04-011-1/+1
| | | | | | | | The build system looks for xsltproc during configure, when bootstrap is required, so we need to have it around. This has been catch when building the recipe in a clean tmp directory. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* openjdk-7: add /usr/lib/jni to DEFAULT_LIBPATHMario Domenech Goulart2015-03-312-0/+21
| | | | | | | | | Some recipes install JNI-based bindings into /usr/lib/jni (e.g., rxtx), so it's sensible to add this directory to DEFAULT_LIBPATH (java.library.path). That's also how Debian does. Signed-off-by: Mario Domenech Goulart <mario@ossystems.com.br> 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-6: Fix cross compilation for e6500 machinesZhenhua Luo2015-01-251-0/+14
| | | | | | | | | | | | | | This is only way for compile for now since qemu can not run the sizers binary for e6500 machines. It segfaults so we disable generating sizes and also xawt and jawt which depends on sizers, this lets jre to cross compile for ppc/e6500 The fix is ported according to da0b3a20a67496dc8d4282d19a60672001b7f825 Signed-off-by: Zhenhua Luo <zhenhua.luo@freescale.com> Signed-off-by: Ting Liu <ting.liu@freescale.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* openjdk-6: do not run gamma test for cross compilesTing Liu2015-01-251-0/+1
| | | | | | | | | | | | | set CROSS_COMPILE_ARCH which will be checked before run gamma test. Fix the below issue: | make[6]: Leaving directory `.../openjdk-6-jre/6b32-1.13.4-r22.0/build/openjdk.build/hotspot/outputdir/linux_ppc64_zero/product' | cd linux_ppc64_zero/product && ./test_gamma | ./test_gamma: line 72: ./gamma: cannot execute binary file | make[5]: *** [productzero] Error 126 Signed-off-by: Ting Liu <ting.liu@freescale.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* openjdk-6: pass option --disable-system-lcmsTing Liu2015-01-251-0/+1
| | | | | | | | | | | | | Fix the below issue: | checking whether to enable the use of LCMS2... yes | checking whether to use the system LCMS install... yes | checking for LCMS2... no | configure: error: Could not find LCMS >= 2.5; install it or build with --disable-system-lcms to use the in-tree copy. | Configure failed. The contents of all config.log files follows to aid debugging | ERROR: oe_runconf failed Signed-off-by: Ting Liu <ting.liu@freescale.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* openjdk-6: Remove currency data generation expiration dateTing Liu2015-01-252-0/+33
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | As the openjdk source was extracted during 'make patch-ecj' in do_configure, apply the patch via do_configure_append. icedtea6-1.13.4/Makefile.am:1200:stamps/extract-openjdk.stamp: stamps/download.stamp | if OPENJDK_SRC_DIR_FOUND | if ! test -d openjdk ; then \ | cp -pPR $(OPENJDK_SRC_DIR_LINK) $(OPENJDK_SRC_DIR) openjdk ; \ | fi | else | if USE_HG | if ! test -d openjdk ; then \ | cp -pPRl openjdk.hg openjdk ; \ | fi | else | set -e ; \ | if ! test -d openjdk ; \ | then \ | mkdir openjdk ; \ | $(TAR) xf $(OPENJDK_SRC_ZIP) -C openjdk; \ | chmod -R ug+w openjdk ; \ | sh $(abs_top_srcdir)/fsg.sh ; \ | fi | endif | endif Signed-off-by: Ting Liu <ting.liu@freescale.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* Revert "openjdk: Fix QEMU call to use sysroot for libs"Max Krummenacher2015-01-251-1/+1
| | | | | | | | | | | | | | | | | | | This reverts commit ab51e51d9a9a51bedd19de09bcba4ce830dfc5e7. Using an oe setup with ptest enabled makes qemu never to return due to testfiles staged by udev in the sysroot See also: http://lists.openembedded.org/pipermail/openembedded-core/2014-September/097098.html All binaries compiled for qemu are now linked with -static. The -L, -E parameters pointing to the sysroot and dynamic linker are not needed anymore and removel works around the issue. Further details: http://lists.openembedded.org/pipermail/openembedded-devel/2015-January/099795.html Signed-off-by: Max Krummenacher <max.oss.09@gmail.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* binaries run by qemu: link with -static, force ld.bfdMax Krummenacher2015-01-257-8/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | For machines using DEFAULTTUNE = "armv7ahf" or DEFAULTTUNE = "armv7athf" a build of openjdk-7 fails with segmentation faults during the qemu-arm runs. e.g. Segmentation fault (core dumped) | qemu-arm -cpu cortex-a8 -s 2097152 -L .../sysroots/colibri-t20 \ -E LD_LIBRARY_PATH=.../sysroots/colibri-t20/lib ./mkbc - bytecodes_arm.s I found that qemu-arm can not execute any binary which is compiled with the resulting compiler and is linked with the gold linker and the -static flag. Even a simple hello world program does not work. When executing that hello world on the real hardware it also generates a segmentation fault. Removing the -static flag or forcing the bfd linker fixed this. Note that other machines, colibri-t30 or i.mx6 based ones with neon but otherwise identical setup do not suffer from the issue. DEFAULTTUNE = "armv7athf-neon" works. While at it convert the sizer call for openjdk-7 used when building xawt also to use -static even though the code is currently disabled. Further details: http://lists.openembedded.org/pipermail/openembedded-devel/2015-January/099795.html Signed-off-by: Max Krummenacher <max.oss.09@gmail.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* openjdk: Remove currency data generation expiration date.Alex Gonzalez2014-12-312-0/+27
| | | | | | | | | | | | | | The currency data generation class makes a 10 years expiration date check. It might be reasonable to make sure the input data is updated periodically, but on an embedded system we don't want to have this type of built in time expirations. This commit removes the date expiration check. Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* openjdk: Fix QEMU call to use sysroot for librariesOtavio Salvador2014-12-301-1/+1
| | | | | | | | During the build, some utilities are ran using the QEMU however it wasn't using sysroot to load the Lib C and other base libraries. Pass the required options for QEMU to solve it. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* openjdk: fix do_install for out of source buildsMax Krummenacher2014-12-262-2/+2
| | | | | | | | 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>
* Merge https://github.com/ronaldonunez/meta-java into pendingOtavio Salvador2014-12-171-5/+5
|\ | | | | | | | | * https://github.com/ronaldonunez/meta-java: openjdk-postinst.inc: Corrects empty jvm.cfg after postinst task.
| * openjdk-postinst.inc: Corrects empty jvm.cfg after postinst task.Ronaldo Nunez2014-11-241-5/+5
| | | | | | | | Signed-off-by: Ronaldo Nunez <ronaldo.nunez@fotosensores.com>
* | Merge remote-tracking branch 'woglinde/dora' into testLukas Elsner2014-11-0310-1/+527
|\ \ | |/ |/| | | | | Conflicts: recipes-core/cacao/cacao_1.6.1.bb
| * openjdk: add pkgconfig supportCristian Iorga2014-10-141-1/+1
| | | | | | | | | | | | | | pkgconfig is now enabled, so that pkg-config macros will not fail in configure stage. Signed-off-by: Cristian Iorga <cristian.iorga@intel.com>
| * openjdk6: add version 1.13.4Henning Heinold2014-07-209-0/+526
| |
| * openjdk-common.inc: fix qemu usageHenning Heinold2014-03-052-1/+14
| | | | | | | | | | | | | | * compile all binaries, which are executed by qemu, with the static compilerflag, because of a memleak inside qemu * remove lib- and ld-path for qemu usage, because all binaries are compiled static now, openjdk7 seems to compile fine anyway
| * openjdk6: update icedtea 1.12 to version 1.12.8Henning Heinold2014-03-056-8/+503
| |
| * openjdk-7-release-25b30.inc: add patch to fix hotstop buildKoen Kooi2014-02-252-0/+15
| | | | | | | | | | | | When using --enable-zero=no the build will fail without this patch. Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
| * openjdk-7-release-25b30.inc: move nio patch to main section.Koen Kooi2014-02-251-4/+2
| | | | | | | | Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
| * openjdk-7-25b30: Forward port ppc patchesKhem Raj2014-02-251-38/+22
| | | | | | | | | | | | openjdk-7 update needed this patch to be reworked Signed-off-by: Khem Raj <raj.khem@gmail.com>
* | openjdk: fix do_install for out of source buildsHenning Heinold2014-06-262-2/+2
| |
* | openjdk: add our renamed libjavanet.so and lib.so to the private libsHenning Heinold2014-04-162-4/+4
| |
* | openjdk-common.inc: fix qemu usageHenning Heinold2014-03-052-1/+14
| | | | | | | | | | | | | | * compile all binaries, which are executed by qemu, with the static compilerflag, because of a memleak inside qemu * remove lib- and ld-path for qemu usage, because all binaries are compiled static now, openjdk7 seems to compile fine anyway
* | openjdk6: update icedtea 1.12 to version 1.12.8Henning Heinold2014-03-056-8/+503
| |
* | openjdk-7-release-25b30.inc: add patch to fix hotstop buildKoen Kooi2014-02-252-0/+15
| | | | | | | | | | | | When using --enable-zero=no the build will fail without this patch. Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
* | openjdk-7-release-25b30.inc: move nio patch to main section.Koen Kooi2014-02-251-4/+2
| | | | | | | | Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
* | openjdk-7-25b30: Forward port ppc patchesKhem Raj2014-02-251-38/+22
|/ | | | | | openjdk-7 update needed this patch to be reworked Signed-off-by: Khem Raj <raj.khem@gmail.com>
* openjdk6: adjust debug package, fixing QA issueHenning Heinold2014-01-091-1/+2
| | | | | * add /usr/src dir to debug package * bump INC_PR
* openjdk6: fix QA-Issue adding ASSEMBLY_EXCEPTION, THIRD_PARTY_README and ↵Henning Heinold2014-01-091-0/+3
| | | | LICENSE files to jdk package
* openjdk6: fix slpashscreen and jawt for host include and search path ↵Henning Heinold2014-01-091-0/+54
| | | | contamination
* 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: update download server in all remainings recipesHenning Heinold2013-10-102-9/+9
| | | | * new server is now icedtea.wildebeest.org
* openjdk: fix qa error for bad rpath inside cacao's libjvm.soHenning Heinold2013-10-036-9/+9
| | | | | | | * --with-libtool-sysroot needs a path, so it filters out wrong rpath settings * using ${ALT_FREETYPE_LIB_PATH} for this inside the icedtea Makefile because we already export it * bump PR manually on all buildable versions
* openjdk7: update checksums of jamvm tooHenning Heinold2013-10-011-2/+2
|
* openjdk7: download and verify the updated version of cacaoHenning Heinold2013-09-301-3/+3
|
* openjdk7: update openjdk7 to version 2.3.12Henning Heinold2013-09-2941-550/+572
| | | | | | * notice openjdk7 2.1 and 2.2 will soon get no updates anymore * openjdk7 2.3 has now arm byte compiler support * use cacao hg version e215e36be9fc, because a567bcb7f589 is not working
* openjdk7: update version 2.1 to 2.1.8Henning Heinold2013-05-033-42/+44
|
* openjdk6: update version 1.12 to 1.12.5Henning Heinold2013-04-305-129/+10
| | | | | * move some directivies to the included release file * remove patches which are applied upstream now
* 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-6: add arm thumb2 fix for version 1.12.4Henning Heinold2013-04-142-1/+98
| | | | | | * bump PR Signed-off-by: Henning Heinold <heinold@inf.fu-berlin.de>
* openjdk-7: update to version 2.1.7Henning Heinold2013-04-061-5/+5
| | | | Signed-off-by: Henning Heinold <heinold@inf.fu-berlin.de>
* openjdk: Create a common inc file between openjdk 6 and 7Khem Raj2013-04-043-154/+81
| | | | | | | | | | | | | | | | | | | | | 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>