* Fix for building Linux 2.6.25.
svn path=/nixpkgs/trunk/; revision=11712
This commit is contained in:
parent
6af82b0239
commit
8d1d839579
|
@ -71,6 +71,7 @@ installPhase() {
|
||||||
# /lib/modules). The depmod_opts= is to prevent the kernel
|
# /lib/modules). The depmod_opts= is to prevent the kernel
|
||||||
# from passing `-b PATH' to depmod.
|
# from passing `-b PATH' to depmod.
|
||||||
export MODULE_DIR=$out/lib/modules/
|
export MODULE_DIR=$out/lib/modules/
|
||||||
|
substituteInPlace Makefile --replace '-b $(INSTALL_MOD_PATH) -r' ''
|
||||||
make modules_install \
|
make modules_install \
|
||||||
DEPMOD=$module_init_tools/sbin/depmod depmod_opts= \
|
DEPMOD=$module_init_tools/sbin/depmod depmod_opts= \
|
||||||
$makeFlags "${makeFlagsArray[@]}" \
|
$makeFlags "${makeFlagsArray[@]}" \
|
||||||
|
|
Loading…
Reference in New Issue