Skip to contentSkip to conversation

why would a BBFILES variable refer to a "classes" directory?

DISCUSSION Robert P. J. Day 2 participants 2 messages Dec 6, 2015

lore
Share & tools
lore
#0 lore raw

possibly a stupid question, but i'm looking at a publicly available
OE layer and, in layer.conf, there is a setting for BBFILES that pulls in a number of subdirectories and ends with:

        ... snip ...
        ${LAYERDIR}/recipes-*/*/*.bbappend \
	${LAYERDIR}/classes/*.bbclass"

i am unfamiliar with BBFILES used to include references to a classes
directory, and that layer.conf file already includes the earlier line:

  BBPATH := "${LAYERDIR}:${BBPATH}"

can someone explain what BBFILES has to do with defining additional
classes in a layer? thanks muchly.

rday

Signature · 7 lines
========================================================================
Robert P. J. Day                                 Ottawa, Ontario, CANADA
                        http://crashcourse.ca

Twitter:                                       http://twitter.com/rpjday
LinkedIn:                               http://ca.linkedin.com/in/rpjday
========================================================================
#1 lore raw
Quoted 8 lines · Robert P. J. Day

possibly a stupid question, but i'm looking at a publicly available
OE layer and, in layer.conf, there is a setting for BBFILES that pulls in a number of subdirectories and ends with:

        ... snip ...
        ${LAYERDIR}/recipes-*/*/*.bbappend \
        ${LAYERDIR}/classes/*.bbclass"
Quoted 8 lines

i am unfamiliar with BBFILES used to include references to a classes
directory, and that layer.conf file already includes the earlier line:

  BBPATH := "${LAYERDIR}:${BBPATH}"

can someone explain what BBFILES has to do with defining additional
classes in a layer? thanks muchly.

Nothing. It's not accomplishing anything.

Signature · 5 lines
Christopher Larson
clarson at kergoth dot com
Founder - BitBake, OpenEmbedded, OpenZaurus
Maintainer - Tslib
Senior Software Engineer, Mentor Graphics