[yocto] how to configure the build packages of a makefile based libary

Fred Ollinger Fred.Ollinger at seescan.com
Thu Apr 28 08:25:07 PDT 2016


Add to bb recipe:


FILES_${PN} += "/usr/local"


Section 9.2:


https://www.yoctoproject.org/docs/1.8/ref-manual/ref-manual.html#qa-errors-and-warnings



________________________________
From: yocto-bounces at yoctoproject.org <yocto-bounces at yoctoproject.org> on behalf of Burton, Ross <ross.burton at intel.com>
Sent: Thursday, April 28, 2016 5:44 AM
To: S.Jaritz at esa-grimma.de
Cc: yocto at yoctoproject.org
Subject: Re: [yocto] how to configure the build packages of a makefile based libary


On 28 April 2016 at 13:09, <S.Jaritz at esa-grimma.de<mailto:S.Jaritz at esa-grimma.de>> wrote:
ERROR: QA Issue: libhiredis: Files/directories were installed but not shipped in any package:
  /usr/local

It either hard-codes /usr/local as the prefix, or if it respects a prefix variable you should also pass in ${prefix} ${libdir} ${includedir} and so on.

Ross



More information about the yocto mailing list