16k: Configure 16k developer option for tegu

Enable 16KB developer option on tegu depending on whether
RELEASE_GOOGLE_TEGU_16K_DEVELOPER_OPTION flag is defined.

Bug: 295035851
Bug: 349877551
Test: m with tegu-trunk_staging-userdebug
      Manually tested 16K developer option to ensure device boots with
      16K page size
      $ adb shell getconf PAGE_SIZE
      16384
      $ adb shell uname -a
      Linux localhost 6.1.84-android14-11-g81e9f0610c73-ab12043309 #1 SMP PREEMPT Tue Jul  2 00:47:27 UTC 2024 aarch64 Toybox
Flag: build.RELEASE_GOOGLE_TEGU_16K_DEVELOPER_OPTION
Change-Id: I9406f8271be0cd3a88680b745ceac6f625dd8851
This commit is contained in:
Vilas Bhat 2024-07-01 22:47:12 +00:00 committed by Michael Bestas
parent 3e5b8c9d69
commit aca3375d1a
No known key found for this signature in database

View file

@ -42,6 +42,10 @@ TARGET_KERNEL_DIR ?= device/google/tegu-kernels/6.1/25D4
TARGET_BOARD_KERNEL_HEADERS ?= device/google/tegu-kernels/6.1/25D4/kernel-headers
endif
ifneq ($(TARGET_BOOTS_16K),true)
PRODUCT_16K_DEVELOPER_OPTION := $(RELEASE_GOOGLE_TEGU_16K_DEVELOPER_OPTION)
endif
$(call inherit-product-if-exists, vendor/google_devices/tegu/prebuilts/device-vendor-tegu.mk)
$(call inherit-product-if-exists, vendor/google_devices/zumapro/prebuilts/device-vendor.mk)
$(call inherit-product-if-exists, vendor/google_devices/zumapro/proprietary/device-vendor.mk)