From: Peter Korsgaard <jacmet@uclibc.org>
To: buildroot@busybox.net
Subject: [Buildroot] big root fs
Date: Tue, 11 Sep 2012 15:17:54 +0200 [thread overview]
Message-ID: <87bohczojh.fsf@macbook.be.48ers.dk> (raw)
In-Reply-To: <1347366592.32116.YahooMailNeo@web164601.mail.gq1.yahoo.com> (Zoran Djordjevic's message of "Tue, 11 Sep 2012 05:29:52 -0700 (PDT)")
>>>>> "Zoran" == Zoran Djordjevic <djdjdjole@yahoo.com> writes:
Zoran> Hello
Zoran> I built linux kernel using Buildroot, but included glibc support
Zoran> instead of uClibc. For that matter I was using Crosstool NG.
Zoran> I achieved the goal - compiled the GTK applications and they
Zoran> work on my target ARM board. All of that is by using NFS on my
Zoran> Ubuntu machine. However the size of generated jffs2 is 52MB-
Zoran> which is huge for me. Although I included GTK examples, and
Zoran> maybe few more properties I still wander if the size is related
Zoran> (only) to glibc matter. I will try building with uClibc (only
Zoran> to detect difference in size), but at the moment it is important
Zoran> to me to use glibc, so what else can contribute to overal size
Zoran> of image, other than (maybe) glibc. I attatched my .config if
Zoran> someone want to look at it and maybe find some memory eating
Zoran> matter. Also, can size of glibc be reduced, by throwing out some
Zoran> properties.
First of all, a defconfig file (which you create by running 'make
savedefconfig') is quite a bit easier to read than the very verbose
.config.
Secondly, I see you have both directfb and X11:
BR2_PACKAGE_DIRECTFB=y
BR2_PACKAGE_DIRECTFB_TRACE=y
BR2_PACKAGE_DIRECTFB_XSERVER=y
BR2_PACKAGE_XORG7=y
BR2_PACKAGE_XSERVER_XORG_SERVER=y
You can most likely drop directfb. SDL is also relatively big. You also
have a number of unneeded X libraries.
--
Bye, Peter Korsgaard
next prev parent reply other threads:[~2012-09-11 13:17 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-09-11 12:29 [Buildroot] big root fs Zoran Djordjevic
2012-09-11 13:17 ` Peter Korsgaard [this message]
2012-09-11 13:43 ` Zoran Djordjevic
2012-09-11 13:44 ` Thomas Petazzoni
2012-09-12 5:32 ` Zoran Djordjevic
2012-09-12 6:10 ` Avery Pennarun
2012-09-12 6:44 ` Thomas Petazzoni
2012-09-12 7:26 ` Zoran Djordjevic
2012-09-12 8:21 ` Zoran Djordjevic
2012-09-12 8:27 ` Thomas Petazzoni
2012-09-12 16:19 ` Arnout Vandecappelle
2012-09-13 6:25 ` Zoran Djordjevic
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=87bohczojh.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.