lkml.org 
[lkml]   [2005]   [Jul]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: 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/

\
 
 \ /
  Last update: 2005-07-25 19:22    [W:0.822 / U:0.012 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site