diff mbox series

[OpenWrt-Devel,2/2] rssileds: restrict package to targets where it is used

Message ID 20200220175218.33593-2-freifunk@adrianschmutzler.de
State Rejected
Headers show
Series [OpenWrt-Devel,1/2] rssileds: add dependencies based on LDFLAGS | expand

Commit Message

Adrian Schmutzler Feb. 20, 2020, 5:52 p.m. UTC
It does not seem very sensible to provide the rssileds package
on targets without corresponding LEDs, so restrict it to the
targets where it is used at the moment.

Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
---
 package/network/utils/rssileds/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Piotr Dymacz Feb. 20, 2020, 5:57 p.m. UTC | #1
Hi Adrian,

On 20.02.2020 18:52, Adrian Schmutzler wrote:
> It does not seem very sensible to provide the rssileds package
> on targets without corresponding LEDs, so restrict it to the
> targets where it is used at the moment.

This package isn't hardware related and shouldn't be limited to targets 
where only officially supported devices make use of it.

Thus, NAK from me for this one.
Adrian Schmutzler Feb. 20, 2020, 6 p.m. UTC | #2
> -----Original Message-----
> From: Piotr Dymacz [mailto:pepe2k@gmail.com]
> Sent: Donnerstag, 20. Februar 2020 18:58
> To: Adrian Schmutzler <freifunk@adrianschmutzler.de>; openwrt-
> devel@lists.openwrt.org
> Subject: Re: [OpenWrt-Devel] [PATCH 2/2] rssileds: restrict package to targets
> where it is used
> 
> Hi Adrian,
> 
> On 20.02.2020 18:52, Adrian Schmutzler wrote:
> > It does not seem very sensible to provide the rssileds package
> > on targets without corresponding LEDs, so restrict it to the
> > targets where it is used at the moment.
> 
> This package isn't hardware related and shouldn't be limited to targets
> where only officially supported devices make use of it.
> 
> Thus, NAK from me for this one.

I assume that's only for 2/2?

> 
> --
> Cheers,
> Piotr
> 
> >
> > Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
> > ---
> >   package/network/utils/rssileds/Makefile | 2 +-
> >   1 file changed, 1 insertion(+), 1 deletion(-)
> >
> > diff --git a/package/network/utils/rssileds/Makefile
> b/package/network/utils/rssileds/Makefile
> > index 7a59314693..c8e8f39de9 100644
> > --- a/package/network/utils/rssileds/Makefile
> > +++ b/package/network/utils/rssileds/Makefile
> > @@ -18,7 +18,7 @@ define Package/rssileds
> >     SECTION:=net
> >     CATEGORY:=Network
> >     TITLE:=RSSI real-time LED indicator
> > -  DEPENDS:=+libiwinfo +libnl-tiny +libubox +libuci
> > +  DEPENDS:=@(TARGET_ar71xx||TARGET_ath79||TARGET_ramips) +libiwinfo
> +libnl-tiny +libubox +libuci
> >     MAINTAINER:=Daniel Golle <dgolle@allnet.de>
> >   endef
> >
> >
Piotr Dymacz Feb. 20, 2020, 6:02 p.m. UTC | #3
Hi Adrian,

On 20.02.2020 19:00, Adrian Schmutzler wrote:
>> -----Original Message-----
>> From: Piotr Dymacz [mailto:pepe2k@gmail.com]
>> Sent: Donnerstag, 20. Februar 2020 18:58
>> To: Adrian Schmutzler <freifunk@adrianschmutzler.de>; openwrt-
>> devel@lists.openwrt.org
>> Subject: Re: [OpenWrt-Devel] [PATCH 2/2] rssileds: restrict package to targets
>> where it is used
>> 
>> Hi Adrian,
>> 
>> On 20.02.2020 18:52, Adrian Schmutzler wrote:
>> > It does not seem very sensible to provide the rssileds package
>> > on targets without corresponding LEDs, so restrict it to the
>> > targets where it is used at the moment.
>> 
>> This package isn't hardware related and shouldn't be limited to targets
>> where only officially supported devices make use of it.
>> 
>> Thus, NAK from me for this one.
> 
> I assume that's only for 2/2?

Yes, only this one (patch).
diff mbox series

Patch

diff --git a/package/network/utils/rssileds/Makefile b/package/network/utils/rssileds/Makefile
index 7a59314693..c8e8f39de9 100644
--- a/package/network/utils/rssileds/Makefile
+++ b/package/network/utils/rssileds/Makefile
@@ -18,7 +18,7 @@  define Package/rssileds
   SECTION:=net
   CATEGORY:=Network
   TITLE:=RSSI real-time LED indicator
-  DEPENDS:=+libiwinfo +libnl-tiny +libubox +libuci
+  DEPENDS:=@(TARGET_ar71xx||TARGET_ath79||TARGET_ramips) +libiwinfo +libnl-tiny +libubox +libuci
   MAINTAINER:=Daniel Golle <dgolle@allnet.de>
 endef