[Buildroot] Reduce rootfs size

Peter Korsgaard jacmet at uclibc.org
Fri Feb 26 10:27:37 UTC 2010


>>>>> "Nuno" == Nuno Pereira <fxss at iol.pt> writes:

 Nuno> Hi,
 Nuno> I'm using a PPC architecture and the maximum size available for the
 Nuno> rootfs is 1.114.111 bytes.

 Nuno> My config is:

 Nuno> BR2_BUSYBOX_VERSION_1_16_X=y
 Nuno> BR2_PACKAGE_BUSYBOX_CONFIG="package/busybox/busybox-1.16.x.config"

You probably don't need all the busybox applets provided in the default
config. Run make busybox-menuconfig; make to tweak the config.

 Nuno> #
 Nuno> # text rendering libraries
 Nuno> #
 Nuno> BR2_PACKAGE_NCURSES=y

Do you really need ncurses?

 Nuno> BR2_TARGET_ROOTFS_CRAMFS=y

Consider using squashfs instead for better compression.

 Nuno> Concerning libstdc++ I prefer to link dynamically.

Ok.

-- 
Bye, Peter Korsgaard


More information about the buildroot mailing list