| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
| |
Since bd9c6023, virtual/java-initial is provided by
cacao-initial-native and jamvm-initial-native. For consistency, this
commit makes them provide virtual/java-initial-native instead.
Signed-off-by: Mario Domenech Goulart <mario@ossystems.com.br>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
|
|
|
|
|
| |
Signed-off-by: Mario Domenech Goulart <mario@ossystems.com.br>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
|
|
|
|
|
|
|
|
| |
That's how Debian does, supposedly because it does not make sense to
ship .jar and .so files into separate packages.
Signed-off-by: Mario Domenech Goulart <mario@ossystems.com.br>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
-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>
|
|
|
|
|
|
|
| |
Support for /dev/ttymxc* devices.
Signed-off-by: Mario Domenech Goulart <mario@ossystems.com.br>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
|
|
|
|
|
|
|
|
|
| |
Update the recipe to apply all patches available from
git://anonscm.debian.org/pkg-java/rxtx.git as of
a4cd13e04254cea7842df2e30e9d12e9765a3ef9.
Signed-off-by: Mario Domenech Goulart <mario@ossystems.com.br>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
A number of recipes in meta-java use autotools.bbclass for building; internally
it uses the sstate-control populate_sysroot manifests to locate and copy
aslocals for configure dependencies as part of the do_configure step.
The manifest path differs depending on if it's a native package or not so
autotools.bbclass looks at the package name to determine if its native or not
(it's native if it ends with "-native").
The warnings are emitted because a few (native) recipes in meta-java (such as
cacao-initial, classpath-initial and more) are incorrectly being classified as
non-native by autotools.bbclass, which makes it look for the manifest in the
wrong place and finally gives up with the warning:
WARNING: /home/oe/tmp-glibc/sstate-control/manifest-mymachine-libecj-bootstrap.populate_sysroot not found
This happens for cacao-initial, classpath-initial, ecj-initial, libecj-boostrap,
jamvm-initial and jikes-initial since they are all native and rely on autotools.
This patch renames the recipes so they end with -native, e.g ecj-initial-native.
It also updates the recipes so they DEPEND on the corresponding new name. This
helps autotools.bbclass to properly classify the recipes are native and silence
the warnings.
Signed-off-by: Magnus Olsson <magnus@minimum.se>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
|
|
|
|
|
|
|
|
| |
Removes a currency date expiration check whis causes a build
failure.
Signed-off-by: Hugo Vasconcelos Saldanha <hugo.saldanha@aker.com.br>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
|
|
|
|
|
|
|
|
| |
do_install was calling an unnecessary 'make install'. oe_jarinstall
provided by java-library class is sufficient.
Signed-off-by: Hugo Vasconcelos Saldanha <hugo.saldanha@aker.com.br>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
|
|
|
|
|
|
|
|
|
|
|
| |
In native build, the link is not created by update-alternatives.
Some package builds were failing, like gnumail and gnujaf, if cacao
was the PREFERRED_PROVIDER_virtual/java-native.
Something similiar is currently done with jamvm-native.
Signed-off-by: Hugo Vasconcelos Saldanha <hugo.saldanha@aker.com.br>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
|
|
|
|
|
|
|
|
|
| |
Before configuring package, we upgrade m4 macros with a call to
libtoolize. Otherwise, compiling would fail with a complain about
different versions of libtool.
Signed-off-by: Hugo Vasconcelos Saldanha <hugo.saldanha@aker.com.br>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
While testing commit 'java-library: inherit allarch' I found some recipes
throwing errors in do_compile.
The recipes jaxme and xom currently don't build with compiler errors.
jaxen, dom4j, jdom, commons-jxpath, commons-configuration depend directly
or indirectly on jaxme and/or xom and thus are unbildable.
Signed-off-by: Max Krummenacher <max.oss.09@gmail.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
|
|
|
|
|
|
|
|
|
|
| |
The override virtclass_native has been deprecated and removed from the
buildsystem, use class-native instead.
While at it fix whitespace issues.
Signed-off-by: Max Krummenacher <max.oss.09@gmail.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
| |
Signed-off-by: Max Krummenacher <max.oss.09@gmail.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The section with stuff to be put in local.conf/distro conf currently
can not be directly copy/pasted from the README
- adding a missing "
- putting a # before each comment
- commenting out alternatives
- fixing version string 6b27-1.12.8
- adding version 6b32-1.13.4
Signed-off-by: Max Krummenacher <max.oss.09@gmail.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
| |
Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
|
|
|
|
| |
Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
|
|
|
|
| |
Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
|
|
|
|
|
|
| |
This reverts commit 219c6bfc9ae9456e06b08e1cc49c83060f5196d2.
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
|
|
|
|
|
|
| |
This reverts commit 79c731ead1813a700b63dab5f728239b7d312e3c.
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
|
|
|
|
|
|
|
|
|
|
| |
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)
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
| |
This improves the information regarding how to contribute to the
layer.
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
|
|\
| |
| |
| |
| | |
* 'jamvm-fix' of https://github.com/merten/meta-java:
jamvm: port to new update-alternatives
|
| | |
|
| |
| |
| |
| | |
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
|
|\ \
| | |
| | |
| | |
| | | |
* https://github.com/ronaldonunez/meta-java:
openjdk-postinst.inc: Corrects empty jvm.cfg after postinst task.
|
| |/
| |
| |
| | |
Signed-off-by: Ronaldo Nunez <ronaldo.nunez@fotosensores.com>
|
|\ \
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
* '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
|
| |\ \
| | | |
| | | |
| | | |
| | | | |
Conflicts:
recipes-core/openjdk/openjdk-common.inc
|
| | |/
| | |
| | |
| | |
| | | |
Building OpenJDK-7 in Yocto 1.7 (Dizzy) quits with errors as follows. Inheriting pkgconfig fixes this problem.
.../configure: line 8645: syntax error near unexpected token `NSS,'
.../configure: line 8645: `PKG_CHECK_MODULES(NSS, nss, NSS_FOUND=yes, NSS_FOUND=no)'
|
| |\ \
| | |/
| |/|
| | |
| | | |
Conflicts:
recipes-core/cacao/cacao_1.6.1.bb
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
pkgconfig is now enabled, so that pkg-config
macros will not fail in configure stage.
Signed-off-by: Cristian Iorga <cristian.iorga@intel.com>
|
| | |
| | |
| | |
| | |
| | |
| | | |
* set the layer branches dora depends on to dora too
* add libstdc++6 package as dependency for debian based
distributions
|
| | | |
|
| | | |
|