Compilando el kernel en menos espacio

Haciendo el make oldconfig me he encontrado con la siguiente nueva opción de los kernel 3.17:

CONFIG_DEBUG_INFO_SPLIT:

Generate debug info into separate .dwo files. This significantly
reduces the build directory size for builds with DEBUG_INFO,
because it stores the information only once on disk in .dwo
files instead of multiple times in object files and executables.
In addition the debug information is also compressed.

Requires recent gcc (4.7+) and recent gdb/binutils.
Any tool that packages or reads debug information would need
to know about the .dwo files and include them.
Incompatible with older versions of ccache.

Produce split debuginfo in .dwo files (DEBUG_INFO_SPLIT) [N/y/?] (NEW)

El directorio con la última compilación del kernel me estaba ocupando más de 4GB (al principio casi 5 GB), así que la he activado. Podéis comprobar vosotros mismos la diferencia:

$  du -sh linux-3.1*
4,1G    linux-3.16.6
2,2G    linux-3.17.1

Merece y mucho la pena.

:wq

blogroll

social