From: Michal Sojka Date: Thu, 20 Dec 2012 13:17:16 +0000 (+0100) Subject: Add Kbuild files X-Git-Url: http://rtime.felk.cvut.cz/gitweb/can-eth-gw-linux.git/commitdiff_plain/c5f098ca619c3885adbbc04b1366486e7793fa8b Add Kbuild files --- diff --git a/net/can/Kconfig b/net/can/Kconfig index 03200699d274..794d934d0169 100644 --- a/net/can/Kconfig +++ b/net/can/Kconfig @@ -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" diff --git a/net/can/Makefile b/net/can/Makefile index cef49eb1f5c7..28a5f055c2fe 100644 --- a/net/can/Makefile +++ b/net/can/Makefile @@ -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