From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from 93-97-173-237.zone5.bethere.co.uk ([93.97.173.237] helo=tim.rpsys.net) by linuxtogo.org with esmtp (Exim 4.72) (envelope-from ) id 1QTXRU-00088O-Fh for openembedded-core@lists.openembedded.org; Mon, 06 Jun 2011 12:53:56 +0200 Received: from localhost (localhost [127.0.0.1]) by tim.rpsys.net (8.13.6/8.13.8) with ESMTP id p56Aof9C003714 for ; Mon, 6 Jun 2011 11:50:41 +0100 Received: from tim.rpsys.net ([127.0.0.1]) by localhost (tim.rpsys.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 03389-04 for ; Mon, 6 Jun 2011 11:50:36 +0100 (BST) Received: from [192.168.3.10] ([192.168.3.10]) (authenticated bits=0) by tim.rpsys.net (8.13.6/8.13.8) with ESMTP id p56AoWg5003706 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Mon, 6 Jun 2011 11:50:32 +0100 From: Richard Purdie To: Patches and discussions about the oe-core layer In-Reply-To: <1307343323.3131.1.camel@lenovo.internal.reciva.com> References: <3eba2df4c6f2371db24ab2420d037b992725cb84.1307342214.git.sgw@linux.intel.com> <1307343323.3131.1.camel@lenovo.internal.reciva.com> Date: Mon, 06 Jun 2011 11:50:30 +0100 Message-ID: <1307357430.7672.7.camel@rex> Mime-Version: 1.0 X-Mailer: Evolution 2.32.2 X-Virus-Scanned: amavisd-new at rpsys.net Subject: Re: [CONSOLIDATED PULL 01/20] bitbake.conf: Create staticlibs pacakge for static libraries X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.11 Precedence: list Reply-To: Patches and discussions about the oe-core layer List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Jun 2011 10:53:57 -0000 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit On Mon, 2011-06-06 at 07:55 +0100, Phil Blundell wrote: > On Sun, 2011-06-05 at 23:44 -0700, Saul Wold wrote: > > SECTION_${PN}-dev = "devel" > > ALLOW_EMPTY_${PN}-dev = "1" > > RDEPENDS_${PN}-dev = "${PN} (= ${EXTENDPKGV})" > > > > +FILES_${PN}-staticlibs = "${libdir}/*.a ${base_libdir}/*.a" > > +SECTION_${PN}-staticlibs = "devel" > > +RDEPENDS_${PN}-staticlibs = "${PN}-dev (= ${EXTENDPV})" > > This should be ${EXTENDPKGV}, right? It should. I'm also not 100% convinced I like "-staticlibs" vs "-staticdev" as it doesn't feel consistent. The user gets exposed to these at the package manager level and will "xxx install xxx-staticX". The end result they'll get will be the installation of everything they need for static development (i.e. the -dev packages will get pulled in for the headers). This means they don't just result in the static libs as there are dependencies there. From the user perspective they are therefore packages for static development, not just the static libraries... Cheers, Richard