ath79: update WA/XC devices UBNT_VERSION to 8.7.4
[openwrt/staging/wigyori.git] / package / kernel / linux / modules / multiplexer.mk
1 # This is free software, licensed under the GNU General Public License v2.
2 # See /LICENSE for more information.
3 #
4
5 MENU_TITLE:=Multiplexer Support
6
7 define KernelPackage/mux-core
8 SUBMENU:=$(MENU_TITLE)
9 TITLE:=Multiplexer Support
10 KCONFIG:=CONFIG_MULTIPLEXER
11 FILES:=$(LINUX_DIR)/drivers/mux/mux-core.ko
12 AUTOLOAD:=$(call AutoLoad,25,mux-core,1)
13 endef
14
15 define KernelPackage/mux-core/description
16 Kernel module for multiplexer support
17 endef
18
19 $(eval $(call KernelPackage,mux-core))
20
21 define KernelPackage/mux-gpio
22 SUBMENU:=$(MENU_TITLE)
23 TITLE:=GPIO-controlled Multiplexer controller
24 KCONFIG:=CONFIG_MUX_GPIO
25 DEPENDS:=@GPIO_SUPPORT kmod-mux-core
26 FILES:=$(LINUX_DIR)/drivers/mux/mux-gpio.ko
27 AUTOLOAD:=$(call AutoLoad,25,mux-gpio,1)
28 endef
29
30 define KernelPackage/mux-gpio/description
31 Kernel modules for GPIO-controlled Multiplexer controller
32 endef
33
34 $(eval $(call KernelPackage,mux-gpio))