diff --git a/ta/mk/ta_dev_kit.mk b/ta/mk/ta_dev_kit.mk index da788d592ed..699470fb5f7 100644 --- a/ta/mk/ta_dev_kit.mk +++ b/ta/mk/ta_dev_kit.mk @@ -128,7 +128,7 @@ ifneq ($(user-ta-uuid),) # Build target is TA spec-out-dir := $(link-out-dir$(sm)) spec-srcs += $(ta-dev-kit-dir$(sm))/src/user_ta_header.c -ifeq ($(ta-target),ta_arm32) +ifeq ($(sm),ta_arm32) spec-srcs += $(ta-dev-kit-dir$(sm))/src/ta_entry_a32.S endif endif