[yocto] Build optimization question

Brian Hutchinson b.hutchman at gmail.com
Sat Nov 8 06:23:44 PST 2014


On Nov 8, 2014 9:02 AM, "Dean" <dean at ripperd.com> wrote:
>
> So I am using core-image-minimal and trying to shrink things as much as
possible for boot speed. I wrap the bitbake command in some other commands
to basically extract the image and then attach it to a kernel as a ramdisk.
So the size of the image is critical to boot speed.
>
> In some of my custom packages I have used -Os in the gcc command line.
> Is there a way to set this globally for all the packages built into the
image?
>
> Any other hints or tips to reduce the size of the build? Or potential
changes to u-boot to make it load faster? This is running on a beaglebone
black.
>
>
> Thanks,
> Dean
> --
> _______________________________________________
> yocto mailing list
> yocto at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto

... I've been noticing over the last few releases that core - image -
minimal isn't so minimal anymore.  Its been picking up weight as it ages
(like me).

I'm planning to just start excluding some of the packages in it ... I don't
need sound, wireless, Bluetooth etc.

Regards,

Brian
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20141108/9913edb3/attachment.html>


More information about the yocto mailing list