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
This commit is contained in:
Juan Yescas 2023-07-25 11:16:44 -07:00
parent 0140f8f59d
commit 993ec193e2
3 changed files with 46 additions and 0 deletions

View file

@ -17,11 +17,13 @@
PRODUCT_MAKEFILES := \ PRODUCT_MAKEFILES := \
$(LOCAL_DIR)/aosp_oriole.mk \ $(LOCAL_DIR)/aosp_oriole.mk \
$(LOCAL_DIR)/aosp_oriole_hwasan.mk \ $(LOCAL_DIR)/aosp_oriole_hwasan.mk \
$(LOCAL_DIR)/aosp_oriole_pgagnostic_64.mk \
$(LOCAL_DIR)/aosp_oriole_pkvm.mk \ $(LOCAL_DIR)/aosp_oriole_pkvm.mk \
$(LOCAL_DIR)/aosp_oriole_64.mk \ $(LOCAL_DIR)/aosp_oriole_64.mk \
$(LOCAL_DIR)/factory_oriole.mk \ $(LOCAL_DIR)/factory_oriole.mk \
$(LOCAL_DIR)/aosp_raven.mk \ $(LOCAL_DIR)/aosp_raven.mk \
$(LOCAL_DIR)/aosp_raven_hwasan.mk \ $(LOCAL_DIR)/aosp_raven_hwasan.mk \
$(LOCAL_DIR)/aosp_raven_pgagnostic_64.mk \
$(LOCAL_DIR)/aosp_raven_pkvm.mk \ $(LOCAL_DIR)/aosp_raven_pkvm.mk \
$(LOCAL_DIR)/aosp_raven_64.mk \ $(LOCAL_DIR)/aosp_raven_64.mk \
$(LOCAL_DIR)/factory_raven.mk \ $(LOCAL_DIR)/factory_raven.mk \

View file

@ -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

View file

@ -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