aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Adam Duskett <Aduskett@gmail.com>2019-03-15 16:52:32 -0400
committerGravatar Thomas Petazzoni <thomas.petazzoni@bootlin.com>2019-03-17 13:50:50 +0100
commit3641d98ec422607592a452b9e076bf34be1f98b1 (patch)
tree2a47663dc17f52a1883907ffb377d4fc002539e3
parent5366b8f734fe7aff7e95c1f92627265c5a75becc (diff)
downloadbuildroot-3641d98ec422607592a452b9e076bf34be1f98b1.tar.gz
buildroot-3641d98ec422607592a452b9e076bf34be1f98b1.tar.bz2
package/openjdk: use AArch64 optimizations
Signed-off-by: Adam Duskett <Aduskett@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
-rw-r--r--package/openjdk/openjdk.mk5
1 files changed, 5 insertions, 0 deletions
diff --git a/package/openjdk/openjdk.mk b/package/openjdk/openjdk.mk
index 2730d014d8..cf98dd73e1 100644
--- a/package/openjdk/openjdk.mk
+++ b/package/openjdk/openjdk.mk
@@ -85,6 +85,11 @@ OPENJDK_CONF_OPTS = \
--with-version-build="$(OPENJDK_VERSION_MAJOR)" \
--with-version-string="$(OPENJDK_VERSION_MAJOR)"
+# If building for AArch64, use the provided CPU port.
+ifeq ($(BR2_aarch64),y)
+OPENJDK_CONF_OPTS += --with-cpu-port=aarch64 --with-abi-profile=aarch64
+endif
+
ifeq ($(BR2_CCACHE),y)
OPENJDK_CONF_OPTS += \
--enable-ccache \