[Buildroot] [PATCH v2] linux: strip installed modules
vapier at gentoo.org
Wed Nov 24 21:20:44 UTC 2010
On Wednesday, November 24, 2010 16:04:40 Peter Korsgaard wrote:
> >>>>> "Mike" == Mike Frysinger <vapier at gentoo.org> writes:
> Mike> The installed kernel modules should have useless build cruft
> Mike> stripped out of them. On my system, a default build went from a
> Mike> very unreasonable 30MB to a normal 3MB (on disk) and from 14MB to
> Mike> 3MB when compressed due to the info stored in the kernel modules
> Mike> alone.
> Committed with a small change to not use binutils strip specific options
> (we support sstrip as well).
so STRIP_STRIP_UNNEEDED should have those flags added to it for the binutils
case ... i'll send a patch to fix that. otherwise we're leaving a crap in the
target fs that only takes up space.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 836 bytes
Desc: This is a digitally signed message part.
More information about the buildroot