16k: Add AOSP page size agnostic targets for Oriole and Raven
The new AOSP targets for Oriole and Raven will be:
- Page size agnostic (will support kernels with 4k/16k page sizes)
- 64k ELF aligned
Test: source build/envsetup.sh
lunch aosp_raven_pgagnostic_64-userdebug
m -j$(nproc)
source build/envsetup.sh
lunch aosp_oriole_pgagnostic_64-userdebug
m -j$(nproc)
Bug: 289419664
Change-Id: I9f5890c8297061169b63b9202aa112e33a191d53
diff --git a/AndroidProducts.mk b/AndroidProducts.mk
index dea4335..799c6b0 100644
--- a/AndroidProducts.mk
+++ b/AndroidProducts.mk
@@ -17,11 +17,13 @@
PRODUCT_MAKEFILES := \
$(LOCAL_DIR)/aosp_oriole.mk \
$(LOCAL_DIR)/aosp_oriole_hwasan.mk \
+ $(LOCAL_DIR)/aosp_oriole_pgagnostic_64.mk \
$(LOCAL_DIR)/aosp_oriole_pkvm.mk \
$(LOCAL_DIR)/aosp_oriole_64.mk \
$(LOCAL_DIR)/factory_oriole.mk \
$(LOCAL_DIR)/aosp_raven.mk \
$(LOCAL_DIR)/aosp_raven_hwasan.mk \
+ $(LOCAL_DIR)/aosp_raven_pgagnostic_64.mk \
$(LOCAL_DIR)/aosp_raven_pkvm.mk \
$(LOCAL_DIR)/aosp_raven_64.mk \
$(LOCAL_DIR)/factory_raven.mk \
diff --git a/aosp_oriole_pgagnostic_64.mk b/aosp_oriole_pgagnostic_64.mk
new file mode 100644
index 0000000..724198e
--- /dev/null
+++ b/aosp_oriole_pgagnostic_64.mk
@@ -0,0 +1,22 @@
+#
+# Copyright 2023 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, device/google/raviole/aosp_oriole.mk)
+
+PRODUCT_NAME := aosp_oriole_pgagnostic_64
+PRODUCT_MODEL := AOSP page size agnostic on Oriole 64-bit only
+
+PRODUCT_PAGE_SIZE_AGNOSTIC := true
+PRODUCT_MAX_PAGE_SIZE_SUPPORTED := 65536
diff --git a/aosp_raven_pgagnostic_64.mk b/aosp_raven_pgagnostic_64.mk
new file mode 100644
index 0000000..a97134d
--- /dev/null
+++ b/aosp_raven_pgagnostic_64.mk
@@ -0,0 +1,22 @@
+#
+# Copyright 2023 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, device/google/raviole/aosp_raven.mk)
+
+PRODUCT_NAME := aosp_raven_pgagnostic_64
+PRODUCT_MODEL := AOSP page size agnostic on Raven 64-bit only
+
+PRODUCT_PAGE_SIZE_AGNOSTIC := true
+PRODUCT_MAX_PAGE_SIZE_SUPPORTED := 65536