1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-22 05:31:22 +00:00

Renable preConfigure for kernel builder. Actually needed by custom kernel

Linux kernel 2.6.29 (release) has a slightly changed Makefile. They now add the prefix for depmod. So in NixOS "make modules_install" fails on depmod. To fix it, our old '/-b \$(INSTALL_MOD_PATH) -r/d' should be replaced with '/-b \$(INSTALL_MOD_PATH)/d'.

svn path=/nixpkgs/trunk/; revision=14811
This commit is contained in:
Michael Raskin 2009-03-31 20:10:05 +00:00
parent 1f9740e01c
commit 9379c34b11

View file

@ -3,6 +3,10 @@ source $stdenv/setup
configurePhase=configurePhase
configurePhase() {
if test -n "$preConfigure"; then
eval "$preConfigure";
fi
export INSTALL_PATH=$out
export INSTALL_MOD_PATH=$out