[yocto] adding new layer
Paul Eggleton
paul.eggleton at linux.intel.com
Wed Oct 24 13:16:11 PDT 2018
Hi Zoli
On Thursday, 25 October 2018 2:36:31 AM NZDT Zolee K wrote:
> I created a new layer, modified the conf file content according to the
> decumentation:
> # We have a conf and classes directory, add to BBPATH
> BBPATH .= ":${LAYERDIR}"
>
> # We have recipes-* directories, add to BBFILES
> BBFILES += "${LAYERDIR}/recipes-*/*/*.bb \
> ${LAYERDIR}/recipes-*/*/*.bbappend"
>
> BBFILE_COLLECTIONS += "saxo"
> BBFILE_PATTERN_saxo = "^${LAYERDIR}/"
> BBFILE_PRIORITY_saxo = "4"
>
> I copied the proftpd folder with a working bbappend file into the meta-saxo
> folder. But during bitbake I got an error massage:
> Warning: No bb files matched BBFILE_PATTERN_saxo
> '^/home/kz/oe-core/build/../stuff/meta-saxo/'
>
> I played around with the priority without success.
>
> Do you have any idea what am I doing wrong? I'd like to collect all my
> modifications in 1 layer.
If you have .bbappend file(s) but no .bb files in your layer you would expect
that message, it's telling you one of the entries in BBFILES is not matching.
There are several options here:
1) You can ignore the warning (it's just a warning)
2) Remove the .bb entry from BBFILES in meta-saxo/conf/layer.conf (you can add
it back if and when you need it - of course that does mean you could forget to
do that and then wonder why adding a .bb file doesn't work)
3) Set BBFILE_PATTERN_IGNORE_EMPTY_saxo = "1" to disable the warning.
Cheers,
Paul
--
Paul Eggleton
Intel Open Source Technology Centre
More information about the yocto
mailing list