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/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/nuttx/examples/ostest/Makefile b/nuttx/examples/ostest/Makefile
index 3eeda4f08..adb875932 100644
--- a/nuttx/examples/ostest/Makefile
+++ b/nuttx/examples/ostest/Makefile
@@ -40,7 +40,10 @@ ASRCS =
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
+CSRCS += cancel.c cond.c mutex.c sem.c barrier.c
+ifneq ($(CONFIG_RR_INTERVAL),0)
+CSRCS += roundrobin.c
+endif
ifeq ($(CONFIG_MUTEX_TYPES),y)
CSRCS += rmutex.c
endif