Home
last modified time | relevance | path

Searched refs:sm (Results 1 – 25 of 30) sorted by relevance

12

/optee_os-3.20.0/mk/
A Dgcc.mk2 CC$(sm) := $(CROSS_COMPILE_$(sm))gcc
3 CXX$(sm) := $(CROSS_COMPILE_$(sm))g++
4 CPP$(sm) := $(CROSS_COMPILE_$(sm))cpp
5 LD$(sm) := $(CROSS_COMPILE_$(sm))ld.bfd
6 AR$(sm) := $(CROSS_COMPILE_$(sm))ar
7 NM$(sm) := $(CROSS_COMPILE_$(sm))nm
8 OBJCOPY$(sm) := $(CROSS_COMPILE_$(sm))objcopy
9 OBJDUMP$(sm) := $(CROSS_COMPILE_$(sm))objdump
16 libgcc$(sm) := $(shell $(CC$(sm)) $(CFLAGS$(arch-bits-$(sm))) \
18 libstdc++$(sm) := $(shell $(CXX$(sm)) $(CXXFLAGS$(arch-bits-$(sm))) $(comp-cxxflags$(sm)) \
[all …]
A Dclang.mk6 clang-target := $(patsubst %-,%,$(notdir $(lastword $(CROSS_COMPILE_$(sm)))))
10 ccache-cmd := $(if $(findstring ccache,$(CROSS_COMPILE_$(sm))),$(firstword $(CROSS_COMPILE_$(sm))) …
13 CXX$(sm) := false # Untested yet
17 LD$(sm) := $(ccache-cmd)$(OPTEE_CLANG_COMPILER_PATH)ld.lld
19 AR$(sm) := $(ccache-cmd)$(OPTEE_CLANG_COMPILER_PATH)llvm-ar
20 NM$(sm) := $(OPTEE_CLANG_COMPILER_PATH)llvm-nm
21 OBJCOPY$(sm) := $(OPTEE_CLANG_COMPILER_PATH)llvm-objcopy
22 OBJDUMP$(sm) := $(OPTEE_CLANG_COMPILER_PATH)llvm-objdump
23 READELF$(sm) := $(OPTEE_CLANG_COMPILER_PATH)llvm-readelf
25 nostdinc$(sm) := -nostdinc -isystem $(shell $(CC$(sm)) \
[all …]
A Dcompile.mk20 comp-cflags$(sm) = -std=gnu11
21 comp-aflags$(sm) =
22 comp-cppflags$(sm) =
25 comp-cflags$(sm) += -Werror
56 $(comp-cflags-warns-$(COMPILER_$(sm)))
61 .PHONY: FORCE-GENSRC$(sm)
63 FORCE-GENSRC$(sm):
70 comp-sm-$2 := $(sm)
71 comp-lib-$2 := $(libname)-$(sm)
77 comp-compiler-$2 := $$(CC$(sm))
[all …]
A Dlib.mk22 ifeq ($(filter $(sm), core ldelf),) # TA
24 cflags-lib$(libname)-$(sm) += -pg
35 lib-shlibfile-$(libname)-$(sm) := $(lib-shlibfile)
36 lib-libdir-$(libname)-$(sm) := $(out-dir)/$(base-prefix)$(libdir)
37 lib-needed-so-files := $(foreach l,$(libl),$(lib-shlibfile-$(l)-$(sm)))
38 lib-Ll-args := $(foreach l,$(libl),-L$(lib-libdir-$(l)-$(sm)) -l$(l))
54 $$(q)$$(LD$(sm)) $(lib-ldflags) -o $$@ $$^
59 $$(q)rm -f $$@ && $$(AR$(sm)) rcs $$@ $$^
62 ifeq ($(sm)-$(CFG_TA_BTI),ta_arm64-y)
68 $$(q)$$(LD$(sm)) $(lib-ldflags) -shared -z max-page-size=4096 \
[all …]
A Dsubdir.mk82 FORCE-GENSRC$(sm): $(if $(filter y,$5),$2,)
143 incdirs$(sm) := $(incdirs$(sm)) $$(addprefix $1/,$$(global-incdirs-y))
146 incdirs-lib$$(libname)-$$(sm) := $$(incdirs-lib$$(libname)-$$(sm)) $$(addprefix $1/,$$(incdirs-lib-…
147 cflags-lib$$(libname)-$$(sm) := $$(cflags-lib$$(libname)-$$(sm)) $$(cflags-lib-y)
148 cxxflags-lib$$(libname)-$$(sm) := $$(cxxflags-lib$$(libname)-$$(sm)) $$(cxxflags-lib-y)
149 cppflags-lib$$(libname)-$$(sm) := $$(cppflags-lib$$(libname)-$$(sm)) $$(cppflags-lib-y)
A Dcc-option.mk1 _cc-option-supported = $(if $(shell $(CC$(sm)) $(1) -c -x c /dev/null -o /dev/null 2>/dev/null >/de…
2 …ached-var-name = $(subst =,~,$(strip cached-cc-option-$(1)-$(subst $(empty) $(empty),,$(CC$(sm)))))
10 _ld-option-supported = $(if $(shell ($(LD$(sm)) -v $(1) 2>&1 || echo warning) | grep warning),,1)
11 …ached-var-name = $(subst =,~,$(subst $(empty) $(empty),,$(strip cached-ld-option-$(1)-$(LD$(sm)))))
A Dcleanvars.mk11 sm-$(sm) :=
/optee_os-3.20.0/ldelf/
A Dlink.mk1 link-script$(sm) = ldelf/ldelf.ld.S
2 link-script-pp$(sm) = $(link-out-dir$(sm))/ldelf.lds
3 link-script-dep$(sm) = $(link-out-dir$(sm))/.ldelf.ld.d
13 cleanfiles += $(link-script-pp$(sm)) $(link-script-dep$(sm))
23 ifeq ($(CFG_ARM32_$(sm)), y)
35 $(addprefix -I,$(incdirs$(sm)) $(link-out-dir$(sm))) \
36 $(cppflags$(sm)))
43 $(link-script-pp$(sm)): $(link-script$(sm)) $(conf-file) \
47 $(q)$(CPP$(sm)) -P -MT $$@ -MD -MF $(link-script-dep$(sm)) \
50 $(link-out-dir$(sm))/ldelf.elf: $(objs) $(libdeps) $(link-script-pp$(sm))
[all …]
A Dldelf.mk4 sm := ldelf
5 sm-$(sm) := y
7 link-out-dir$(sm) := $(out-dir)/$(sm)
11 aflags$(sm) := $(core-platform-aflags)
15 CFG_ARM64_$(sm) := y
18 CFG_ARM32_$(sm) := y
21 CFG_RV64_$(sm) := y
24 arch-bits-$(sm) := $(arch-bits-core)
28 cppflags$(sm) += -D__LDELF__
33 include mk/$(COMPILER_$(sm)).mk
[all …]
A Dsub.mk2 srcs-$(CFG_ARM32_$(sm)) += start_a32.S
3 srcs-$(CFG_ARM64_$(sm)) += start_a64.S
4 srcs-$(CFG_ARM32_$(sm)) += syscalls_a32.S
5 srcs-$(CFG_ARM64_$(sm)) += syscalls_a64.S
6 srcs-$(CFG_ARM64_$(sm)) += tlsdesc_rel_a64.S
7 srcs-$(CFG_RV64_$(sm)) += start_rv64.S
/optee_os-3.20.0/ta/arch/arm/
A Dlink.mk1 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
27 cleanfiles += $(link-script-pp$(sm)) $(link-script-dep$(sm))
40 $(link-out-dir$(sm))/dyn_list:
60 link-ldadd += $(libstdc++$(sm)) $(libgcc_eh$(sm))
69 link-script-cppflags-$(sm) := \
72 $(addprefix -I,$(incdirs$(sm)) $(link-out-dir$(sm))) \
73 $(cppflags$(sm)))
80 $(link-script-pp$(sm)): $(link-script$(sm)) $(conf-file) $(link-script-pp-makefiles$(sm))
[all …]
A Dlink_shlib.mk23 ifeq ($(sm)-$(CFG_TA_BTI),ta_arm64-y)
31 ldargs-$(shlibname).so := $(shlink-ldflags) $(objs) $(shlink-ldadd) $(libgcc$(sm))
36 $(q)$(LD$(sm)) $(ldargs-$(shlibname).so) --soname=$(shlibuuid) -o $@
40 $(q)$(OBJDUMP$(sm)) -l -x -d $< > $@
44 $(q)$(OBJCOPY$(sm)) --strip-unneeded $< $@
/optee_os-3.20.0/ta/mk/
A Dta_dev_kit.mk20 link-out-dir$(sm) := $(out-dir)
58 cppflags$(sm) := $($(sm)-platform-cppflags) $(CPPFLAGS_$(sm))
59 aflags$(sm) := $($(sm)-platform-aflags)
60 cflags$(sm) := $($(sm)-platform-cflags) $(CFLAGS_$(sm))
61 cxxflags$(sm) := $($(sm)-platform-cxxflags) $(CXXFLAGS_$(sm))
65 cxxflags$(sm) += -fno-exceptions
74 cppflags$(sm) += -I. -I$(ta-dev-kit-dir$(sm))/include
77 cppflags$(sm) += -pg
103 cppflags$(sm) += $(strip \
119 include $(ta-dev-kit-dir$(sm))/mk/$(COMPILER_$(sm)).mk
[all …]
A Dbuild-user-ta.mk4 sm := $(lastword $(subst /, ,$(dir $(ta-mk-file))))
5 sm-$(sm) := y
13 arch-bits-$(sm) := 32
16 arch-bits-$(sm) := 64
32 COMPILER_$(sm) := $(COMPILER_$(ta-target))
33 include mk/$(COMPILER_$(sm)).mk
36 -I$(ta-dev-kit-dir$(sm))/include
41 aflags$(sm) := $(aflags$(ta-target))
45 link-ldflags$(sm) := -static
48 libdirs = $(ta-dev-kit-dir$(sm))/lib
[all …]
/optee_os-3.20.0/ta/
A Dta.mk4 sm := $(ta-target)
5 sm-$(sm) := y
8 COMPILER_$(sm) ?= $(COMPILER)
9 include mk/$(COMPILER_$(sm)).mk
51 cppflags$(sm) := $(platform-cppflags) $($(sm)-platform-cppflags)
52 cflags$(sm) := $(platform-cflags) $($(sm)-platform-cflags)
53 aflags$(sm) := $(platform-aflags) $($(sm)-platform-aflags)
87 base-prefix := $(sm)-
197 sm-$(conf-mk-file-export) := $(sm)
203 $(q)echo sm := $$(sm-$(conf-mk-file-export)) > $$@.tmp
[all …]
/optee_os-3.20.0/lib/libutils/isoc/arch/arm/
A Dsub.mk4 srcs-$(CFG_ARM32_$(sm)) += arm32_aeabi_divmod_a32.S
5 srcs-$(CFG_ARM32_$(sm)) += arm32_aeabi_divmod.c
6 srcs-$(CFG_ARM32_$(sm)) += arm32_aeabi_ldivmod_a32.S
7 srcs-$(CFG_ARM32_$(sm)) += arm32_aeabi_ldivmod.c
8 srcs-$(CFG_ARM32_$(sm)) += arm32_aeabi_shift.c
20 srcs-$(CFG_ARM32_$(sm)) += setjmp_a32.S
21 srcs-$(CFG_ARM64_$(sm)) += setjmp_a64.S
25 ifneq ($(sm),core)
26 srcs-$(CFG_ARM32_$(sm)) += arm32_aeabi_softfloat.c
30 subdirs-$(CFG_ARM32_$(sm)) += softfloat
/optee_os-3.20.0/lib/libutils/ext/arch/arm/
A Dsub.mk2 srcs-$(CFG_ARM32_$(sm)) += aeabi_unwind.c
4 srcs-$(CFG_ARM32_$(sm)) += atomic_a32.S
5 srcs-$(CFG_ARM64_$(sm)) += atomic_a64.S
7 ifneq ($(sm),ldelf) # TA, core
8 srcs-$(CFG_ARM32_$(sm)) += mcount_a32.S
9 srcs-$(CFG_ARM64_$(sm)) += mcount_a64.S
/optee_os-3.20.0/core/
A Dcore.mk4 sm := core
5 sm-$(sm) := y
24 cppflags$(sm) += -D__KERNEL__
26 cppflags$(sm) += -Icore/include
51 cflags$(sm) += $(cflags_kasan)
61 cflags$(sm) += -pg
67 cppflags$(sm) += -DENABLE_MDBG=1
70 cppflags$(sm) += -DNDEBUG
73 cppflags$(sm) += -Ildelf/include
107 base-prefix := $(sm)-
[all …]
/optee_os-3.20.0/lib/libutee/arch/arm/
A Dsub.mk3 srcs-$(CFG_ARM32_$(sm)) += utee_syscalls_a32.S
4 srcs-$(CFG_ARM64_$(sm)) += utee_syscalls_a64.S
6 ifneq ($(sm),ldelf)
/optee_os-3.20.0/lib/libutils/ext/ftrace/
A Dsub.mk3 ifneq ($(sm),ldelf) # TA, core
/optee_os-3.20.0/lib/libutils/isoc/
A Dsub.mk6 ifeq ($(sm),core)
31 ifneq (,$(filter ta_%,$(sm)))
/optee_os-3.20.0/lib/libunw/
A Dsub.mk4 srcs-$(CFG_ARM64_$(sm)) += unwind_arm64.c
/optee_os-3.20.0/core/arch/arm/sm/
A Dsub.mk2 srcs-y += sm.c
/optee_os-3.20.0/core/lib/libtomcrypt/src/pk/ec25519/
A Dtweetnacl.c383 int tweetnacl_crypto_sign(u8 *sm,u64 *smlen,const u8 *m,u64 mlen,const u8 *sk,const u8 *pk, const u… in tweetnacl_crypto_sign() argument
395 FOR(i,(i64)mlen) sm[64 + i] = m[i]; in tweetnacl_crypto_sign()
396 FOR(i,32) sm[32 + i] = d[32 + i]; in tweetnacl_crypto_sign()
398 tweetnacl_crypto_hash_ctx(r, sm+32, mlen+32,ctx,cs); in tweetnacl_crypto_sign()
401 pack(sm,p); in tweetnacl_crypto_sign()
403 FOR(i,32) sm[i+32] = pk[i]; in tweetnacl_crypto_sign()
404 tweetnacl_crypto_hash_ctx(h,sm,mlen + 64,ctx,cs); in tweetnacl_crypto_sign()
410 modL(sm + 32,x); in tweetnacl_crypto_sign()
451 int tweetnacl_crypto_sign_open(int *stat, u8 *m,u64 *mlen,const u8 *sm,u64 smlen,const u8 *ctx,u64 … in tweetnacl_crypto_sign_open() argument
464 XMEMMOVE(m,sm,smlen); in tweetnacl_crypto_sign_open()
[all …]
/optee_os-3.20.0/lib/libmbedtls/
A Dsub.mk6 ifneq ($(sm),core)
124 srcs-$(sm-$(ta-target)) += $(addprefix mbedtls/library/, $(SRCS_X509))
125 srcs-$(sm-$(ta-target)) += $(addprefix mbedtls/library/, $(SRCS_TLS))
132 subdirs-$(sm-core) += core

Completed in 20 milliseconds

12