diff options
Diffstat (limited to 'nuttx/drivers/Makefile')
-rw-r--r-- | nuttx/drivers/Makefile | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/nuttx/drivers/Makefile b/nuttx/drivers/Makefile index a6fcbe1f0..4254acac0 100644 --- a/nuttx/drivers/Makefile +++ b/nuttx/drivers/Makefile @@ -65,12 +65,15 @@ include wireless/Make.defs ifneq ($(CONFIG_NFILE_DESCRIPTORS),0) CSRCS += dev_null.c dev_zero.c loop.c + ifneq ($(CONFIG_DISABLE_MOUNTPOINT),y) CSRCS += ramdisk.c rwbuffer.c endif -ifneq ($(CONFIG_CAN),y) + +ifeq ($(CONFIG_CAN),y) CSRCS += can.c endif + ifeq ($(CONFIG_PWM),y) CSRCS += pwm.c endif |