summaryrefslogtreecommitdiff
path: root/packages/classpath/classpath-native.inc
diff options
context:
space:
mode:
Diffstat (limited to 'packages/classpath/classpath-native.inc')
-rw-r--r--packages/classpath/classpath-native.inc14
1 files changed, 7 insertions, 7 deletions
diff --git a/packages/classpath/classpath-native.inc b/packages/classpath/classpath-native.inc
index 3f18c5fab6..992a16ec7a 100644
--- a/packages/classpath/classpath-native.inc
+++ b/packages/classpath/classpath-native.inc
@@ -5,11 +5,18 @@ LICENSE = "Classpath"
S = "${WORKDIR}/classpath-${PV}"
SRC_URI = "${GNU_MIRROR}/classpath/classpath-${PV}.tar.gz"
+
DEPENDS = "ecj-initial fastjar-native zip-native gettext-native"
inherit autotools native
+
+do_configure_prepend () {
+
+ cp ${STAGING_DATADIR_NATIVE}/gettext/config.rpath ${S}
+}
+
export JAVAC="${STAGING_BINDIR_NATIVE}/ecj-initial"
# Note: the --with-ecj options seems redundant but is
@@ -29,14 +36,7 @@ EXTRA_OECONF = "\
--includedir=${STAGING_INCDIR}/classpath \
--with-vm=java \
"
-# hack to get config.rpath in, it comes from gettext
-do_configure_prepend () {
-
- ${@['','cp ${STAGING_DATADIR}/automake-1.10/config.rpath ${S}'][bb.data.getVar('PREFERRED_VERSION_automake-native',d,1) == '1.10']}
-
-}
do_stage() {
oe_runmake install
}
-