summaryrefslogtreecommitdiff
path: root/nuttx/drivers/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/drivers/Makefile')
-rw-r--r--nuttx/drivers/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/nuttx/drivers/Makefile b/nuttx/drivers/Makefile
index 8b0701490..e32075624 100644
--- a/nuttx/drivers/Makefile
+++ b/nuttx/drivers/Makefile
@@ -82,6 +82,10 @@ endif
ifeq ($(CONFIG_PWM),y)
CSRCS += pwm.c
endif
+
+ifeq ($(CONFIG_WATCHDOG),y)
+ CSRCS += watchdog.c
+endif
endif
AOBJS = $(ASRCS:.S=$(OBJEXT))