summaryrefslogtreecommitdiff
path: root/nuttx/examples/ostest/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/examples/ostest/Makefile')
-rw-r--r--nuttx/examples/ostest/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/nuttx/examples/ostest/Makefile b/nuttx/examples/ostest/Makefile
index 05f76f92f..3eeda4f08 100644
--- a/nuttx/examples/ostest/Makefile
+++ b/nuttx/examples/ostest/Makefile
@@ -41,6 +41,9 @@ AOBJS = $(ASRCS:.S=$(OBJEXT))
CSRCS = main.c dev_null.c
ifneq ($(CONFIG_DISABLE_PTHREAD),y)
CSRCS += cancel.c cond.c mutex.c sem.c roundrobin.c barrier.c
+ifeq ($(CONFIG_MUTEX_TYPES),y)
+CSRCS += rmutex.c
+endif
endif
ifneq ($(CONFIG_DISABLE_SIGNALS),y)
CSRCS += sighand.c