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 ea8de4ddca
commit 62e58ba624

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