From f52a815994e698301d17a34be2273ca8bcfa29c9 Mon Sep 17 00:00:00 2001 From: Pawan Wagh Date: Mon, 11 Nov 2024 18:41:35 +0000 Subject: [PATCH] Revert "Remove check for the 16kb kernel directory" This reverts commit 0db03e186178097942f6ac8a0e30d0fc46e13b14. Reason for revert: This led to adding ag/30200879 which is breaking 16kb developer option on TOT. reverting this change and fix for it Change-Id: I934be8430c970562f5d2d0ce9b1c7b3e1e2a6c7c --- device-caimito-16k-common.mk | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/device-caimito-16k-common.mk b/device-caimito-16k-common.mk index 30a6f817..b1493a40 100644 --- a/device-caimito-16k-common.mk +++ b/device-caimito-16k-common.mk @@ -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 @@ -38,3 +40,5 @@ BOARD_16K_OTA_USE_INCREMENTAL := true BOARD_16K_OTA_MOVE_VENDOR := true endif +endif +