Hi,
On 06/04/2013 11:54 AM, Roman Mamedov wrote:
> On Tue, 4 Jun 2013 11:42:11 +0200
> Michal Suchanek <
hram...@gmail.com> wrote:
>
>> Hello,
>>
>> I tried to build an android kernel with a more complete config and
>> currently the size is
>>
>> kernel image 4.3M
>>
>> modules 224M (down from 258M of the general Linux config)
>>
>
> Check if you have CONFIG_DEBUG_INFO enabled. It causes much larger binary
> modules to be generated.
Yes, you likely have CONFIG_DEBUG_INFO enabled, besides disabling it and
recompiling everything, you can also do:
find <path-to-modules-dir> -name "*.ko" -exec arm-linux-gnu-strip --strip-debug '{}' \;
This assumes you're doing the stripping on your build machine, not on the
actual Axx itself.
Regards,
Hans