Merge "16k: Ignore 16k kernel settings if 16kb folder doesn't exist" into main

This commit is contained in:
Treehugger Robot 2024-08-02 10:29:35 +00:00 committed by Android (Google) Code Review
commit 6ea466f90b

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
@ -35,3 +37,5 @@ BOARD_KERNEL_MODULES_LOAD_16K := $(foreach module,$(BOARD_KERNEL_MODULES_16K),$(
BOARD_16K_OTA_MOVE_VENDOR := true
endif
endif