aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChangho Shin <changho.shin@lge.com>2022-08-08 01:23:25 +0000
committerChangho Shin <changho.shin@lge.com>2022-08-08 01:30:42 +0000
commit040af27bb78a67543d0c3830a50c6704b6b605d8 (patch)
tree15fa9c27b8b8f6a7c3e6ab037ec9eb904530d766
parentc7cd55bf17472952bab9019acb20a55e8237e443 (diff)
downloadbuild-040af27bb78a67543d0c3830a50c6704b6b605d8.tar.gz
Remove dynamic partition allowlist check
If OEM's custom partitions directly apply to AVB-enabled A/B AOSP-defined partitions, and if those AOSP partitions are configured to be dynamic, that custom partitions should be dynamic as same as the others to catch up with AOSP partitions' changes when product is updated through OTA. Remove valid dynamic partitions' list since that is no more necessary. Bug: 238968263 Change-Id: Ic69f4ba58304110932b70d325cbb61ca8a5afee0
-rw-r--r--core/config.mk10
1 files changed, 0 insertions, 10 deletions
diff --git a/core/config.mk b/core/config.mk
index c0dea95e33..bf3966a4a7 100644
--- a/core/config.mk
+++ b/core/config.mk
@@ -973,16 +973,6 @@ $(foreach group,$(call to-upper,$(BOARD_SUPER_PARTITION_GROUPS)), \
$(eval .KATI_READONLY := BOARD_$(group)_PARTITION_LIST) \
)
-# BOARD_*_PARTITION_LIST: a list of the following tokens
-valid_super_partition_list := system vendor product system_ext odm vendor_dlkm odm_dlkm system_dlkm
-$(foreach group,$(call to-upper,$(BOARD_SUPER_PARTITION_GROUPS)), \
- $(if $(filter-out $(valid_super_partition_list),$(BOARD_$(group)_PARTITION_LIST)), \
- $(error BOARD_$(group)_PARTITION_LIST contains invalid partition name \
- $(filter-out $(valid_super_partition_list),$(BOARD_$(group)_PARTITION_LIST)). \
- Valid names are $(valid_super_partition_list))))
-valid_super_partition_list :=
-
-
# Define BOARD_SUPER_PARTITION_PARTITION_LIST, the sum of all BOARD_*_PARTITION_LIST
ifdef BOARD_SUPER_PARTITION_PARTITION_LIST
$(error BOARD_SUPER_PARTITION_PARTITION_LIST should not be defined, but computed from \