On Thu, Apr 30, 2020 at 01:01:16PM -0400, Denys Dmytriyenko wrote: > On Thu, Apr 30, 2020 at 09:49:32AM -0400, Robert P. J. Day wrote: > > > > given an odd collection of layers wherein there are multiple > > instances of a particular .bbclass file, it turns out that all of the > > recipes i'm interested in build with an older version of the class > > file, and all but one build consulting the newer form of the file > > contained in another layer, so is there any way to blacklist a > > particular class file, either globally or even on a per-recipe basis? > > > > i realize this is really, really bad design style, but it will give > > me the chance to use the proper class file for most of the recipes > > while i debug the problematic recipe. > > The order of BBLAYERS in bblayers.conf affects which class will be used > globally for the build. Don't believe can be done per-recipe. >
To be exact, the order in BBPATH will be used to get the class. It defaults to BBPATH .= in conf/layer.conf so that the actual order of parsing of layers (given in bblayers.conf) matters because all append to BBPATH but you could prepend to it in one of your layer so that it has higher priority than anything else. To answer your question, maybe there is some trickery possible per machine or distro for bbpath but I wouldn't count on it. Quentin
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#137814): https://lists.openembedded.org/g/openembedded-core/message/137814 Mute This Topic: https://lists.openembedded.org/mt/73375546/21656 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-core/leave/8023207/1426099254/xyzzy [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
