From: Tomasz Maciej Nowak Date: Thu, 27 Apr 2023 14:34:49 +0000 (+0200) Subject: ubnt-ledbar: depend on mediatek and ramips subtargets X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=e81298463ed45cd03d45837c12f4c0a4b85f6cd4;p=openwrt%2Fstaging%2Fhauke.git 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 --- 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