aboutsummaryrefslogtreecommitdiffstats
path: root/package/kernel
diff options
context:
space:
mode:
authorTomasz Maciej Nowak <tmn505@gmail.com>2023-04-27 16:34:49 +0200
committerChristian Lamparter <chunkeey@gmail.com>2023-06-08 15:33:14 +0200
commit1e4f9db13836de5eea0cb2e6c90c04331a4cabbe (patch)
tree7f0f5972afb6f9c4a20387c251ef7b8487565771 /package/kernel
parent0c885c1542382e737856864508448342fc61bb51 (diff)
downloadupstream-1e4f9db13836de5eea0cb2e6c90c04331a4cabbe.tar.gz
upstream-1e4f9db13836de5eea0cb2e6c90c04331a4cabbe.tar.bz2
upstream-1e4f9db13836de5eea0cb2e6c90c04331a4cabbe.zip
ubnt-ledbar: depend on mediatek and ramips subtargets
It's only used on devices in mt7621 and mt7622 subtargets, so no reason to compile it for others. Signed-off-by: Tomasz Maciej Nowak <tmn505@gmail.com> (cherry picked from commit e81298463ed45cd03d45837c12f4c0a4b85f6cd4)
Diffstat (limited to 'package/kernel')
-rw-r--r--package/kernel/ubnt-ledbar/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/kernel/ubnt-ledbar/Makefile b/package/kernel/ubnt-ledbar/Makefile
index 90eccf1c21..69236ffbb3 100644
--- a/package/kernel/ubnt-ledbar/Makefile
+++ b/package/kernel/ubnt-ledbar/Makefile
@@ -20,7 +20,7 @@ define KernelPackage/leds-ubnt-ledbar
FILES:= \
$(PKG_BUILD_DIR)/leds-ubnt-ledbar.ko
AUTOLOAD:=$(call AutoProbe,leds-ubnt-ledbar,1)
- DEPENDS:=+kmod-i2c-core
+ DEPENDS:=@TARGET_mediatek_mt7622||TARGET_ramips_mt7621 +kmod-i2c-core
endef
define KernelPackage/leds-ubnt-ledbar/description