summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Schuster <thebohemian@gmx.net>2008-06-06 13:15:05 +0000
committerRobert Schuster <thebohemian@gmx.net>2008-06-06 13:15:05 +0000
commita32e8da7f81672fc0b7f32a38a51480564115708 (patch)
tree75ee50cde2055afa414e731a7f04006e64b8b9bc
parentf8106eb67642d5ffeecde506a557d6205fe9e4e5 (diff)
java.bbclass:
* Added libdir_jvm variable * Added STAGING_LIBDIR_JVM variable
-rw-r--r--classes/java.bbclass7
1 files changed, 7 insertions, 0 deletions
diff --git a/classes/java.bbclass b/classes/java.bbclass
index e51b0d71da..17f833ce3d 100644
--- a/classes/java.bbclass
+++ b/classes/java.bbclass
@@ -1,5 +1,8 @@
# Defines the commonly used target directories and provides a convenience
# function to install jar files.
+#
+# All the default directory locations herein resemble locations chosen in
+# the Debian distribution.
# Jar location on target
datadir_java ?= ${datadir}/java
@@ -7,8 +10,12 @@ datadir_java ?= ${datadir}/java
# JNI library location on target
libdir_jni ?= ${libdir}/jni
+# JVM bundle location on target
+libdir_jvm ?= ${libdir}/jvm
+
STAGING_DATADIR_JAVA ?= ${STAGING_DATADIR}/java
STAGING_LIBDIR_JNI ?= ${STAGING_LIBDIR}/jni
+STAGING_LIBDIR_JVM ?= ${STAGING_LIBDIR}/jvm
oe_jarinstall() {
# Purpose: Install a jar file and create all the given symlinks to it.