Lines Matching refs:sm
4 sm := $(lastword $(subst /, ,$(dir $(ta-mk-file))))
5 sm-$(sm) := y
8 ta-target := $(strip $(if $(CFG_USER_TA_TARGET_$(sm)), \
9 $(filter $(CFG_USER_TA_TARGET_$(sm)), $(ta-targets)), \
13 arch-bits-$(sm) := 32
16 arch-bits-$(sm) := 64
19 ta-dev-kit-dir$(sm) := $(out-dir)/export-$(ta-target)
20 link-out-dir$(sm) := $(out-dir)/$(patsubst %/,%, $(dir $(ta-mk-file)))
31 CROSS_COMPILE_$(sm) := $(CROSS_COMPILE_$(ta-target))
32 COMPILER_$(sm) := $(COMPILER_$(ta-target))
33 include mk/$(COMPILER_$(sm)).mk
35 cppflags$(sm) := $(cppflags$(ta-target)) $(CPPFLAGS_$(ta-target)) \
36 -I$(ta-dev-kit-dir$(sm))/include
38 cppflags$(sm) += -D__OPTEE_CORE_API_COMPAT_1_1=1
40 cflags$(sm) := $(cflags$(ta-target)) $(CFLAGS_$(ta-target))
41 aflags$(sm) := $(aflags$(ta-target))
45 link-ldflags$(sm) := -static
48 libdirs = $(ta-dev-kit-dir$(sm))/lib
58 spec-out-dir := $(link-out-dir$(sm))
59 spec-srcs += $(ta-dev-kit-dir$(sm))/src/user_ta_header.c
61 spec-srcs += $(ta-dev-kit-dir$(sm))/src/ta_entry_a32.S
73 $(out-dir)/export-$(ta-target)/ta/$(user-ta-uuid).ta: $(link-out-dir$(sm))/$(user-ta-uuid).ta