Lines Matching refs:sm

1 link-script$(sm) = $(ta-dev-kit-dir$(sm))/src/ta.ld.S
2 link-script-pp$(sm) = $(link-out-dir$(sm))/ta.lds
3 link-script-dep$(sm) = $(link-out-dir$(sm))/.ta.ld.d
5 SIGN_ENC ?= $(PYTHON3) $(ta-dev-kit-dir$(sm))/scripts/sign_encrypt.py
6 TA_SIGN_KEY ?= $(ta-dev-kit-dir$(sm))/keys/default_ta.pem
19 all: $(link-out-dir$(sm))/$(user-ta-uuid).dmp \
20 $(link-out-dir$(sm))/$(user-ta-uuid).stripped.elf \
21 $(link-out-dir$(sm))/$(user-ta-uuid).ta
22 cleanfiles += $(link-out-dir$(sm))/$(user-ta-uuid).elf
23 cleanfiles += $(link-out-dir$(sm))/$(user-ta-uuid).dmp
24 cleanfiles += $(link-out-dir$(sm))/$(user-ta-uuid).map
25 cleanfiles += $(link-out-dir$(sm))/$(user-ta-uuid).stripped.elf
26 cleanfiles += $(link-out-dir$(sm))/$(user-ta-uuid).ta
27 cleanfiles += $(link-script-pp$(sm)) $(link-script-dep$(sm))
30 link-ldflags += -T $(link-script-pp$(sm))
31 link-ldflags += -Map=$(link-out-dir$(sm))/$(user-ta-uuid).map
34 ifeq ($(sm)-$(CFG_TA_BTI),ta_arm64-y)
38 link-ldflags += $(link-ldflags$(sm))
40 $(link-out-dir$(sm))/dyn_list:
51 link-ldflags += --dynamic-list $(link-out-dir$(sm))/dyn_list
52 dynlistdep = $(link-out-dir$(sm))/dyn_list
53 cleanfiles += $(link-out-dir$(sm))/dyn_list
60 link-ldadd += $(libstdc++$(sm)) $(libgcc_eh$(sm))
67 $(libgcc$(sm)) $(link-ldadd-after-libgcc)
69 link-script-cppflags-$(sm) := \
71 $(nostdinc$(sm)) $(CPPFLAGS) \
72 $(addprefix -I,$(incdirs$(sm)) $(link-out-dir$(sm))) \
73 $(cppflags$(sm)))
75 -include $(link-script-dep$(sm))
77 link-script-pp-makefiles$(sm) = $(filter-out %.d %.cmd,$(MAKEFILE_LIST))
80 $(link-script-pp$(sm)): $(link-script$(sm)) $(conf-file) $(link-script-pp-makefiles$(sm))
83 $(q)$(CPP$(sm)) -P -MT $$@ -MD -MF $(link-script-dep$(sm)) \
84 $(link-script-cppflags-$(sm)) $$< -o $$@
86 $(link-out-dir$(sm))/$(user-ta-uuid).elf: $(objs) $(libdeps) \
88 $(link-script-pp$(sm)) \
92 $(q)$(LD$(sm)) $(ldargs-$(user-ta-uuid).elf) -o $$@
94 $(link-out-dir$(sm))/$(user-ta-uuid).dmp: \
95 $(link-out-dir$(sm))/$(user-ta-uuid).elf
97 $(q)$(OBJDUMP$(sm)) -l -x -d $$< > $$@
99 $(link-out-dir$(sm))/$(user-ta-uuid).stripped.elf: \
100 $(link-out-dir$(sm))/$(user-ta-uuid).elf
102 $(q)$(OBJCOPY$(sm)) --strip-unneeded $$< $$@
109 $(link-out-dir$(sm))/$(user-ta-uuid).ta: \
110 $(link-out-dir$(sm))/$(user-ta-uuid).stripped.elf \