nixpkgs/pkgs/os-specific/linux/kernel/builder.sh
Armijn Hemel 1e5e23ce5d don't forget to actually install modules
svn path=/nixpkgs/trunk/; revision=3185
2005-06-16 23:33:59 +00:00

14 lines
194 B
Bash

. $stdenv/setup
buildPhase() {
cp $config .config
echo "export INSTALL_PATH=$out" >> Makefile
export INSTALL_MOD_PATH=$out
make
make modules_install
}
buildPhase=buildPhase
genericBuild