linux/manual-config: Move configfile symlinking to configurePhase.
It makes more semantic sense there than in unpackPhase, as that symlink is _how_ we configure the kernel
This commit is contained in:
parent
8ce1295ad3
commit
b90b62e33b
|
@ -112,12 +112,12 @@ stdenv.mkDerivation {
|
||||||
unpackPhase = ''
|
unpackPhase = ''
|
||||||
mkdir build
|
mkdir build
|
||||||
export buildRoot="$(pwd)/build"
|
export buildRoot="$(pwd)/build"
|
||||||
ln -sv ${configfile} $buildRoot/.config
|
|
||||||
cd $sourceRoot
|
cd $sourceRoot
|
||||||
'';
|
'';
|
||||||
|
|
||||||
configurePhase = ''
|
configurePhase = ''
|
||||||
runHook preConfigure
|
runHook preConfigure
|
||||||
|
ln -sv ${configfile} $buildRoot/.config
|
||||||
make $makeFlags "''${makeFlagsArray[@]}" oldconfig
|
make $makeFlags "''${makeFlagsArray[@]}" oldconfig
|
||||||
runHook postConfigure
|
runHook postConfigure
|
||||||
'';
|
'';
|
||||||
|
|
Loading…
Reference in New Issue