[oe-commits] org.oe.dev classpath-native.inc: Set JAVAC through environment variable.

thebohemian2 commit oe at amethyst.openembedded.net
Sun Jul 27 15:48:48 UTC 2008


classpath-native.inc: Set JAVAC through environment variable.
classpath.inc: Set JAVAC through environment variable.

Author: thebohemian2 at openembedded.org
Branch: org.openembedded.dev
Revision: ff3cafe77c935d7b92703d6844722054ef7f9774
ViewMTN: http://monotone.openembedded.org/revision/info/ff3cafe77c935d7b92703d6844722054ef7f9774
Files:
1
packages/classpath/classpath-native.inc
packages/classpath/classpath.inc
Diffs:

#
# mt diff -r428b4f34ff9ded316516c335e136e99b13948c25 -rff3cafe77c935d7b92703d6844722054ef7f9774
#
#
#
# patch "packages/classpath/classpath-native.inc"
#  from [ce05671105e08fb6217f1907cf4202d41ebfd512]
#    to [4155732ffd3f69f0d9e8e0371053f748e3d79dc3]
# 
# patch "packages/classpath/classpath.inc"
#  from [38c3e19b11832c4ee048c930972f95afbc256c0c]
#    to [5e988ae298ca0247f13b7af3c4fcc2228d15d28d]
#
============================================================
--- packages/classpath/classpath-native.inc	ce05671105e08fb6217f1907cf4202d41ebfd512
+++ packages/classpath/classpath-native.inc	4155732ffd3f69f0d9e8e0371053f748e3d79dc3
@@ -10,6 +10,10 @@ inherit autotools native
 
 inherit autotools native
 
+# Newer versions expect setting the compiler through this
+# environment variable.
+export JAVAC=${STAGING_BINDIR_NATIVE}/ecj-initial
+
 EXTRA_OECONF = "\
   --with-glibj \
   --with-ecj=${STAGING_BINDIR_NATIVE}/ecj-initial \
============================================================
--- packages/classpath/classpath.inc	38c3e19b11832c4ee048c930972f95afbc256c0c
+++ packages/classpath/classpath.inc	5e988ae298ca0247f13b7af3c4fcc2228d15d28d
@@ -20,9 +20,13 @@ S = "${WORKDIR}/${PBN}-${PV}"
 
 S = "${WORKDIR}/${PBN}-${PV}"
 
+# Newer versions expect setting the compiler through this
+# environment variable.
+export JAVAC=${STAGING_BINDIR_NATIVE}/javac
+
 EXTRA_OECONF = "\
   --with-glibj \
-  --with-ecj=javac \
+  --with-ecj=${STAGING_BINDIR_NATIVE}/javac \
   --with-fastjar=fastjar \
   --includedir=${includedir}/classpath \
   --with-vm=java \






More information about the Openembedded-commits mailing list