aboutsummaryrefslogtreecommitdiff
path: root/mk/config.mk
diff options
context:
space:
mode:
Diffstat (limited to 'mk/config.mk')
-rw-r--r--mk/config.mk10
1 files changed, 10 insertions, 0 deletions
diff --git a/mk/config.mk b/mk/config.mk
index 34e66bfe..96365456 100644
--- a/mk/config.mk
+++ b/mk/config.mk
@@ -346,6 +346,16 @@ $(error Cannot instrument user libraries if user mode profiling is disabled)
endif
endif
+# Build libutee, libutils, libmpa/libmbedtls as shared libraries.
+# - Static libraries are still generated when this is enabled, but TAs will use
+# the shared libraries unless explicitly linked with the -static flag.
+# - Shared libraries are made of two files: for example, libutee is
+# libutee.so and 527f1a47-b92c-4a74-95bd-72f19f4a6f74.ta. The '.so' file
+# is a totally standard shared object, and should be used to link against.
+# The '.ta' file is a signed version of the '.so' and should be installed
+# in the same way as TAs so that they can be found at runtime.
+CFG_ULIBS_SHARED ?= n
+
# CFG_GP_SOCKETS
# Enable Global Platform Sockets support
CFG_GP_SOCKETS ?= y