summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoland Levillain <rpl@google.com>2020-01-12 14:02:37 -0800
committerandroid-build-merger <android-build-merger@google.com>2020-01-12 14:02:37 -0800
commite9e5e6102af0e80120f4a4cc524db93855a8386e (patch)
treef8dddeb16220f251f1aa747630693b726f746162
parent90690a71e3b10977a7811d62b7d008e288e54204 (diff)
parenta9792411b619d15732c7cdd0dfe0cc832b48c108 (diff)
downloadart-e9e5e6102af0e80120f4a4cc524db93855a8386e.tar.gz
Add mips32r2_fp to device/generic/art.
am: a9792411b6 Change-Id: I4924eaa5ba1945ce7e0b6b2659bd60448fe0b4a2
-rw-r--r--mips32r2_fp/AndroidProducts.mk18
-rw-r--r--mips32r2_fp/BoardConfig.mk25
-rw-r--r--mips32r2_fp/mips32r2_fp.mk22
-rw-r--r--mips32r2_fp/vendorsetup.sh17
4 files changed, 82 insertions, 0 deletions
diff --git a/mips32r2_fp/AndroidProducts.mk b/mips32r2_fp/AndroidProducts.mk
new file mode 100644
index 0000000..2e921b6
--- /dev/null
+++ b/mips32r2_fp/AndroidProducts.mk
@@ -0,0 +1,18 @@
+#
+# Copyright (C) 2015 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)/mips32r2_fp.mk
diff --git a/mips32r2_fp/BoardConfig.mk b/mips32r2_fp/BoardConfig.mk
new file mode 100644
index 0000000..22f588e
--- /dev/null
+++ b/mips32r2_fp/BoardConfig.mk
@@ -0,0 +1,25 @@
+#
+# Copyright (C) 2015 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.
+#
+
+TARGET_NO_BOOTLOADER := true
+TARGET_NO_KERNEL := true
+TARGET_ARCH := mips
+
+TARGET_CPU_ABI := mips
+TARGET_CPU_SMP := true
+TARGET_CPU_VARIANT := generic
+TARGET_ARCH_VARIANT := mips32r2-fp
+
diff --git a/mips32r2_fp/mips32r2_fp.mk b/mips32r2_fp/mips32r2_fp.mk
new file mode 100644
index 0000000..2372b6e
--- /dev/null
+++ b/mips32r2_fp/mips32r2_fp.mk
@@ -0,0 +1,22 @@
+#
+# Copyright (C) 2015 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.
+#
+
+$(call inherit-product, build/target/product/core_base.mk)
+
+PRODUCT_NAME := mips32r2_fp
+PRODUCT_DEVICE := mips32r2_fp
+PRODUCT_BRAND := Android
+PRODUCT_MODEL := MIPS32 Release 2
diff --git a/mips32r2_fp/vendorsetup.sh b/mips32r2_fp/vendorsetup.sh
new file mode 100644
index 0000000..cff24f0
--- /dev/null
+++ b/mips32r2_fp/vendorsetup.sh
@@ -0,0 +1,17 @@
+#
+# Copyright (C) 2015 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.
+#
+
+add_lunch_combo mips32r2_fp-eng