summaryrefslogtreecommitdiff
path: root/nuttx/drivers/Makefile
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2011-12-21 15:50:06 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2011-12-21 15:50:06 +0000
commit9f331c4e5b05657516a1d634da9e38758d82c601 (patch)
tree43cc8ae1e277c334fbbbb8430ec0aa41903f08ea /nuttx/drivers/Makefile
parent3f6973a6104b7ea2f4daf52cf2d06b694a7711e7 (diff)
downloadpx4-nuttx-9f331c4e5b05657516a1d634da9e38758d82c601.tar.gz
px4-nuttx-9f331c4e5b05657516a1d634da9e38758d82c601.tar.bz2
px4-nuttx-9f331c4e5b05657516a1d634da9e38758d82c601.zip
Add the beginning of an STM32 CAN driver
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4209 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/drivers/Makefile')
-rw-r--r--nuttx/drivers/Makefile7
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