Loading core/config.mk +1 −6 Original line number Diff line number Diff line Loading @@ -923,12 +923,7 @@ PLATFORM_SEPOLICY_COMPAT_VERSIONS := \ PLATFORM_SEPOLICY_VERSION \ TOT_SEPOLICY_VERSION \ # If true, kernel configuration requirements are present in OTA package (and will be enforced # during OTA). Otherwise, kernel configuration requirements are enforced in VTS. # Devices that checks the running kernel (instead of the kernel in OTA package) should not # set this variable to prevent OTA failures. ifndef PRODUCT_OTA_ENFORCE_VINTF_KERNEL_REQUIREMENTS PRODUCT_OTA_ENFORCE_VINTF_KERNEL_REQUIREMENTS := ifeq ($(PRODUCT_OTA_ENFORCE_VINTF_KERNEL_REQUIREMENTS),) ifdef PRODUCT_SHIPPING_API_LEVEL ifeq (true,$(call math_gt_or_eq,$(PRODUCT_SHIPPING_API_LEVEL),29)) PRODUCT_OTA_ENFORCE_VINTF_KERNEL_REQUIREMENTS := true Loading core/product.mk +1 −0 Original line number Diff line number Diff line Loading @@ -211,6 +211,7 @@ _product_var_list := \ PRODUCT_FORCE_PRODUCT_MODULES_TO_SYSTEM_PARTITION \ PRODUCT_USE_DYNAMIC_PARTITIONS \ PRODUCT_RETROFIT_DYNAMIC_PARTITIONS \ PRODUCT_OTA_ENFORCE_VINTF_KERNEL_REQUIREMENTS \ define dump-product $(info ==== $(1) ====)\ Loading core/product_config.mk +7 −0 Original line number Diff line number Diff line Loading @@ -544,3 +544,10 @@ PRODUCT_BUILD_SUPER_PARTITION := $(or \ PRODUCT_FORCE_PRODUCT_MODULES_TO_SYSTEM_PARTITION := \ $(strip $(PRODUCTS.$(INTERNAL_PRODUCT).PRODUCT_FORCE_PRODUCT_MODULES_TO_SYSTEM_PARTITION)) .KATI_READONLY := PRODUCT_FORCE_PRODUCT_MODULES_TO_SYSTEM_PARTITION # If set, kernel configuration requirements are present in OTA package (and will be enforced # during OTA). Otherwise, kernel configuration requirements are enforced in VTS. # Devices that checks the running kernel (instead of the kernel in OTA package) should not # set this variable to prevent OTA failures. PRODUCT_OTA_ENFORCE_VINTF_KERNEL_REQUIREMENTS := \ $(strip $(PRODUCTS.$(INTERNAL_PRODUCT).PRODUCT_OTA_ENFORCE_VINTF_KERNEL_REQUIREMENTS)) Loading
core/config.mk +1 −6 Original line number Diff line number Diff line Loading @@ -923,12 +923,7 @@ PLATFORM_SEPOLICY_COMPAT_VERSIONS := \ PLATFORM_SEPOLICY_VERSION \ TOT_SEPOLICY_VERSION \ # If true, kernel configuration requirements are present in OTA package (and will be enforced # during OTA). Otherwise, kernel configuration requirements are enforced in VTS. # Devices that checks the running kernel (instead of the kernel in OTA package) should not # set this variable to prevent OTA failures. ifndef PRODUCT_OTA_ENFORCE_VINTF_KERNEL_REQUIREMENTS PRODUCT_OTA_ENFORCE_VINTF_KERNEL_REQUIREMENTS := ifeq ($(PRODUCT_OTA_ENFORCE_VINTF_KERNEL_REQUIREMENTS),) ifdef PRODUCT_SHIPPING_API_LEVEL ifeq (true,$(call math_gt_or_eq,$(PRODUCT_SHIPPING_API_LEVEL),29)) PRODUCT_OTA_ENFORCE_VINTF_KERNEL_REQUIREMENTS := true Loading
core/product.mk +1 −0 Original line number Diff line number Diff line Loading @@ -211,6 +211,7 @@ _product_var_list := \ PRODUCT_FORCE_PRODUCT_MODULES_TO_SYSTEM_PARTITION \ PRODUCT_USE_DYNAMIC_PARTITIONS \ PRODUCT_RETROFIT_DYNAMIC_PARTITIONS \ PRODUCT_OTA_ENFORCE_VINTF_KERNEL_REQUIREMENTS \ define dump-product $(info ==== $(1) ====)\ Loading
core/product_config.mk +7 −0 Original line number Diff line number Diff line Loading @@ -544,3 +544,10 @@ PRODUCT_BUILD_SUPER_PARTITION := $(or \ PRODUCT_FORCE_PRODUCT_MODULES_TO_SYSTEM_PARTITION := \ $(strip $(PRODUCTS.$(INTERNAL_PRODUCT).PRODUCT_FORCE_PRODUCT_MODULES_TO_SYSTEM_PARTITION)) .KATI_READONLY := PRODUCT_FORCE_PRODUCT_MODULES_TO_SYSTEM_PARTITION # If set, kernel configuration requirements are present in OTA package (and will be enforced # during OTA). Otherwise, kernel configuration requirements are enforced in VTS. # Devices that checks the running kernel (instead of the kernel in OTA package) should not # set this variable to prevent OTA failures. PRODUCT_OTA_ENFORCE_VINTF_KERNEL_REQUIREMENTS := \ $(strip $(PRODUCTS.$(INTERNAL_PRODUCT).PRODUCT_OTA_ENFORCE_VINTF_KERNEL_REQUIREMENTS))