summaryrefslogtreecommitdiff
path: root/nuttx/drivers/timers/Make.defs
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/drivers/timers/Make.defs')
-rw-r--r--nuttx/drivers/timers/Make.defs6
1 files changed, 6 insertions, 0 deletions
diff --git a/nuttx/drivers/timers/Make.defs b/nuttx/drivers/timers/Make.defs
index a6f15133c..f70052a21 100644
--- a/nuttx/drivers/timers/Make.defs
+++ b/nuttx/drivers/timers/Make.defs
@@ -57,6 +57,12 @@ ifeq ($(CONFIG_RTC_DRIVER),y)
TMRVPATH = :timers
endif
+ifeq ($(CONFIG_TIMERS_CS2100CP),y)
+ CSRCS += cs2100-cp.c
+ TMRDEPPATH = --dep-path timers
+ TMRVPATH = :timers
+endif
+
# Include timer build support (if any were selected)
DEPPATH += $(TMRDEPPATH)