Messages in this thread | | | Date | Mon, 25 Jul 2005 13:18:29 -0400 (EDT) | From | Christopher Allen Wing <> | Subject | Re: Stripping in module |
| |
Marco:
FWIW, the Red Hat kernel RPMs effectively do the following when they package kernel modules:
strip -g <module.ko>
This is done via the script:
/usr/lib/rpm/brp-strip
which is implicitly run on all executable files packaged in the RPM.
If you ensure that the module .ko file is executable, then RPM will strip it for you automatically.
-Chris Wing wingc@engin.umich.edu
--- Budde, Marco <budde_at_telos.de> wrote:
> Hi, > > at the moment I am packaging a Linux module as an RPM archive. > > Therefor I would like to remove some of the not exported/needed > symbols (like e.g. static functions or constants) from the > Linux module. > > What is the best way to do this with v2.6. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |