Re: [yocto] pkg-config dependencies?

2020-08-18 Thread Randy MacLeod
On 2020-08-17 6:59 p.m., Khem Raj wrote: did you look at https://github.com/kraj/meta-openwrt/blob/master/recipes-networking/ipset/ipset_6.38.bb And do you know about the layer index: https://layers.openembedded.org/layerindex/branch/master/recipes/?q=ipset ../Randy On Mon, Aug 17, 2020 at

Re: [yocto] pkg-config dependencies?

2020-08-17 Thread Khem Raj
did you look at https://github.com/kraj/meta-openwrt/blob/master/recipes-networking/ipset/ipset_6.38.bb On Mon, Aug 17, 2020 at 10:14 AM Rob Prowel wrote: > > I'm trying to add the ipset utility to my arm build so that I can group > IP/ports for use in tc and netfilter. I was able to update the

Re: [yocto] pkg-config dependencies?

2020-08-17 Thread Rob Prowel
On 2020-08-17 13:13, Rob Prowel wrote: I'm trying to add the ipset utility to my arm build so that I can group IP/ports for use in tc and netfilter.  I was able to update the vendor supplied iptools2 recipe to install tc and iptables, but ipset is a fresh recipe, not included in another

Re: [yocto] pkg-config dependencies?

2020-08-17 Thread Alexander Kanavin
DEPENDS adds the dependencies into $WORKDIR/recipe-sysroot, and native pkg-config looks there for .pc files in that directory. Alex On Mon, 17 Aug 2020 at 21:31, Rob Prowel wrote: > On 2020-08-17 14:25, Alexander Kanavin wrote: > > You need to add DEPENDS = "libmnl" maybe? > > > > RDEPENDS is

Re: [yocto] pkg-config dependencies?

2020-08-17 Thread Rob Prowel
On 2020-08-17 15:38, Konrad Weihmann wrote: Did you had a look at https://github.com/kraj/meta-openwrt/blob/master/recipes-networking/ipset/ipset_6.38.bb yet? That pretty much looks like the one you were looking for, but for an older version, right? Maybe you can try to use that recipe as a

Re: [yocto] pkg-config dependencies?

2020-08-17 Thread Konrad Weihmann
Did you had a look at https://github.com/kraj/meta-openwrt/blob/master/recipes-networking/ipset/ipset_6.38.bb yet? That pretty much looks like the one you were looking for, but for an older version, right? Maybe you can try to use that recipe as a basis for your update package On 17.08.20

Re: [yocto] pkg-config dependencies?

2020-08-17 Thread Rob Prowel
On 2020-08-17 14:25, Alexander Kanavin wrote: You need to add DEPENDS = "libmnl" maybe? RDEPENDS is needed for runtime things like script interpreters or supplementary data; plain library dependencies are build-time. Tried both: DEPENDS and RDEPENDS. libmnl.pc does exist in another tree but

Re: [yocto] pkg-config dependencies?

2020-08-17 Thread Alexander Kanavin
You need to add DEPENDS = "libmnl" maybe? RDEPENDS is needed for runtime things like script interpreters or supplementary data; plain library dependencies are build-time. Alex On Mon, 17 Aug 2020 at 19:14, Rob Prowel wrote: > I'm trying to add the ipset utility to my arm build so that I can

[yocto] pkg-config dependencies?

2020-08-17 Thread Rob Prowel
I'm trying to add the ipset utility to my arm build so that I can group IP/ports for use in tc and netfilter. I was able to update the vendor supplied iptools2 recipe to install tc and iptables, but ipset is a fresh recipe, not included in another existing layer. I'm adding the following in