All of lore.kernel.org
 help / color / mirror / Atom feed
From: Dean <dean@ripperd.com>
To: "yocto@yoctoproject.org" <yocto@yoctoproject.org>
Subject: Build optimization question
Date: Sat, 08 Nov 2014 08:00:10 -0600	[thread overview]
Message-ID: <545E21EA.9040403@ripperd.com> (raw)

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


             reply	other threads:[~2014-11-08 14:01 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-11-08 14:00 Dean [this message]
2014-11-08 14:23 ` Build optimization question Brian Hutchinson
2014-11-08 14:29   ` Brian Hutchinson
2014-11-08 14:53   ` Burton, Ross
2014-11-08 18:03     ` Diego Sueiro
2014-11-09  4:27       ` nick

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=545E21EA.9040403@ripperd.com \
    --to=dean@ripperd.com \
    --cc=yocto@yoctoproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.