summaryrefslogtreecommitdiff
path: root/nuttx/sched/Makefile
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2009-11-05 21:44:33 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2009-11-05 21:44:33 +0000
commit4e4e59b8d249ed809a8a97072f0f7efcbaf4bc89 (patch)
treeae4810c239f9b751ac6e6c2e0b22a87354bbb3eb /nuttx/sched/Makefile
parent2c41af2650fdec54e1e26678b857917632a965a3 (diff)
downloadpx4-nuttx-4e4e59b8d249ed809a8a97072f0f7efcbaf4bc89.tar.gz
px4-nuttx-4e4e59b8d249ed809a8a97072f0f7efcbaf4bc89.tar.bz2
px4-nuttx-4e4e59b8d249ed809a8a97072f0f7efcbaf4bc89.zip
Add beginnings of a work thread
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2229 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/sched/Makefile')
-rw-r--r--nuttx/sched/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/nuttx/sched/Makefile b/nuttx/sched/Makefile
index 84609a021..3a2512662 100644
--- a/nuttx/sched/Makefile
+++ b/nuttx/sched/Makefile
@@ -135,10 +135,14 @@ TIMER_SRCS = timer_initialize.c timer_create.c timer_delete.c timer_getoverrun.c
timer_gettime.c timer_settime.c timer_release.c
endif
+ifeq ($(CONFIG_SCHED_WORKQUEUE),y)
+WORK_SRCS = work_queue.c work_cancel.c
+endif
+
IRQ_SRCS = irq_initialize.c irq_attach.c irq_dispatch.c irq_unexpectedisr.c
CSRCS = $(MISC_SRCS) $(TSK_SRCS) $(SCHED_SRCS) $(WDOG_SRCS) $(TIME_SRCS) \
- $(SEM_SRCS) $(TIMER_SRCS) $(IRQ_SRCS)
+ $(SEM_SRCS) $(TIMER_SRCS) $(WORK_SRCS) $(IRQ_SRCS)
ifneq ($(CONFIG_DISABLE_CLOCK),y)
CSRCS += $(CLOCK_SRCS)
endif