[oe] [meta-java][PATCH 2/5] openjdk-8-cross.inc: fix wrong sysroot path

liu.ming50 at gmail.com liu.ming50 at gmail.com
Sun Apr 23 06:54:53 UTC 2017


From: Ming Liu <peter.x.liu at external.atlascopco.com>

The '--with-sys-root' should be set to ${STAGING_DIR_HOST} but not
${STAGING_DIR}.

Signed-off-by: Ming Liu <peter.x.liu at external.atlascopco.com>
---
 recipes-core/openjdk/openjdk-8-cross.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/recipes-core/openjdk/openjdk-8-cross.inc b/recipes-core/openjdk/openjdk-8-cross.inc
index b328395..11e98b5 100644
--- a/recipes-core/openjdk/openjdk-8-cross.inc
+++ b/recipes-core/openjdk/openjdk-8-cross.inc
@@ -42,7 +42,7 @@ SRC_URI_append = "\
 EXTRA_OECONF_append = "\
     --with-jobs=${@java_get_parallel_make(d)} \
     \
-    --with-sys-root=${STAGING_DIR} \
+    --with-sys-root=${STAGING_DIR_HOST} \
     --with-tools-dir=${STAGING_DIR_NATIVE} \
     --with-boot-jdk=${STAGING_LIBDIR_NATIVE}/jvm/openjdk-8-native \
     --with-cacerts-file=${STAGING_LIBDIR_NATIVE}/jvm/openjdk-8-native/jre/lib/security/cacerts \
-- 
2.7.4




More information about the Openembedded-devel mailing list