multiplexer.mk 900 B

12345678910111213141516171819202122232425262728293031323334
  1. # This is free software, licensed under the GNU General Public License v2.
  2. # See /LICENSE for more information.
  3. #
  4. MENU_TITLE:=Multiplexer Support
  5. define KernelPackage/mux-core
  6. SUBMENU:=$(MENU_TITLE)
  7. TITLE:=Multiplexer Support
  8. KCONFIG:=CONFIG_MULTIPLEXER
  9. FILES:=$(LINUX_DIR)/drivers/mux/mux-core.ko
  10. AUTOLOAD:=$(call AutoLoad,25,mux-core,1)
  11. endef
  12. define KernelPackage/mux-core/description
  13. Kernel module for multiplexer support
  14. endef
  15. $(eval $(call KernelPackage,mux-core))
  16. define KernelPackage/mux-gpio
  17. SUBMENU:=$(MENU_TITLE)
  18. TITLE:=GPIO-controlled Multiplexer controller
  19. KCONFIG:=CONFIG_MUX_GPIO
  20. DEPENDS:=@GPIO_SUPPORT kmod-mux-core
  21. FILES:=$(LINUX_DIR)/drivers/mux/mux-gpio.ko
  22. AUTOLOAD:=$(call AutoLoad,25,mux-gpio,1)
  23. endef
  24. define KernelPackage/mux-gpio/description
  25. Kernel modules for GPIO-controlled Multiplexer controller
  26. endef
  27. $(eval $(call KernelPackage,mux-gpio))