summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRaphael Gault <raphael.gault@linaro.org>2020-09-22 17:56:54 +0000
committerAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>2020-09-22 17:56:54 +0000
commitd6b45dd3423330445819be76374f6bc771a14937 (patch)
treecfed6977926a16a4f366e02a1763cc766d933ef5
parent1508ccfd1a23713fd64537d1b7633e4ed06b9126 (diff)
parent550bf0d6ae2f4e49d9e285fb560ddd78d1cbbd72 (diff)
downloadart-d6b45dd3423330445819be76374f6bc771a14937.tar.gz
Create a target for Arm Cortex-A55 cpu variant. am: 4c0867c466 am: 24a058de76 am: 7da2d3f13a am: aac3ad6d0d am: 550bf0d6ae
Original change: https://android-review.googlesource.com/c/device/generic/art/+/1426691 Change-Id: I2bd442edb9b6ba02e8314e64f32d790558decf78
-rw-r--r--armv8_cortex_a55/AndroidProducts.mk21
-rw-r--r--armv8_cortex_a55/BoardConfig.mk26
-rw-r--r--armv8_cortex_a55/armv8_cortex_a55.mk28
3 files changed, 75 insertions, 0 deletions
diff --git a/armv8_cortex_a55/AndroidProducts.mk b/armv8_cortex_a55/AndroidProducts.mk
new file mode 100644
index 0000000..7275325
--- /dev/null
+++ b/armv8_cortex_a55/AndroidProducts.mk
@@ -0,0 +1,21 @@
+#
+# Copyright (C) 2020 The Android Open-Source Project
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+PRODUCT_MAKEFILES := \
+ $(LOCAL_DIR)/armv8_cortex_a55.mk
+
+COMMON_LUNCH_CHOICES := \
+ armv8_cortex_a55-eng
diff --git a/armv8_cortex_a55/BoardConfig.mk b/armv8_cortex_a55/BoardConfig.mk
new file mode 100644
index 0000000..ea49fbc
--- /dev/null
+++ b/armv8_cortex_a55/BoardConfig.mk
@@ -0,0 +1,26 @@
+
+# Copyright (C) 2020 The Android Open-Source Project
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+include device/generic/art/BoardConfigCommon.mk
+
+TARGET_ARCH := arm64
+
+TARGET_CPU_ABI := arm64-v8a
+TARGET_CPU_VARIANT := cortex-a55
+TARGET_ARCH_VARIANT := armv8-2a-dotprod
+
+TARGET_SUPPORTS_64_BIT_APPS := true
+
diff --git a/armv8_cortex_a55/armv8_cortex_a55.mk b/armv8_cortex_a55/armv8_cortex_a55.mk
new file mode 100644
index 0000000..efabf4e
--- /dev/null
+++ b/armv8_cortex_a55/armv8_cortex_a55.mk
@@ -0,0 +1,28 @@
+#
+# Copyright (C) 2020 The Android Open-Source Project
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+PRODUCT_COPY_FILES += \
+ art/tools/public.libraries.buildbot.txt:system/etc/public.libraries.txt
+
+$(call inherit-product, build/target/product/core_minimal.mk)
+
+PRODUCT_NAME := armv8_cortex_a55
+PRODUCT_DEVICE := armv8_cortex_a55
+PRODUCT_BRAND := Android
+PRODUCT_MODEL := Cortex A55
+
+# Force 64bits executables.
+PRODUCT_DEFAULT_PROPERTY_OVERRIDES += ro.zygote=zygote64