Merge branch 'bugfix/secure_boot_v2_part_size_check_make_build' into 'release/v4.3'

partition_table: update make build for new "--secure [v1/v2]" argument

See merge request espressif/esp-idf!22437
This commit is contained in:
Jiang Jiang Jian 2023-02-26 15:52:11 +08:00
commit ba4b47d24e

View File

@ -21,7 +21,11 @@ endif
PARTITION_SECURE_OPT :=
ifdef CONFIG_SECURE_BOOT
ifndef CONFIG_SECURE_BOOT_ALLOW_SHORT_APP_PARTITION
PARTITION_SECURE_OPT += --secure
ifdef CONFIG_SECURE_BOOT_V2_ENABLED
PARTITION_SECURE_OPT += --secure v2
else
PARTITION_SECURE_OPT += --secure v1
endif
endif
endif