[Nouveau] OT: compilation

Xavier Chantry chantry.xavier at gmail.com
Thu Oct 7 13:50:09 PDT 2010


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
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
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
4) set INSTALL_MOD_PATH to a prefix , compress modules , then move to
/lib/modules/


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


More information about the Nouveau mailing list