Size problem compiling kernel modules
Dave Jones
davej at redhat.com
Mon Jun 7 18:37:35 UTC 2004
On Mon, 2004-06-07 at 13:50, Aaron Gaudio wrote:
> > If you don't care about it you can unset CONFIG_DEBUG_INFO
> > and it won't generate it.
> Is there a convenient way to manually strip the debug info from
> the files after they are compiled? In other words, how does rpm
> do it?
You know, I'm not actually sure.
Taking a peek inside the .spec file, there's this gem..
# mark modules executable so that strip-to-file can strip them
find $RPM_BUILD_ROOT/lib/modules/$KernelVer -name "*.ko" -type f |
xargs chmod u+x
Which seems to be something magical that rpm invokes.
Dave
More information about the fedora-list
mailing list