summaryrefslogtreecommitdiffstats
path: root/recipes-core
Commit message (Collapse)AuthorAgeFilesLines
* java-library: inherit allarchMax Krummenacher2015-02-171-0/+1
| | | | | | | | | | | | | | | | | | Use the allarch class to make every packages in the 'all' ARCH. Recipes inheriting java-library which build additional packages which don't belong in to all ARCH must manually setting PACKAGE_ARCH after inheritting java-library. This fixes the following error when building e.g. rhino for a second machine of different architecture in the same build directory: ERROR: The recipe rhino is trying to install files into a shared area when those files already exist. Those files and their manifest location are: /.../ipk/all/librhino-java_1.7r4-r0_all.ipk Matched in manifest-armv7at2hf-vfp-rhino-package_write_ipk Signed-off-by: Max Krummenacher <max.oss.09@gmail.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* licence: add missing LIC_FILES_CHKSUMMax Krummenacher2015-02-1719-10/+26
| | | | | | | | While at it change the LICENSE string to the oe one if applicable. e.g. AL-2.0 -> Apache-2.0 Signed-off-by: Max Krummenacher <max.oss.09@gmail.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* cleanup whitespace in tasksMax Krummenacher2015-02-175-96/+95
| | | | | | | Indent with 4 spaces in task definitions. Signed-off-by: Max Krummenacher <max.oss.09@gmail.com> 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>
* icedtea: openjdk: Remove currency data generation expiration date.Alex Gonzalez2014-12-312-0/+26
| | | | | | | | | | | | | 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: 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>
* cacao: Update update-alternatives macros.Alex Gonzalez2014-12-301-3/+3
| | | | Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
* fastjar: Update update-alternatives macros.Alex Gonzalez2014-12-301-2/+2
| | | | Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
* jikes: Update update-alternatives macros.Alex Gonzalez2014-12-301-2/+2
| | | | Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
* Revert "icedtea6-native: Depends on linux-libc-headers-native"Otavio Salvador2014-12-301-1/+1
| | | | | | This reverts commit 79c731ead1813a700b63dab5f728239b7d312e3c. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* icedtea6-native: fix native-vsyscall failingMax Krummenacher2014-12-302-0/+45
| | | | | | | | | | On a Fedora 20 build machine icedtea6-native fails with: x86_64-linux/icedtea6-native/1.8.11-r5.3/icedtea6-1.8.11/openjdk-ecj/hotspot/src/os/linux/vm/os_linux.cpp:2431:60: error: expression cannot be used as a function vgetcpu_t vgetcpu = (vgetcpu_t)VSYSCALL_ADDR(__NR_vgetcpu); ^ make[7]: *** [os_linux.o] Error 1 The patch makes the build succeed. (On an openSUSE 13.1 machine the build succeeds with and without the patch)
* 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 branch 'jamvm-fix' of https://github.com/merten/meta-java into pendingOtavio Salvador2014-12-181-2/+2
|\ | | | | | | | | * 'jamvm-fix' of https://github.com/merten/meta-java: jamvm: port to new update-alternatives
| * jamvm: port to new update-alternativesMerten Sach2014-11-231-2/+2
| |
* | 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 branch 'yocto_1.8' of https://github.com/mindrunner/meta-java into pendingOtavio Salvador2014-12-1711-2/+528
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 'yocto_1.8' of https://github.com/mindrunner/meta-java: openjdk-7: inherit pkgconfig ecj: fix unpackpost task openjdk: add pkgconfig support README: minor fixes README: update openjdk6 to the latest icedtea version openjdk6: add version 1.13.4 jamvm: update git url to sourceforge while berlios is gone java-test-image: add jamvm, cacao and classpath jamvm: update git version to ebd11bde0a97b57f0d18938c6b65468d3c932719 jamvm: add inherit pkgconfig README: update for icedtea version 1.12.8 cacao: fix target compilation and packaging openjdk-common.inc: fix qemu usage openjdk6: update icedtea 1.12 to version 1.12.8 libmatthew: Remove the dummy jar symlink openjdk-7-release-25b30.inc: add patch to fix hotstop build openjdk-7-release-25b30.inc: move nio patch to main section. openjdk-7-25b30: Forward port ppc patches
| * \ Merge remote-tracking branch 'woglinde/dora' into testLukas Elsner2014-11-0311-2/+528
| |\ \ | | |/ | |/| | | | | | | Conflicts: recipes-core/cacao/cacao_1.6.1.bb
| | * ecj: fix unpackpost taskdoraCristian Iorga2014-10-141-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | ecj recipe is built as initial and as native, as such, unpackpost is run multiple times over the same code source. Added check if a move operation hasn't been already executed. Signed-off-by: Cristian Iorga <cristian.iorga@intel.com>
| | * 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
| | |
| | * jamvm: update git url to sourceforge while berlios is goneHenning Heinold2014-04-131-1/+1
| | |
| | * jamvm: update git version to ebd11bde0a97b57f0d18938c6b65468d3c932719Henning Heinold2014-04-072-33/+1
| | | | | | | | | | | | * remove annotations.patch, because it was fixed upstream
| | * jamvm: add inherit pkgconfigHenning Heinold2014-04-071-1/+1
| | |
| | * cacao: fix target compilation and packagingHenning Heinold2014-03-051-5/+22
| | |
| | * 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
| | |
| | * libmatthew: Remove the dummy jar symlinkKhem Raj2014-02-251-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | This symlink is made to make the java-library class happy but it makes no sense to package it up in any package since it does not belong anywhere so lets delete it Signed-off-by: Khem Raj <raj.khem@gmail.com>
| | * 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>
* | | icedtea6-native: Depends on linux-libc-headers-nativeOtavio Salvador2014-12-161-1/+1
|/ / | | | | | | | | | | | | | | | | | | | | | | This fixes #74. The error was: ,---- | .../icedtea6-1.8.11/openjdk-ecj/hotspot/src/os/linux/vm/os_linux.cpp:2431:60: \ | error: expression cannot be used as a function | vgetcpu_t vgetcpu = (vgetcpu_t)VSYSCALL_ADDR(__NR_vgetcpu); `---- Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* | openjdk: fix do_install for out of source buildsHenning Heinold2014-06-262-2/+2
| |
* | cacao: switch to autotools-brokensepHenning Heinold2014-06-081-1/+1
| |
* | cacao-initial: switch to autotools-brokensepHenning Heinold2014-06-081-1/+1
| |
* | Added patch to fix build of package classpath-0.99 with the freetype2 library.Martin Rösch2014-06-082-0/+37
| |
* | openjdk: add our renamed libjavanet.so and lib.so to the private libsHenning Heinold2014-04-162-4/+4
| |
* | jamvm: update git url to sourceforge while berlios is goneHenning Heinold2014-04-161-1/+1
| |
* | jamvm: update git version to ebd11bde0a97b57f0d18938c6b65468d3c932719Henning Heinold2014-04-162-33/+1
| | | | | | | | * remove annotations.patch, because it was fixed upstream
* | jamvm: add inherit pkgconfigHenning Heinold2014-04-161-1/+1
| |
* | cacao: fix target compilation and packagingHenning Heinold2014-04-161-5/+22
| |
* | 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
| |
* | libmatthew: Remove the dummy jar symlinkKhem Raj2014-02-251-0/+3
| | | | | | | | | | | | | | | | This symlink is made to make the java-library class happy but it makes no sense to package it up in any package since it does not belong anywhere so lets delete it Signed-off-by: Khem Raj <raj.khem@gmail.com>