diff options
author | Max Krummenacher <max.oss.09@gmail.com> | 2015-02-17 10:57:14 +0100 |
---|---|---|
committer | Otavio Salvador <otavio@ossystems.com.br> | 2015-02-17 10:53:34 -0200 |
commit | c7f2b7dd60bff9092eeae6b7df7f8cae16994a21 (patch) | |
tree | 38bef7f119edcdbab5d4459008f3645b83ed0215 /recipes-extended/rxtx/rxtx_2.2.0.bb | |
parent | 91e4ed3f74bbd4368f2fbbd5399dbaedf195bcf9 (diff) | |
download | meta-java-c7f2b7dd60bff9092eeae6b7df7f8cae16994a21.tar.gz |
java-library: inherit allarch
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>
Diffstat (limited to 'recipes-extended/rxtx/rxtx_2.2.0.bb')
-rw-r--r-- | recipes-extended/rxtx/rxtx_2.2.0.bb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/recipes-extended/rxtx/rxtx_2.2.0.bb b/recipes-extended/rxtx/rxtx_2.2.0.bb index 85f55c0..0d5aa21 100644 --- a/recipes-extended/rxtx/rxtx_2.2.0.bb +++ b/recipes-extended/rxtx/rxtx_2.2.0.bb | |||
@@ -23,6 +23,7 @@ S = "${WORKDIR}/rxtx-2.2pre2" | |||
23 | INSANE_SKIP_${PN} += "dev-so" | 23 | INSANE_SKIP_${PN} += "dev-so" |
24 | 24 | ||
25 | inherit autotools-brokensep java-library | 25 | inherit autotools-brokensep java-library |
26 | PACKAGE_ARCH = "${TUNE_PKGARCH}" | ||
26 | 27 | ||
27 | JARFILENAME = "RXTXcomm.jar" | 28 | JARFILENAME = "RXTXcomm.jar" |
28 | EXTRA_OEMAKE += "RXTX_PATH=${D}${libdir_jni} \ | 29 | EXTRA_OEMAKE += "RXTX_PATH=${D}${libdir_jni} \ |