[oe-commits] Henning Heinold : openjdk-6-common.inc: fix hardcoded path for allowing to build with linux 3.x

git at git.openembedded.org git at git.openembedded.org
Tue Feb 21 17:48:38 UTC 2012


Module: openembedded.git
Branch: mckoan/kaeilos-2011
Commit: 91e7878c3424aa67318d056d4194f85fc224f600
URL:    http://git.openembedded.org/?p=openembedded.git&a=commit;h=91e7878c3424aa67318d056d4194f85fc224f600

Author: Henning Heinold <heinold at inf.fu-berlin.de>
Date:   Sat Feb 18 21:00:38 2012 +0100

openjdk-6-common.inc: fix hardcoded path for allowing to build with linux 3.x

---

 recipes/openjdk/openjdk-6-common.inc |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)

diff --git a/recipes/openjdk/openjdk-6-common.inc b/recipes/openjdk/openjdk-6-common.inc
index f00a6ba..ee3db29 100644
--- a/recipes/openjdk/openjdk-6-common.inc
+++ b/recipes/openjdk/openjdk-6-common.inc
@@ -212,6 +212,13 @@ do_configure_prepend() {
 
 do_configure_append() {
 	oe_runmake patch-ecj
+
+	for F in ${WORKDIR}/openjdk-src-dir/hotspot/make/linux/Makefile ${B}/openjdk-ecj/hotspot/make/linux/Makefile ${B}/openjdk/hotspot/make/linux/Makefile ;
+	do
+		sed -i \
+			-e"s|SUPPORTED_OS_VERSION = 2.4% 2.5% 2.6% 2.7%|SUPPORTED_OS_VERSION = 2.4% 2.5% 2.6% 3%|" \
+			$F
+	done
 }
 
 # Work around broken variable quoting in oe-stable 2009 and provide the variable





More information about the Openembedded-commits mailing list