16k: Ignore 16k kernel settings if 16kb folder doesn't exist am: 9e1bb10e89

Original change: https://android-review.googlesource.com/c/device/google/zuma/+/3313596

Change-Id: Ib075b276396597229c654a1c55bd5bcfa7d2d3d0
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
Robin Peng 2024-10-22 03:44:29 +00:00 committed by Automerger Merge Worker
commit edd87c421e

View file

@ -14,6 +14,8 @@
# limitations under the License.
#
ifneq ($(wildcard $(TARGET_KERNEL_DIR)/16kb/),)
ifeq ($(TARGET_BOOTS_16K),true)
# Configures the 16kb kernel directory.
TARGET_KERNEL_DIR := $(TARGET_KERNEL_DIR)/16kb
@ -36,3 +38,5 @@ BOARD_KERNEL_MODULES_LOAD_16K := $(foreach module,$(BOARD_KERNEL_MODULES_16K),$(
BOARD_16K_OTA_USE_INCREMENTAL := true
BOARD_16K_OTA_MOVE_VENDOR := true
endif
endif