Skip to contentSkip to conversation

where in BB manual to mention "classes-global" and "classes-recipe" dirs?

DISCUSSION Robert P. J. Day 2 participants 2 messages Jul 7, 2025 – Jul 8, 2025

lore
Share & tools
lore
#0 lore raw

at the end of this section:

https://docs.yoctoproject.org/bitbake/2.12/bitbake-user-manual/bitbake-user-manual-metadata.html#locating-include-and-class-files

one reads:

"In order for include and class files to be found by BitBake, they need to be located in a “classes” subdirectory that can be found in BBPATH."

not technically true since searching also checks the classes-global and classes-recipe directories (see lib/bblayers/query.py.

is this the right place to mention those additional directories?

rday

#1 lore raw
Quoted 7 lines · Robert P. J. Day

at the end of this section:

https://docs.yoctoproject.org/bitbake/2.12/bitbake-user-manual/bitbake-user-manual-metadata.html#locating-include-and-class-files

one reads:

Quoted 8 lines

"In order for include and class files to be found by BitBake, they need to be located in a “classes” subdirectory that can be found in BBPATH."

not technically true since searching also checks the classes-global and classes-recipe directories (see lib/bblayers/query.py.

is this the right place to mention those additional directories?

Good catch, the classes-recipe and classes-global should be mentioned here too. Can you send a patch?

Antonin

Signature · 3 lines
Antonin Godard, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com