Merge "16k: core: Change default TARGET_MAX_PAGE_SIZE_SUPPORTED to 16384" into main am: 160357160b
am: 7e19a0a2c2
Original change: https://android-review.googlesource.com/c/platform/build/+/3006610 Change-Id: I60062b453e201501d58bb71c33a79be6a1218885 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
commit
e0dfb184b2
1 changed files with 3 additions and 3 deletions
|
@ -413,7 +413,7 @@ else
|
|||
# When VSR vendor API level >= 34, binary alignment will be 65536.
|
||||
ifeq ($(call math_gt_or_eq,$(VSR_VENDOR_API_LEVEL),34),true)
|
||||
ifeq ($(TARGET_ARCH),arm64)
|
||||
TARGET_MAX_PAGE_SIZE_SUPPORTED := 65536
|
||||
TARGET_MAX_PAGE_SIZE_SUPPORTED := 16384
|
||||
endif
|
||||
endif
|
||||
endif
|
||||
|
@ -432,8 +432,8 @@ TARGET_NO_BIONIC_PAGE_SIZE_MACRO := false
|
|||
ifdef PRODUCT_NO_BIONIC_PAGE_SIZE_MACRO
|
||||
TARGET_NO_BIONIC_PAGE_SIZE_MACRO := $(PRODUCT_NO_BIONIC_PAGE_SIZE_MACRO)
|
||||
ifeq ($(TARGET_NO_BIONIC_PAGE_SIZE_MACRO),true)
|
||||
ifneq ($(TARGET_MAX_PAGE_SIZE_SUPPORTED),65536)
|
||||
$(error TARGET_MAX_PAGE_SIZE_SUPPORTED has to be 65536 to support page size agnostic)
|
||||
ifeq (,$(filter 16384 65536,$(TARGET_MAX_PAGE_SIZE_SUPPORTED)))
|
||||
$(error TARGET_MAX_PAGE_SIZE_SUPPORTED has to be either 16384 or 65536 to support page size agnostic)
|
||||
endif
|
||||
endif
|
||||
endif
|
||||
|
|
Loading…
Reference in a new issue