From: Andreas Oberritter <obi@opendreambox.org>
To: openembedded-devel@lists.openembedded.org
Subject: Re: [PATCH 5/5] wpa-supplicant-0.7.3: depend on openssl
Date: Fri, 11 Feb 2011 15:54:15 +0100 [thread overview]
Message-ID: <4D554D97.2050208@opendreambox.org> (raw)
In-Reply-To: <20110211144100.GK9652@excalibur.local>
Hello Stefan,
On 02/11/2011 03:41 PM, Stefan Schmidt wrote:
> On Fri, 2011-02-11 at 12:58, Andreas Oberritter wrote:
>> * let defconfig decide which crypto library to use
>>
>> Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
>> ---
>> recipes/wpa-supplicant/wpa-supplicant-0.7.inc | 2 +-
>> 1 files changed, 1 insertions(+), 1 deletions(-)
>>
>> diff --git a/recipes/wpa-supplicant/wpa-supplicant-0.7.inc b/recipes/wpa-supplicant/wpa-supplicant-0.7.inc
>> index f64eb79..e01d1ef 100644
>> --- a/recipes/wpa-supplicant/wpa-supplicant-0.7.inc
>> +++ b/recipes/wpa-supplicant/wpa-supplicant-0.7.inc
>> @@ -6,7 +6,7 @@ LICENSE = "GPLv2 | BSD"
>> LIC_FILES_CHKSUM = "file://../COPYING;md5=c54ce9345727175ff66d17b67ff51f58 \
>> file://../README;md5=54cfc88015d3ce83f7156e63c6bb1738 \
>> file://wpa_supplicant.c;beginline=1;endline=17;md5=acdc5a4b0d6345f21f136eace747260e"
>> -DEPENDS = "gnutls dbus libnl2 ${@base_contains("COMBINED_FEATURES", "madwifi", "madwifi-ng", "",d)}"
>> +DEPENDS = "gnutls dbus libnl2 openssl ${@base_contains("COMBINED_FEATURES", "madwifi", "madwifi-ng", "",d)}"
>> RRECOMMENDS_${PN} = "wpa-supplicant-passphrase wpa-supplicant-cli"
>
> Hmm, that one I don't really like. We now build gnutls _and_ openssl even if we
> only need one of it. As the config may be overriden for distros/machines I have
> no good idea how to check for it during dependency calculation though. Anyone
> else an idea?
In general, in OE we build a whole lot of packages that aren't required
by the target image. Here, we already build dbus, even though it might
be disabled by an overridden config. Since both gnutls and openssl are
likely to be used by other packages, this adds no cost at all for many
targets, especially because only the library that actually gets linked
to is going to end up in RDEPENDS_${PN}.
Regards,
Andreas
next prev parent reply other threads:[~2011-02-11 14:55 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-02-11 12:57 [PATCH 1/5] wpa-supplicant-0.7.3: remove unused files Andreas Oberritter
2011-02-11 12:57 ` [PATCH 2/5] wpa-supplicant-0.7.3: rename defconfig-gnutls to defconfig Andreas Oberritter
2011-02-11 14:34 ` Stefan Schmidt
2011-02-11 12:57 ` [PATCH 3/5] wpa-supplicant-0.7.3: install only required files for dbus support Andreas Oberritter
2011-02-11 14:37 ` Stefan Schmidt
2011-02-11 12:57 ` [PATCH 4/5] wpa-supplicant-0.7.3: enable madwifi support Andreas Oberritter
2011-02-11 14:38 ` Stefan Schmidt
2011-02-11 12:58 ` [PATCH 5/5] wpa-supplicant-0.7.3: depend on openssl Andreas Oberritter
2011-02-11 14:41 ` Stefan Schmidt
2011-02-11 14:54 ` Andreas Oberritter [this message]
2011-02-11 15:18 ` Stefan Schmidt
2011-02-11 14:34 ` [PATCH 1/5] wpa-supplicant-0.7.3: remove unused files Stefan Schmidt
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4D554D97.2050208@opendreambox.org \
--to=obi@opendreambox.org \
--cc=openembedded-devel@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.