summaryrefslogtreecommitdiffstats
path: root/target/linux/mpc85xx/modules.mk
blob: 6af3531a4b4e6ee071e139f48b39cd8f9dc3e571 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
define KernelPackage/leds-turris-1x
  SUBMENU:=$(LEDS_MENU)
  TITLE:=LED support for CZ.NIC's Turris 1.x
  DEPENDS:=@TARGET_mpc85xx_p2020
  KCONFIG:=CONFIG_LEDS_TURRIS_1X
  FILES:=$(LINUX_DIR)/drivers/leds/leds-turris-1x.ko
  AUTOLOAD:=$(call AutoProbe,leds-turris-1x)
endef

define KernelPackage/leds-turris-1x/description
  This option enables support for the RGB LEDs on the front panel of the
  CZ.NIC Turris 1.x routers, which are driven by the on-board CPLD.
endef

$(eval $(call KernelPackage,leds-turris-1x))