summaryrefslogtreecommitdiff
path: root/drivers/net/caif/Makefile
diff options
context:
space:
mode:
authorSjur Braendeland <sjur.brandeland@stericsson.com>2010-03-30 17:56:30 +0400
committerDavid S. Miller <davem@davemloft.net>2010-03-31 06:08:50 +0400
commit9b27105b4a44c54bf91ecd7d0315034ae75684f7 (patch)
treef23691d85d007358a7e52b92f7f4f6a1d6d9f00c /drivers/net/caif/Makefile
parentedc7616c307ad315159a8aa050142237f524e079 (diff)
downloadlinux-9b27105b4a44c54bf91ecd7d0315034ae75684f7.tar.xz
net-caif-driver: add CAIF serial driver (ldisc)
Add CAIF Serial driver. This driver is implemented as a line discipline. caif_serial uses the following module parameters: ser_use_stx - specifies if STart of frame eXtension is in use. ser_loop - sets the interface in loopback mode. Signed-off-by: Sjur Braendeland <sjur.brandeland@stericsson.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/caif/Makefile')
-rw-r--r--drivers/net/caif/Makefile12
1 files changed, 12 insertions, 0 deletions
diff --git a/drivers/net/caif/Makefile b/drivers/net/caif/Makefile
new file mode 100644
index 000000000000..52b6d1f826f8
--- /dev/null
+++ b/drivers/net/caif/Makefile
@@ -0,0 +1,12 @@
+ifeq ($(CONFIG_CAIF_DEBUG),1)
+CAIF_DBG_FLAGS := -DDEBUG
+endif
+
+KBUILD_EXTRA_SYMBOLS=net/caif/Module.symvers
+
+ccflags-y := $(CAIF_FLAGS) $(CAIF_DBG_FLAGS)
+clean-dirs:= .tmp_versions
+clean-files:= Module.symvers modules.order *.cmd *~ \
+
+# Serial interface
+obj-$(CONFIG_CAIF_TTY) += caif_serial.o