nixpkgs/pkgs/os-specific
Shea Levy 34144e835d Linux 3.x: Use our module directory during modules_install
The "unset MODULE_DIR" trick was enough to get Linux 3.x kernels compiling, but it was definitely the Wrong Thing
We NEED MODULE_DIR set so that depmod can store the right dependencies during the build. The REAL problem with the
3.x kernels was two-fold: Our module-init-tools was so old that the kernel build needed to introduce a hack when
calling depmod (involving creating a symlink prepending 99.98 to the version number), and the depmod wrapper was
moved out of the Makefile into scripts/depmod.sh, so our substituteInPlace to get rid of '-b $(INSTALL_MOD_PATH)' in
the Makefile was a noop and INSTALL_MOD_PATH was still being passed to depmod. This is now fixed and modprobe can
successfully find dependencies using the modules.dep created during install

svn path=/nixpkgs/trunk/; revision=29559
2011-10-02 11:01:08 +00:00
..
darwin Add an expression for Darwin's install_name_tool utility, which is required by several other builds. 2011-03-25 12:55:15 +00:00
gnu GNU MIG: Add the `noyywrap' option for Flex. 2011-06-18 16:36:17 +00:00
linux Linux 3.x: Use our module directory during modules_install 2011-10-02 11:01:08 +00:00
windows Making wxGTK stay wxGTK even cross-built, so I remove the wxMSW code I added 2010-05-06 19:19:22 +00:00