Merge "Add PRODUCT_USE_LOGICAL_PARTITIONS"
This commit is contained in:
commit
fecdb5db65
3 changed files with 15 additions and 0 deletions
|
@ -915,6 +915,15 @@ PLATFORM_SEPOLICY_COMPAT_VERSIONS := \
|
|||
PLATFORM_SEPOLICY_VERSION \
|
||||
TOT_SEPOLICY_VERSION \
|
||||
|
||||
ifndef USE_LOGICAL_PARTITIONS
|
||||
USE_LOGICAL_PARTITIONS := $(PRODUCT_USE_LOGICAL_PARTITIONS)
|
||||
endif
|
||||
.KATI_READONLY := USE_LOGICAL_PARTITIONS
|
||||
|
||||
ifeq ($(USE_LOGICAL_PARTITIONS),true)
|
||||
BOARD_KERNEL_CMDLINE += androidboot.lrap=1
|
||||
endif
|
||||
|
||||
# ###############################################################
|
||||
# Set up final options.
|
||||
# ###############################################################
|
||||
|
|
|
@ -197,6 +197,7 @@ _product_var_list := \
|
|||
PRODUCT_CFI_EXCLUDE_PATHS \
|
||||
PRODUCT_COMPATIBLE_PROPERTY_OVERRIDE \
|
||||
PRODUCT_ACTIONABLE_COMPATIBLE_PROPERTY_DISABLE \
|
||||
PRODUCT_USE_LOGICAL_PARTITIONS \
|
||||
|
||||
define dump-product
|
||||
$(info ==== $(1) ====)\
|
||||
|
|
|
@ -500,3 +500,8 @@ PRODUCT_COMPATIBLE_PROPERTY_OVERRIDE := \
|
|||
# Whether the whitelist of actionable compatible properties should be disabled or not
|
||||
PRODUCT_ACTIONABLE_COMPATIBLE_PROPERTY_DISABLE := \
|
||||
$(strip $(PRODUCTS.$(INTERNAL_PRODUCT).PRODUCT_ACTIONABLE_COMPATIBLE_PROPERTY_DISABLE))
|
||||
|
||||
# Logical and Resizable Partitions feature flag.
|
||||
PRODUCT_USE_LOGICAL_PARTITIONS := \
|
||||
$(strip $(PRODUCTS.$(INTERNAL_PRODUCT).PRODUCT_USE_LOGICAL_PARTITIONS))
|
||||
.KATI_READONLY := PRODUCT_USE_LOGICAL_PARTITIONS
|
||||
|
|
Loading…
Reference in a new issue