summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRaphael Gault <raphael.gault@linaro.org>2020-09-22 14:51:42 +0000
committerAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>2020-09-22 14:51:42 +0000
commit24a058de76e20280ca7ed660d438d2ceeb1d4e0c (patch)
treecfed6977926a16a4f366e02a1763cc766d933ef5
parent0e92ac6b74f9427d96ab88bd1931b6c5fe5290c6 (diff)
parent4c0867c4666fe27811880ddedb225dc85ba4abaa (diff)
downloadart-24a058de76e20280ca7ed660d438d2ceeb1d4e0c.tar.gz
Create a target for Arm Cortex-A55 cpu variant. am: 4c0867c466
Original change: https://android-review.googlesource.com/c/device/generic/art/+/1426691 Change-Id: I46c78232a02d6447971a37101d593576ea71c90e
-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