3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/os-specific/linux/kernel
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
..
common-config.nix splashutils: Remove 2013-09-26 18:03:43 +02:00
generate-config.pl Implement generic kernel build via manual-config 2014-01-01 09:21:25 -05:00
generic.nix kernel build: limit dev output footprint 2014-01-01 23:56:24 -05:00
grsec-path.patch grsecurity: Fix module loading during boot due to path restrictions 2013-11-27 01:32:50 +01:00
linux-3.2.nix linux: Update to 3.2.53 2013-12-04 15:28:20 +01:00
linux-3.4.nix linux: Fix hash 2013-12-17 13:27:03 +01:00
linux-3.10.nix linux: Update 3.10.18 -> 3.10.25 2013-12-29 07:53:23 -06:00
linux-3.11.nix linux: Update 3.11.8 -> 3.11.10 2013-12-29 07:53:19 -06:00
linux-3.12.nix Linux 3.12.6 2013-12-20 13:45:45 -05:00
linux-rpi-3.6.nix Set meta.hydraPlatforms instead of meta.platforms for some packages 2013-11-05 00:06:10 +01:00
linux.upstream.template
manual-config.nix kernel build: limit dev output footprint 2014-01-01 23:56:24 -05:00
mips-ext3-n32.patch
mips-fpu-sigill.patch
mips-fpureg-emulation.patch
no-xsave.patch
patches.nix grsecurity: Update to 3.0-3.2.53-201312021727 and 3.0-3.12.2-201312021733 2013-12-04 15:28:21 +01:00
perf.nix fix bug in perf-linux installation, oops 2013-07-21 19:25:05 +02:00
sec_perm-2.6.24.patch