aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-devtools
diff options
context:
space:
mode:
authorHongxu Jia <hongxu.jia@windriver.com>2019-04-25 15:36:11 +0800
committerHongxu Jia <hongxu.jia@windriver.com>2019-08-09 15:33:05 +0800
commit17b22921593d5a9224165dcf4d338f6a6a91c605 (patch)
tree9f48664779a8921d5974b34f3ae8b92e4fe39ef9 /recipes-devtools
parentbf1c3001ff7da21fb465492efedc67cc7d3d5c40 (diff)
downloadmeta-tensorflow-17b22921593d5a9224165dcf4d338f6a6a91c605.tar.gz
meta-tensorflow-17b22921593d5a9224165dcf4d338f6a6a91c605.tar.bz2
meta-tensorflow-17b22921593d5a9224165dcf4d338f6a6a91c605.zip
do not hardcode JAVA_HOME
Use ${STAGING_LIBDIR_NATIVE} rather than ${RECIPE_SYSROOT_NATIVE}/usr/lib. Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Diffstat (limited to 'recipes-devtools')
-rw-r--r--recipes-devtools/bazel/bazel-native_0.21.0.bb2
1 files changed, 1 insertions, 1 deletions
diff --git a/recipes-devtools/bazel/bazel-native_0.21.0.bb b/recipes-devtools/bazel/bazel-native_0.21.0.bb
index 04c69af..3395c2f 100644
--- a/recipes-devtools/bazel/bazel-native_0.21.0.bb
+++ b/recipes-devtools/bazel/bazel-native_0.21.0.bb
@@ -22,7 +22,7 @@ S="${WORKDIR}"
TS_DL_DIR ??= "${DL_DIR}"
do_compile () {
- export JAVA_HOME="${RECIPE_SYSROOT_NATIVE}/usr/lib/jvm/openjdk-8-native"
+ export JAVA_HOME="${STAGING_LIBDIR_NATIVE}/jvm/openjdk-8-native"
TMPDIR="${TOPDIR}/bazel" \
VERBOSE=yes \
EXTRA_BAZEL_ARGS="--distdir=${TS_DL_DIR}" \