[Buildroot] [PATCH 1/1] external toolchain: slightly optimize the copy of the toolchain sysroot
Peter Korsgaard
jacmet at uclibc.org
Sat Sep 17 11:30:03 UTC 2011
>>>>> "Thomas" == Thomas Petazzoni <thomas.petazzoni at 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
More information about the buildroot
mailing list