diff options
author | Felix Fietkau <nbd@openwrt.org> | 2014-03-21 15:54:41 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2014-03-21 15:54:41 +0000 |
commit | 4be4ff697dd31ecb978a0afadc82476d90b904b3 (patch) | |
tree | e0e8a4e9c0c7287e8decace57c19e0171fdb9a6c | |
parent | 330247dd20b7574259ec5a3ba966d57465e7b110 (diff) | |
download | upstream-4be4ff697dd31ecb978a0afadc82476d90b904b3.tar.gz upstream-4be4ff697dd31ecb978a0afadc82476d90b904b3.tar.bz2 upstream-4be4ff697dd31ecb978a0afadc82476d90b904b3.zip |
kernel: add can.ko to the kmod-can package.
Build all of the can support as modules, otherwise the kernel image is
changed when a can kernel package is selected, because the can protocol
is then built in into the kernel image.
Signed-off-by: Jan Kardell <jan.kardell@telliq.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39989 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r-- | package/kernel/linux/modules/can.mk | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/package/kernel/linux/modules/can.mk b/package/kernel/linux/modules/can.mk index 39c1c969ad..ab7fcfa53a 100644 --- a/package/kernel/linux/modules/can.mk +++ b/package/kernel/linux/modules/can.mk @@ -11,7 +11,7 @@ define KernelPackage/can SUBMENU:=$(CAN_MENU) TITLE:=CAN bus support KCONFIG:=\ - CONFIG_CAN=y \ + CONFIG_CAN=m \ CONFIG_CAN_DEV \ CONFIG_CAN_CALC_BITTIMING=y \ CONFIG_CAN_LEDS=y \ @@ -29,8 +29,9 @@ define KernelPackage/can CONFIG_CAN_SOFTING=n \ CONFIG_NET_EMATCH_CANID=n \ CONFIG_CAN_DEBUG_DEVICES=n - FILES:=$(LINUX_DIR)/drivers/net/can/can-dev.ko - AUTOLOAD:=$(call AutoProbe,can-dev) + FILES:=$(LINUX_DIR)/drivers/net/can/can-dev.ko \ + $(LINUX_DIR)/net/can/can.ko + AUTOLOAD:=$(call AutoProbe,can can-dev) endef define KernelPackage/can/description |