ubnt-ledbar: depend on mediatek and ramips subtargets
authorTomasz Maciej Nowak <tmn505@gmail.com>
Thu, 27 Apr 2023 14:34:49 +0000 (16:34 +0200)
committerChristian Lamparter <chunkeey@gmail.com>
Thu, 8 Jun 2023 13:33:14 +0000 (15:33 +0200)
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)

package/kernel/ubnt-ledbar/Makefile

index 90eccf1c21b3eff479fcc68539ff83bfd37c57b6..69236ffbb330d4ead3232060e1a6bad10ce7de84 100644 (file)
@@ -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