mirror of
https://github.com/coolsnowwolf/lede.git
synced 2025-04-16 04:13:31 +00:00
mediatek: build ubnt-ledbar as a module
The config for LEDS_UBNT_LEDBAR doesn't stay in mt7629 kconfig because of its I2C dependency. Build it as a module and let buildroot handle this config option instead. Signed-off-by: Chuanhong Guo <gch981213@gmail.com>
This commit is contained in:
parent
c910efbac4
commit
525b01ad91
@ -38,3 +38,19 @@ define KernelPackage/sdhci-mtk
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,sdhci-mtk))
|
||||
|
||||
define KernelPackage/leds-ubnt-ledbar
|
||||
SUBMENU:=LED modules
|
||||
TITLE:=Ubiquiti UniFi 6 LR LED support
|
||||
KCONFIG:=CONFIG_LEDS_UBNT_LEDBAR
|
||||
FILES:= \
|
||||
$(LINUX_DIR)/drivers/leds/leds-ubnt-ledbar.ko
|
||||
AUTOLOAD:=$(call AutoProbe,leds-ubnt-ledbar,1)
|
||||
DEPENDS:=@TARGET_mediatek_mt7622 +kmod-i2c-core
|
||||
endef
|
||||
|
||||
define KernelPackage/leds-ubnt-ledbar/description
|
||||
LED support for Ubiquiti UniFi 6 LR
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,leds-ubnt-ledbar))
|
||||
|
Loading…
Reference in New Issue
Block a user