aboutsummaryrefslogtreecommitdiffstats
path: root/conf/bitbake.conf
diff options
context:
space:
mode:
authorMarcin Juszkiewicz <marcin@buglabs.net>2009-12-16 16:43:32 +0100
committerMarcin Juszkiewicz <marcin@juszkiewicz.com.pl>2009-12-16 16:47:39 +0100
commitbedc7cb2e83bcfde2cf28ff5774d7f4829d8f0bd (patch)
tree435476bc7590ec5e9121cb218294397145538881 /conf/bitbake.conf
parentb0c1ffe3b60092d9664e06aeb328365d8779361b (diff)
downloadopenembedded-bedc7cb2e83bcfde2cf28ff5774d7f4829d8f0bd.tar.gz
java.bbclass: stage all JAR files outside of ARCH related directories
When Java things are build for more then one architecture strange things happen: - first architecture builds fine - next architectures fails to build Thats due to lack of JAR files as they were built as PACKAGE_ARCH="all" but staged as PACKAGE_ARCH="TARGET_ARCH" so BitBake do not build them again but Java classes are unable to find them. Solution is to stage JAR files to non-ARCH directory. I used staging/java for it and build tested with stable/2009 and org.openembedded.dev branches. Signed-off-by: Marcin Juszkiewicz <marcin@buglabs.net>
Diffstat (limited to 'conf/bitbake.conf')
-rw-r--r--conf/bitbake.conf1
1 files changed, 1 insertions, 0 deletions
diff --git a/conf/bitbake.conf b/conf/bitbake.conf
index 48e098db44..3a68959c6c 100644
--- a/conf/bitbake.conf
+++ b/conf/bitbake.conf
@@ -297,6 +297,7 @@ B = "${S}"
STAGING_DIR = "${TMPDIR}/staging"
+STAGING_DIR_JAVA = "${STAGING_DIR}/java"
STAGING_DIR_NATIVE = "${STAGING_DIR}/${BUILD_SYS}"
STAGING_BINDIR_NATIVE = "${STAGING_DIR_NATIVE}${bindir_native}"
STAGING_BINDIR_CROSS = "${STAGING_DIR_NATIVE}${bindir_native}/${MULTIMACH_HOST_SYS}"