[maemo-developers] N900 kernel module recompile

From: Eero Tamminen eero.tamminen at nokia.com
Date: Mon Mar 15 13:35:22 EET 2010
Hi,

ext Nils Faerber wrote:
> Frantisek Dufka schrieb:
>> Nils Faerber wrote:
>>> Then kernel config:
>>> cp arch/arm/configs/rx51_defconfig ./.config
>>> make oldconfig
>>> A "make modules" does cleanly compile the modules. Fine so far (except
>>> for that te modules are *huge* and a "arm-none-linux-gnueabi-strip -R
>>> .not -R .comment --strip-unneeded" seems reasonable).
>> Looks like this strips module version symbols too. Tried similar
>> approach with same result before.
> 
> Just tried it - works like a charm ;)
> And the module shrinks from ~200k to ~20k.

I think the kernel debian source package should be using dh_strip to
automatically separate the debug symbols to a separate (kernel-debug?)
package.  Debug symbol package is handy for debugging if you get any
issues....


	- Eero
More information about the maemo-developers mailing list