nixpkgs/pkgs/os-specific
Shea Levy 2c38df1c5b kernel build: limit dev output footprint
This makes the disk usage footprint of building the kernel smaller in 3
ways:

1) There is no separate kernel source derivation
2) Rather than using the entire build tree, only the output of make
modules_prepare is kept in the $dev output (plus the module symbol
versioning file generated during the build)
3) Only the subset of the source tree known to be needed for external
builds is kept in $dev

Note that while 2) is supported by official kernel documentation, I
couldn't find any source describing what we need to keep for 3). I've
started with the bare minimum (the main Makefile is called by the
Makefile generated by make modules_prepare) and we can/should add more
as needed for kernelPackages.

Signed-off-by: Shea Levy <shea@shealevy.com>
2014-01-01 23:56:24 -05:00
..
darwin darwin x11/opengl: only copy subset of files (close #1165) 2013-11-07 10:39:28 +01:00
gnu More renames 2012-12-28 19:42:10 +01:00
linux kernel build: limit dev output footprint 2014-01-01 23:56:24 -05:00
windows pthread-win32: don't propagate `mingw_headers' 2013-03-29 21:46:38 +01:00