diff --git a/components/partition_table/Makefile.projbuild b/components/partition_table/Makefile.projbuild index 7b85adaa0f..3241052f53 100644 --- a/components/partition_table/Makefile.projbuild +++ b/components/partition_table/Makefile.projbuild @@ -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