Lines Matching +full:rev +full:- +full:parse
5 sm-$(sm) := y
7 arch-dir := core/arch/$(ARCH)
8 platform-dir := $(arch-dir)/plat-$(PLATFORM)
9 include $(platform-dir)/conf.mk
15 ifeq ($(arch-bits-core),64)
16 git-sha1-len := 16
18 git-sha1-len := 8
20 TEE_IMPL_GIT_SHA1 := 0x$(shell git rev-parse --short=$(git-sha1-len) HEAD 2>/dev/null || echo 0 | c…
28 $(eval $(call cfg-depends-all,CFG_PAGED_USER_TA,CFG_WITH_PAGER CFG_WITH_USER_TA))
33 include core/lib/scmi-server/conf.mk
36 cppflags$(sm) += -D__KERNEL__
38 cppflags$(sm) += -Icore/include
39 cppflags$(sm) += -include $(conf-file)
40 cppflags$(sm) += -I$(out-dir)/core/include
41 cppflags$(sm) += $(core-platform-cppflags)
42 cflags$(sm) += $(core-platform-cflags)
45 core-stackp-cflags-$(CFG_CORE_STACK_PROTECTOR) := -fstack-protector
46 core-stackp-cflags-$(CFG_CORE_STACK_PROTECTOR_STRONG) := -fstack-protector-strong
47 core-stackp-cflags-$(CFG_CORE_STACK_PROTECTOR_ALL) := -fstack-protector-all
49 core-stackp-cflags-y := -fno-stack-protector
51 cflags$(sm) += $(core-stackp-cflags-y)
54 cflags$(sm) += -fsanitize=undefined
63 cflags_kasan += -fsanitize=kernel-address \
64 -fasan-shadow-offset=$(CFG_ASAN_SHADOW_OFFSET)\
65 --param asan-globals=1 \
66 --param asan-instrumentation-with-call-threshold=0
68 cflags_kasan += --param asan-stack=1
73 finstrument-functions := $(call cc-option,-finstrument-functions)
74 ifeq (,$(finstrument-functions))
75 $(error -finstrument-functions not supported)
77 cflags$(sm) += $(finstrument-functions)
80 cflags$(sm) += -pg
82 aflags$(sm) += $(core-platform-aflags)
84 cppflags$(sm) += -DTRACE_LEVEL=$(CFG_TEE_CORE_LOG_LEVEL)
86 cppflags$(sm) += -DENABLE_MDBG=1
89 cppflags$(sm) += -DNDEBUG
92 cppflags$(sm) += -Ildelf/include
93 cppflags$(sm) += -Ilib/libutee/include
99 # Tell all libraries and sub-directories (included below) that we have a
102 conf-file := $(out-dir)/include/generated/conf.h
103 conf-mk-file := $(out-dir)/conf.mk
104 conf-cmake-file := $(out-dir)/conf.cmake
105 $(conf-file): $(conf-mk-file)
107 cleanfiles += $(conf-file)
108 cleanfiles += $(conf-mk-file)
109 cleanfiles += $(conf-cmake-file)
111 $(conf-file): FORCE
112 $(call check-conf-h)
114 $(conf-mk-file): FORCE
115 $(call check-conf-mk)
117 $(conf-cmake-file): FORCE
118 $(call check-conf-cmake)
126 base-prefix := $(sm)-
146 base-prefix :=
148 base-prefix := $(sm)-
152 # If a library can be compiled for both core and user space a base-prefix
155 base-prefix :=
162 base-prefix :=
185 libname = scmi-server
186 libdir = core/lib/scmi-server
200 subdirs = $(core-platform-subdirs) core
205 include $(if $(wildcard $(platform-dir)/link.mk), \
206 $(platform-dir)/link.mk, \