aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKoen Kooi <koen.kooi@linaro.org>2014-11-20 14:36:05 +0100
committerKoen Kooi <koen.kooi@linaro.org>2014-11-20 14:36:51 +0100
commit8150ee57512e403416166678aaff181ec70cbb6c (patch)
treed56868a312d5c28b9b2376ba5c1e8c68a2db4398
parentc3d66f3914cb4e3085967817165fb956c1a50cbf (diff)
openjdk8: fix vm build breakage
The build will fail at a later point now. Change-Id: I431cfa6b67793a07e144261c158d5774a06a8bcb Signed-off-by: Koen Kooi <koen.kooi@linaro.org>
-rw-r--r--meta-aarch64/recipes-core/openjdk/openjdk-8-common.inc7
1 files changed, 6 insertions, 1 deletions
diff --git a/meta-aarch64/recipes-core/openjdk/openjdk-8-common.inc b/meta-aarch64/recipes-core/openjdk/openjdk-8-common.inc
index ba374070..30b98937 100644
--- a/meta-aarch64/recipes-core/openjdk/openjdk-8-common.inc
+++ b/meta-aarch64/recipes-core/openjdk/openjdk-8-common.inc
@@ -54,6 +54,7 @@ S="${WORKDIR}/openjdk8-aarch64-port-snapshot"
# The compiler tests in do_configure seem to drop TARGET_CC_ARCH from $CC, so add it into CFLAGS.
CFLAGS =+ "${TARGET_CC_ARCH} ${TOOLCHAIN_OPTIONS}"
CXXFLAGS =+ "${TARGET_CC_ARCH} ${TOOLCHAIN_OPTIONS}"
+export EXTRA_CFLAGS = "${TOOLCHAIN_OPTIONS}"
do_configure() {
unset MAKE
@@ -61,7 +62,11 @@ do_configure() {
}
do_compile() {
- make LOG=debug ALT_SDT_H=/openjdk/path/to/a/nonexistent/directory images
+ make \
+ LOG=debug \
+ ALT_SDT_H=/openjdk/path/to/a/nonexistent/directory \
+ EXTRA_CFLAGS='${EXTRA_CFLAGS}' \
+ images
}
do_install() {