From 59414feceffbd156def3bc62e7c8f26390091214 Mon Sep 17 00:00:00 2001 From: Vijay Banerjee Date: Wed, 16 Sep 2026 15:23:09 -0500 Subject: [PATCH] configure: Add build dependency for rtemsCom libraries Closes #952 --- configure/os/CONFIG.Common.RTEMS | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/configure/os/CONFIG.Common.RTEMS b/configure/os/CONFIG.Common.RTEMS index 9a2f4823b..432df25c5 100644 --- a/configure/os/CONFIG.Common.RTEMS +++ b/configure/os/CONFIG.Common.RTEMS @@ -149,6 +149,11 @@ OP_SYS_LDLIBS += -lrtemsCom -lCom OP_SYS_LDLIBS += $(OP_SYS_LDLIBS_$(OS_API)_NET_$(RTEMS_HAS_NETWORKING)) OP_SYS_LDLIBS += -lrtemscpu -lc -lm +OP_SYS_DEPLIBS = rtemsCom +PROD_DEPLIBS += $(foreach lib, $(OP_SYS_DEPLIBS), \ + $(firstword $(wildcard $(addsuffix /$(LIB_PREFIX)$(lib)$(LIB_SUFFIX), \ + $($(lib)_DIR) $(SHRLIB_SEARCH_DIRS))))) + OP_SYS_LDFLAGS_posix = -u POSIX_Init OP_SYS_LDFLAGS_score = -u Init \ $(PROJECT_RELEASE)/lib/no-dpmem.rel \