Received: from sirius.lasnet.de ([78.47.116.19]) by linuxtogo.org with esmtp (Exim 4.72) (envelope-from ) id 1PnumI-0002Jt-JL for openembedded-devel@lists.openembedded.org; Fri, 11 Feb 2011 16:19:22 +0100 Received: from p5b033464.dip.t-dialin.net ([91.3.52.100] helo=excalibur.local) by sirius.lasnet.de with esmtpsa (Cipher TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.69 #1) id 1PnulF-0007B0-4m by authid with cram_md5 for ; Fri, 11 Feb 2011 16:18:19 +0100 Received: from stefan by excalibur.local with local (Exim 4.72) (envelope-from ) id 1PnulE-0004rM-KC for openembedded-devel@lists.openembedded.org; Fri, 11 Feb 2011 16:18:16 +0100 Date: Fri, 11 Feb 2011 16:18:16 +0100 From: Stefan Schmidt To: openembedded-devel@lists.openembedded.org Message-ID: <20110211151816.GM9652@excalibur.local> References: <1297429080-3986-1-git-send-email-obi@opendreambox.org> <1297429080-3986-5-git-send-email-obi@opendreambox.org> <20110211144100.GK9652@excalibur.local> <4D554D97.2050208@opendreambox.org> MIME-Version: 1.0 In-Reply-To: <4D554D97.2050208@opendreambox.org> X-Mailer: Mutt http://www.mutt.org/ X-KeyID: 0xDDF51665 X-Website: http://www.datenfreihafen.org/ User-Agent: Mutt/1.5.20 (2009-06-14) X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on sirius.lasnet.de X-Spam-Level: X-Spam-Status: No, score=-4.1 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.2.5 Subject: Re: [PATCH 5/5] wpa-supplicant-0.7.3: depend on openssl X-BeenThere: openembedded-devel@lists.openembedded.org X-Mailman-Version: 2.1.11 Precedence: list Reply-To: openembedded-devel@lists.openembedded.org List-Id: Using the OpenEmbedded metadata to build Distributions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Feb 2011 15:19:22 -0000 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Hello. On Fri, 2011-02-11 at 15:54, Andreas Oberritter wrote: > > 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 > >> --- > >> 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}. You have very valid pount here about dbus. I still would like to have better solution that sets the dependency from the given config but thats a bit dreaming I think. So: Acked-by: Stefan Schmidt regards Stefan Schmidt