summaryrefslogtreecommitdiff
path: root/common/build.mk
diff options
context:
space:
mode:
Diffstat (limited to 'common/build.mk')
-rw-r--r--common/build.mk4
1 files changed, 3 insertions, 1 deletions
diff --git a/common/build.mk b/common/build.mk
index 2da6a89b38..482e6b4853 100644
--- a/common/build.mk
+++ b/common/build.mk
@@ -224,7 +224,9 @@ ifneq ($(HAVE_PRIVATE_AUDIO_CODEC_WOV_LIBS),y)
common-$(CONFIG_AUDIO_CODEC_WOV)+=hotword_dsp_api.o
endif
-ifneq ($(CONFIG_COMMON_RUNTIME),)
+ifeq ($(USE_BUILTIN_STDLIB), 0)
+common-y+=shared_mem_libc.o
+else ifneq ($(CONFIG_COMMON_RUNTIME),)
ifeq ($(CONFIG_DFU_BOOTMANAGER_MAIN),ro)
# Ordinary RO is replaced with DFU bootloader stub, CONFIG_MALLOC should only affect RW.
ifeq ($(CONFIG_MALLOC),y)