summaryrefslogtreecommitdiff
path: root/apps/examples/ostest/Makefile
diff options
context:
space:
mode:
authorGregory Nutt <gnutt@nuttx.org>2014-09-28 13:02:36 -0600
committerGregory Nutt <gnutt@nuttx.org>2014-09-28 13:02:36 -0600
commit8aed46c0d53be355372066ed2cb7eeb5993c65d7 (patch)
tree3ce834f96629b6f333a48f705f1ab2643645572d /apps/examples/ostest/Makefile
parent4ea6d399799d8bb94cca45b26e2bc2d5784a1792 (diff)
downloadnuttx-8aed46c0d53be355372066ed2cb7eeb5993c65d7.tar.gz
nuttx-8aed46c0d53be355372066ed2cb7eeb5993c65d7.tar.bz2
nuttx-8aed46c0d53be355372066ed2cb7eeb5993c65d7.zip
Add a simple named semaphore test to the OS test
Diffstat (limited to 'apps/examples/ostest/Makefile')
-rw-r--r--apps/examples/ostest/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/apps/examples/ostest/Makefile b/apps/examples/ostest/Makefile
index 375526f66..27957b892 100644
--- a/apps/examples/ostest/Makefile
+++ b/apps/examples/ostest/Makefile
@@ -59,6 +59,9 @@ endif
ifneq ($(CONFIG_DISABLE_PTHREAD),y)
CSRCS += cancel.c cond.c mutex.c sem.c semtimed.c barrier.c
+ifeq ($(CONFIG_FS_NAMED_SEMAPHORES),y)
+CSRCS += nsem.c
+endif
ifneq ($(CONFIG_RR_INTERVAL),0)
CSRCS += roundrobin.c
endif # CONFIG_RR_INTERVAL