From c7f2b7dd60bff9092eeae6b7df7f8cae16994a21 Mon Sep 17 00:00:00 2001 From: Max Krummenacher Date: Tue, 17 Feb 2015 10:57:14 +0100 Subject: 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 Signed-off-by: Otavio Salvador --- recipes-core/libmatthew/libmatthew.inc | 1 + 1 file changed, 1 insertion(+) (limited to 'recipes-core/libmatthew') diff --git a/recipes-core/libmatthew/libmatthew.inc b/recipes-core/libmatthew/libmatthew.inc index b7e50bd..36622a8 100644 --- a/recipes-core/libmatthew/libmatthew.inc +++ b/recipes-core/libmatthew/libmatthew.inc @@ -8,6 +8,7 @@ DEPENDS = "virtual/java-native classpath-native classpath" S = "${WORKDIR}/libmatthew-java-${PV}" inherit java-library +PACKAGE_ARCH = "${TUNE_PKGARCH}" # Some internal version numbers which change from time to time. # Allowing to override them makes this include file more -- cgit v1.2.3-54-g00ecf