[Buildroot] Duplication and size of binaries in generated toolchain

Olaf Rempel razzor at kopf-tisch.de
Thu Mar 5 14:22:02 UTC 2009


On Thu, 5 Mar 2009 15:13:59 +0100
Thomas Petazzoni <thomas.petazzoni at free-electrons.com> wrote:

> Hi,
> 
> After compiling a toolchain with Buildroot (no packages, no kernel, see
> attached configuration file), I end up with duplicated binaries in the
> STAGING_DIR.
> 
> For example, for the 'ar' binutil. The first copy is in :
> 
> $ ls -l usr/bin/arm-linux-uclibcgnueabi-ar 
> -rwxr-xr-x 2 thomas thomas 2500708 2009-03-05 14:19 usr/bin/arm-linux-uclibcgnueabi-ar
             ^
These files are hardlinked, so the data ist stored only once.

Regards
Olaf



More information about the buildroot mailing list