diff --git a/qemu_v8.mk b/qemu_v8.mk index b66b0018..b3c370f4 100644 --- a/qemu_v8.mk +++ b/qemu_v8.mk @@ -353,6 +353,11 @@ ifeq ($(MEMTAG),y) OPTEE_OS_COMMON_FLAGS += CFG_MEMTAG=y endif +ifneq ($(QEMU_SMP),) +CFG_TEE_CORE_NB_CORE ?= $(QEMU_SMP) +OPTEE_OS_COMMON_FLAGS += CFG_TEE_CORE_NB_CORE=$(CFG_TEE_CORE_NB_CORE) +endif + OPTEE_OS_COMMON_FLAGS += $(OPTEE_OS_COMMON_FLAGS_SPMC_AT_EL_$(SPMC_AT_EL)) optee-os: optee-os-common