aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMing Liu <peter.x.liu@external.atlascopco.com>2017-04-23 08:54:53 +0200
committerMaxin B. John <maxin.john@intel.com>2017-05-29 13:51:58 +0300
commit87f62f5264c19e9979ffda06a300cf473ec06b52 (patch)
treefa74eb3fec25fbab17689133bbc1d71b17570726
parentfa9d6b8dfe146bab22a98ec654992561f72ee5ed (diff)
downloadmeta-java-87f62f5264c19e9979ffda06a300cf473ec06b52.tar.gz
meta-java-87f62f5264c19e9979ffda06a300cf473ec06b52.tar.bz2
meta-java-87f62f5264c19e9979ffda06a300cf473ec06b52.zip
openjdk-8-cross.inc: fix wrong sysroot path
The '--with-sys-root' should be set to ${STAGING_DIR_HOST} but not ${STAGING_DIR}. Signed-off-by: Ming Liu <peter.x.liu@external.atlascopco.com> Signed-off-by: Maxin B. John <maxin.john@intel.com>
-rw-r--r--recipes-core/openjdk/openjdk-8-cross.inc2
1 files changed, 1 insertions, 1 deletions
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 \