Shusky: 16K: Add AOSP page size agnostic targets

Added new product targets for Shiba and Husky with:

1. Page size agnostic (Supports both 4K & 16K page sizes)
2. 64K align ELFs

Test: Successful build of aosp_husky_pgagnostic-userdebug
Test: Successful build of aosp_shiba_pgagnostic-userdebug
Bug: 301596209
Change-Id: I75f7214f076eef1b381962a15222dece0d91dc0f
Signed-off-by: Ramji Jiyani <ramjiyani@google.com>
This commit is contained in:
Ramji Jiyani 2023-09-25 21:31:15 +00:00
parent 0187152dad
commit 2813c39f77
3 changed files with 46 additions and 0 deletions

View file

@ -20,9 +20,11 @@ PRODUCT_MAKEFILES := \
$(LOCAL_DIR)/factory_ripcurrent.mk \ $(LOCAL_DIR)/factory_ripcurrent.mk \
$(LOCAL_DIR)/aosp_husky.mk \ $(LOCAL_DIR)/aosp_husky.mk \
$(LOCAL_DIR)/aosp_husky_fullmte.mk \ $(LOCAL_DIR)/aosp_husky_fullmte.mk \
$(LOCAL_DIR)/aosp_husky_pgagnostic.mk \
$(LOCAL_DIR)/factory_husky.mk \ $(LOCAL_DIR)/factory_husky.mk \
$(LOCAL_DIR)/aosp_shiba.mk \ $(LOCAL_DIR)/aosp_shiba.mk \
$(LOCAL_DIR)/aosp_shiba_fullmte.mk \ $(LOCAL_DIR)/aosp_shiba_fullmte.mk \
$(LOCAL_DIR)/aosp_shiba_pgagnostic.mk \
$(LOCAL_DIR)/factory_shiba.mk $(LOCAL_DIR)/factory_shiba.mk
COMMON_LUNCH_CHOICES := \ COMMON_LUNCH_CHOICES := \

22
aosp_husky_pgagnostic.mk Normal file
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/shusky/aosp_husky.mk)
PRODUCT_NAME := aosp_husky_pgagnostic
PRODUCT_MODEL := AOSP page-size agnostic Husky 64K ELF
PRODUCT_PAGE_SIZE_AGNOSTIC := true
PRODUCT_MAX_PAGE_SIZE_SUPPORTED := 65536

22
aosp_shiba_pgagnostic.mk Normal file
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/shusky/aosp_shiba.mk)
PRODUCT_NAME := aosp_shiba_pgagnostic
PRODUCT_MODEL := AOSP page-size agnostic Shiba 64K ELF
PRODUCT_PAGE_SIZE_AGNOSTIC := true
PRODUCT_MAX_PAGE_SIZE_SUPPORTED := 65536