[oe-commits] : classpath-native: Disable ecj warnings.

OE GIT Trial gittrial at amethyst.openembedded.net
Tue Sep 23 06:40:12 UTC 2008


Module: OE.dev
Branch: org.openembedded.dev
Commit: 64ae0063d04c2e2ce470dc33a469171186b5fb69
URL:    http://gitweb.openembedded.net//OE.dev.git/?a=commit;h=64ae0063d04c2e2ce470dc33a469171186b5fb69

Author:  <thebohemian at openembedded.org>
Date:   Tue Sep 23 06:20:45 2008 +0000

classpath-native: Disable ecj warnings.
classpath: Export JAVA environment variable to be picked up properly by newer classpath versions.

---

 packages/classpath/classpath-native.inc |    1 +
 packages/classpath/classpath.inc        |    2 ++
 2 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/packages/classpath/classpath-native.inc b/packages/classpath/classpath-native.inc
index 992a16e..060dd3f 100644
--- a/packages/classpath/classpath-native.inc
+++ b/packages/classpath/classpath-native.inc
@@ -18,6 +18,7 @@ do_configure_prepend () {
 }
 
 export JAVAC="${STAGING_BINDIR_NATIVE}/ecj-initial"
+export JAVACFLAGS="-nowarn"
 
 # Note: the --with-ecj options seems redundant but is
 # for compatibility with older classpath versions.
diff --git a/packages/classpath/classpath.inc b/packages/classpath/classpath.inc
index 65bc465..e0d6a2a 100644
--- a/packages/classpath/classpath.inc
+++ b/packages/classpath/classpath.inc
@@ -21,6 +21,8 @@ SRC_URI = "${GNU_MIRROR}/classpath/classpath-${PV}.tar.gz"
 
 S = "${WORKDIR}/${PBN}-${PV}"
 
+export JAVA = "java"
+
 EXTRA_OECONF = "\
   --with-glibj \
   --with-ecj=javac \





More information about the Openembedded-commits mailing list