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

This commit is contained in:
Mahavir Jain 2023-02-12 21:29:39 +05:30
parent 5002ccd9c3
commit 379d9034eb
No known key found for this signature in database
GPG Key ID: 99324EF4A00734E0

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