Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Peter Korsgaard <jacmet@uclibc.org>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 1/1] external toolchain: slightly optimize the copy of the toolchain sysroot
Date: Sat, 17 Sep 2011 13:30:03 +0200	[thread overview]
Message-ID: <87iporwgn8.fsf@macbook.be.48ers.dk> (raw)
In-Reply-To: <bf913e756e822eac217406309f3e423ca5dca580.1314826575.git.thomas.petazzoni@free-electrons.com> (Thomas Petazzoni's message of "Wed, 31 Aug 2011 23:36:21 +0200")

>>>>> "Thomas" == Thomas Petazzoni <thomas.petazzoni@free-electrons.com> writes:

 Thomas> The sysroot of an ARM CodeSourcery toolchain takes about 1.4 GB of
 Thomas> space, but 1.1+ GB of this space consists in locale-related
 Thomas> information which Buildroot doesn't use. By skipping the copy of those
 Thomas> unused files, we save quite a bit of time while importing the
 Thomas> toolchain sysroot.

Looks good, except:

 Thomas> -			cp -a $${ARCH_SYSROOT_DIR}/$$i $(STAGING_DIR)/ ; \
 Thomas> +			rsync -au --exclude 'usr/lib/locale' $${ARCH_SYSROOT_DIR}/$$i $(STAGING_DIR)/ ; \

We don't currently check for rsync in dependencies.sh - Please add that
as well (same for the local package stuff).

-- 
Bye, Peter Korsgaard

  reply	other threads:[~2011-09-17 11:30 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-08-31 21:36 [Buildroot] [pull request] Pull request for branch for-2011.11/toolchain-copy-opt Thomas Petazzoni
2011-08-31 21:36 ` [Buildroot] [PATCH 1/1] external toolchain: slightly optimize the copy of the toolchain sysroot Thomas Petazzoni
2011-09-17 11:30   ` Peter Korsgaard [this message]
2011-09-19  3:46   ` Milton Soares Filho
2011-09-19  6:44     ` Thomas Petazzoni

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=87iporwgn8.fsf@macbook.be.48ers.dk \
    --to=jacmet@uclibc.org \
    --cc=buildroot@busybox.net \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox