From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id 2333FE00C23; Tue, 22 Dec 2015 03:58:09 -0800 (PST) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on yocto-www.yoctoproject.org X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_LOW, SPF_HELO_PASS autolearn=ham version=3.3.1 X-Spam-HAM-Report: * -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low * trust * [130.164.80.23 listed in list.dnswl.org] * -0.0 SPF_HELO_PASS SPF: HELO matches SPF record * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] Received: from ni.com (skprod2.natinst.com [130.164.80.23]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 14320E00956 for ; Tue, 22 Dec 2015 03:58:04 -0800 (PST) Received: from us-aus-mgwout2.amer.corp.natinst.com (nb-snip2-1338.natinst.com [130.164.19.135]) by us-aus-skprod2.natinst.com (8.15.0.59/8.15.0.59) with ESMTP id tBMAckRV031375; Tue, 22 Dec 2015 04:38:46 -0600 Received: from adi-pc-linux ([130.164.14.198]) by us-aus-mgwout2.amer.corp.natinst.com (Lotus Domino Release 8.5.3FP6 HF1218) with ESMTP id 2015122204384659-1417827 ; Tue, 22 Dec 2015 04:38:46 -0600 Date: Tue, 22 Dec 2015 12:38:43 +0200 From: Ioan-Adrian Ratiu To: Simon Ruetzler Message-ID: <20151222123843.1f35df99@adi-pc-linux> In-Reply-To: <56791A82.7050809@arigo-software.de> References: <56791A82.7050809@arigo-software.de> Organization: National Instruments MIME-Version: 1.0 X-MIMETrack: Itemize by SMTP Server on US-AUS-MGWOut2/AUS/H/NIC(Release 8.5.3FP6 HF1218|December 12, 2014) at 12/22/2015 04:38:46 AM, Serialize by Router on US-AUS-MGWOut2/AUS/H/NIC(Release 8.5.3FP6 HF1218|December 12, 2014) at 12/22/2015 04:38:46 AM, Serialize complete at 12/22/2015 04:38:46 AM X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:, , definitions=2015-12-22_09:, , signatures=0 Cc: yocto@yoctoproject.org Subject: Re: yocto package naming X-BeenThere: yocto@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Discussion of all things Yocto Project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Dec 2015 11:58:09 -0000 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII Hi On Tue, 22 Dec 2015 10:40:18 +0100 Simon Ruetzler wrote: > Hello, > I want to create different packages from one recipe. > > This is working except for one package. > I addes this package with > PACKAGES += " ${PN}-demo" > and I expected that it is named with the recipe name and demo. In this > case rumo-cpp-demo-1.0-rc... > But the name is libscom1-1.0-rc.. > > The demo package contains the files for a dynamic library: libscom.so, > libscom.so.1 and libscom.so.1.5.0 > and this library name is automatically used for the package name. > > For the other packages the name are as expected. All package are defined > in the same way except that FILES_.. definition is different. > This packages also have dynamic libs but only the libname.so.1 files and > the libname.so as a link. > > Why is the demo package created with the libscom name? How can I disable > this? Maybe the contents of ${PN}-demo get gobbled up by another package defined before it in PACKAGES? The order of the contents of var PACKAGES matters: it defines precedence, the first package to match a file includes it. Try prepending to PACKAGES, something like this: PACKAGES =+ "${PN}-demo " > > Regards Simon