summaryrefslogtreecommitdiffstats
path: root/recipes-core/openjdk/openjdk-8-native.inc
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-core/openjdk/openjdk-8-native.inc')
-rw-r--r--recipes-core/openjdk/openjdk-8-native.inc13
1 files changed, 5 insertions, 8 deletions
diff --git a/recipes-core/openjdk/openjdk-8-native.inc b/recipes-core/openjdk/openjdk-8-native.inc
index 7813ec2..7a37d1a 100644
--- a/recipes-core/openjdk/openjdk-8-native.inc
+++ b/recipes-core/openjdk/openjdk-8-native.inc
@@ -68,15 +68,12 @@ do_compile_append() {
68} 68}
69 69
70do_install() { 70do_install() {
71 rm -rf ${STAGING_LIBDIR_NATIVE}/jvm/${JDK_DIR} 71 mkdir -p ${D}${libdir_jvm}/${JDK_DIR}
72 mkdir -p ${STAGING_LIBDIR_NATIVE}/jvm/${JDK_DIR} 72 cp -rp ${B}/images/j2sdk-image/* ${D}${libdir_jvm}/${JDK_DIR}
73 cp -rp ${B}/images/j2sdk-image/* ${STAGING_LIBDIR_NATIVE}/jvm/${JDK_DIR}
74 73
75# clean up the mess from bootstrap 74 mkdir -p ${D}${bindir}
76 for tool in jar java javac keytool pack200 unpack200 75 for tool in keytool pack200 unpack200
77 do 76 do
78 rm -f ${STAGING_BINDIR_NATIVE}/$tool 77 ln -sf "../lib/jvm/${JDK_DIR}/bin/$tool" ${D}${bindir}/$tool
79
80 ln -sf "../lib/jvm/${JDK_DIR}/bin/$tool" ${STAGING_BINDIR_NATIVE}/$tool
81 done 78 done
82} 79}