Re: Size problem compiling kernel modules

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


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.


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux