[Nouveau] OT: compilation

Grzesiek Sójka pld at pfu.pl
Thu Oct 7 14:04:14 PDT 2010


On 10/07/10 22:50, Xavier Chantry wrote:
> 2010/10/7 Grzesiek Sójka<pld at pfu.pl>:
>> I have two problems with the kernel compilation.
>>
>> 1. I have a small rootfs. It is too small to put all the modules there
>> without gzipping it first. So installing it requires lots of sweating. That
>> is why I was wondering if there is a (more/less easy) way to make the "make
>> modules_install" command gzip the modules "on the fly".
>>
>
> No idea if you can do that but here are some possible alternatives :
> 1) increase the size of your rootfs
Veeeeeeeeeeeeery difficult in my case.

> 2) remove modules you don't need and change from modules to builtin
> for features or drivers that you don't need to unload/reload
I'm trying to do this. Unfortunately I did not compile the kernel by 
myself for at lest 5 yeas and it is a big in my a%$#.

> 3) a quick googling showed me this patch :
> http://www.mail-archive.com/linux-kernel@vger.kernel.org/msg271865.html
> However it seems to install first then compress so if that's the case,
> you will need to adapt it to your need
If I'm right it compress every module _just_after_ imstalling it. So it 
should be fine for me.

> 4) set INSTALL_MOD_PATH to a prefix , compress modules , then move to
> /lib/modules/
If 3) don't helps I try to do this.


> LOCALVERSION_AUTO is found in :
> make menuconfig
> General Setup
> Automatically append version information to the version string


Supper thanks


More information about the Nouveau mailing list