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 <tyro...@gmail.com> wrote: > 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. > > > > -- Christopher Larson chris_lar...@mentor.com, chris.lar...@siemens.com, kerg...@gmail.com Principal Software Engineer, Embedded Linux Solutions, Siemens Digital Industries Software
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#60035): https://lists.yoctoproject.org/g/yocto/message/60035 Mute This Topic: https://lists.yoctoproject.org/mt/98924617/21656 Group Owner: yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-