]> rtime.felk.cvut.cz Git - can-eth-gw-linux.git/commitdiff
Add Kbuild files
authorMichal Sojka <sojkam1@fel.cvut.cz>
Thu, 20 Dec 2012 13:17:16 +0000 (14:17 +0100)
committerMichal Sojka <sojkam1@fel.cvut.cz>
Thu, 20 Dec 2012 13:17:16 +0000 (14:17 +0100)
net/can/Kconfig
net/can/Makefile

index 03200699d274bf5e156db6948ac47fb73664f0e8..794d934d01695ffdf7da018a610b168632387a2f 100644 (file)
@@ -52,4 +52,13 @@ config CAN_GW
          They can be modified with AND/OR/XOR/SET operations as configured
          by the netlink configuration interface known e.g. from iptables.
 
+config CAN_ETH_GW
+       tristate "CAN/UDP Gateway"
+       depends on CAN && CAN_RAW && INET
+       default N
+       ---help---
+         The CAN/UDP Gateway is used to route CAN frames to UDP sockets and
+         vice versa. To use and configure the gateway, a user-space utility
+         is needed.
+
 source "drivers/net/can/Kconfig"
index cef49eb1f5c7bc37908c1f7b3432740f1b4c2377..28a5f055c2fe47e4430f56a64d0376bcdfab2ed1 100644 (file)
@@ -13,3 +13,5 @@ can-bcm-y             := bcm.o
 
 obj-$(CONFIG_CAN_GW)   += can-gw.o
 can-gw-y               := gw.o
+
+obj-$(CONFIG_CAN_ETH_GW)+= canethgw.o