[Buildroot] Buildroot at ELC: review/suggestions needed

Peter Korsgaard jacmet at uclibc.org
Sun Feb 10 09:50:18 UTC 2013

>>>>> "Yann" == Yann E MORIN <yann.morin.1998 at free.fr> writes:


 Yann> Besides, I've counted packages with:
 Yann>     $ grep -r -E -e '^[^[:space:]]+_VERSION[[:space:]]*:?='   \
 Yann>     | $(find package/ -type f -name '*.mk')                 \
 Yann>     | wc -l
 Yann>     944

I normally just count .mk files under package, which gives a pretty good

find package -name \*.mk | wc -l

 Yann> Points for those slides (out-of-order, obviously):

Good points.

 Yann> ---8<---
 Yann>     Minimal network-enabled system:   [*]
 Yann>       ARM Raspberry Pi
 Yann>       Pre-built ct-ng toolchain
 Yann>       busybox + not-so-minimal kernel
 Yann>       Build time: 1 minute 55 seconds
 Yann>       Image size: 9.2 MiB (rootfs) + 1.8 MiB (kernel)

Why is the rootfs so big? Kernel modules / glibc? A default rootfs
(internal toolchain, busybox) is less than 1.5MB:

-rw-r--r-- 1 peko peko 1.4M Feb 10 09:49 output/images/rootfs.tar

Around half of that is busybox, other half is uClibc.

Bye, Peter Korsgaard

More information about the buildroot mailing list