diff options
Diffstat (limited to 'nuttx/drivers/Makefile')
-rw-r--r-- | nuttx/drivers/Makefile | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/nuttx/drivers/Makefile b/nuttx/drivers/Makefile index b76a04a8c..a6fcbe1f0 100644 --- a/nuttx/drivers/Makefile +++ b/nuttx/drivers/Makefile @@ -2,7 +2,7 @@ # drivers/Makefile # # Copyright (C) 2007-2011 Gregory Nutt. All rights reserved. -# Author: Gregory Nutt <spudmonkey@racsa.co.cr> +# Author: Gregory Nutt <gnutt@nuttx.org> # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions @@ -64,10 +64,13 @@ include usbhost/Make.defs include wireless/Make.defs ifneq ($(CONFIG_NFILE_DESCRIPTORS),0) - CSRCS += dev_null.c dev_zero.c loop.c can.c + CSRCS += dev_null.c dev_zero.c loop.c ifneq ($(CONFIG_DISABLE_MOUNTPOINT),y) CSRCS += ramdisk.c rwbuffer.c endif +ifneq ($(CONFIG_CAN),y) + CSRCS += can.c +endif ifeq ($(CONFIG_PWM),y) CSRCS += pwm.c endif |