Re: [yocto] bb.event.BuildStarted didn't work in a bbappend

2023-05-16 Thread kergoth
BuildStarted is a global event like configParsed, it's not fired for each individual recipe that's parsed. You can include a .inc that does it from a global config file, or create a bbclass that you add to INHERIT in a global config file. On Tue, May 16, 2023 at 5:13 AM Jiliang Cai wrote: > I ad

[yocto] bb.event.BuildStarted didn't work in a bbappend

2023-05-16 Thread Jiliang Cai
I add these lines in a bbappend file: addhandler cjltest cjltest[eventmask] = "bb.event.BuildStarted" python cjltest () { bb.warn("enter my event code") } But when bitbake this recipe, no warning message appears. -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View