[oe-commits] Robert Schuster : openjdk-langtools-native: Rename 'javac' to 'sun-javac' when installing to staging.
GIT User account
git at amethyst.openembedded.net
Sat Nov 15 10:46:51 UTC 2008
Module: openembedded.git
Branch: koen/darwin-host-fixes
Commit: 0833c193ce38d965b5ab4becacb2a9d1520ebf3c
URL: http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=0833c193ce38d965b5ab4becacb2a9d1520ebf3c
Author: Robert Schuster <thebohemian at gmx.net>
Date: Fri Nov 14 09:35:33 2008 +0100
openjdk-langtools-native: Rename 'javac' to 'sun-javac' when installing to staging.
---
.../openjdk-langtools-native_0.0+jdk7-b31.bb | 12 +++++++++++-
1 files changed, 11 insertions(+), 1 deletions(-)
diff --git a/packages/openjdk-langtools/openjdk-langtools-native_0.0+jdk7-b31.bb b/packages/openjdk-langtools/openjdk-langtools-native_0.0+jdk7-b31.bb
index 3f90e4a..1533818 100644
--- a/packages/openjdk-langtools/openjdk-langtools-native_0.0+jdk7-b31.bb
+++ b/packages/openjdk-langtools/openjdk-langtools-native_0.0+jdk7-b31.bb
@@ -1,7 +1,9 @@
-DESCRIPTION = "Java Language tools (javac, javah, javap, javadoc and apt) from OpenJDK"
+DESCRIPTION = "Java Language tools (sun-javac, javah, javap, javadoc and apt) from OpenJDK"
HOMEPAGE = "http://http://openjdk.java.net/groups/compiler"
LICENSE = "GPL"
+PR = "r1"
+
DEPENDS = "classpath-native fastjar-native ecj-initial"
S = "${WORKDIR}/icepick-0.0+hg20080118"
@@ -23,3 +25,11 @@ EXTRA_OECONF = "\
"
export JAVAC_OPTS="-bootclasspath ${STAGING_DATADIR_JAVA}/share/classpath/glibj.zip -source 5.0"
+
+do_stage_append() {
+ # Provide javac as sun-javac to not clash with the binary of the same
+ # name in ecj-bootstrap-native.
+ # This way ecj-bootstrap-native and openjdk-langtools-native can coexist
+ # in staging dir.
+ mv ${bindir}/javac ${bindir}/sun-javac
+}
More information about the Openembedded-commits
mailing list