> On 8 Aug 2024, at 06:38, dipansusahu99 via lists.yoctoproject.org > <dipansusahu99=gmail....@lists.yoctoproject.org> wrote: > > I have a build environment that is used to create a custom os based on yocto, > so there are a lot of components and libraries/recipes that are not being > used in the process, i want to find out what are the recipes and libraries > and lines of code that are not being used. How Should I go about it? anyone > who has delt with such task before?
If anything is in an image then _by definition_ it’s being added either explicitly or via dependencies. Depending on how much you want to cut down you can either disable features or build a tiny system from the ground up instead of trying to cut a large system down. Have a look at this presentation from the Yocto Developer Day: https://www.youtube.com/watch?v=SvxZ3MtraSA. The beginning talks about build performance, but there’s a section about redundant builds. Ross
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#63677): https://lists.yoctoproject.org/g/yocto/message/63677 Mute This Topic: https://lists.yoctoproject.org/mt/107783031/21656 Group Owner: yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-