[oe] [PATCH] libpcap: weaken bluez-libs dependency
Roman I Khimov
khimov at altell.ru
Wed Apr 15 09:47:16 UTC 2009
On Wednesday 15 April 2009 13:04:15 Koen Kooi wrote:
> On 15-04-09 10:36, Roman I Khimov wrote:
> > libpcap can be used in distros where no bluetooth support will ever
> > exist. So this dependency should be weakened to only exist in distros
> > that explicitly need bluetooth.
>
> NACK, no USE flags in OE.
Even if hostap-daemon and wpa-supplicant and tasks already use FEATURES in
similar fashion, changing package-task behaviour?
> If you want a pcap without bluez you can
> either do:
>
> libpcap.bb + libpcap-bluetooth.bb OR libpcap.bb + libpcap-no-bluetooth.bb
>
> And add the needed virtuals.
Is this a policy? I'm not sure it makes sense to add tons
of 'package-this', 'package-that', 'package-yet-another-thing',
'package-this-that-but-not-yet-another-thing' for every case.
I've used this 'virtual' kind of approach with two another packages but there
I'd extended functionality by applying patches, so another package with all
virtual stuff makes more sense. But here what I'm doing is configuring the
same source to fit my needs and 'bluetooth' thing already exist in FEATURES.
So how to use it if not this way?
Though if it is a policy around here, so be it.
More information about the Openembedded-devel
mailing list