mirror of
https://github.com/NixOS/mobile-nixos.git
synced 2025-01-07 12:11:28 +03:00
kernel-builder: Fix correctness with makeFlags and menuconfig
This commit is contained in:
parent
5b14ef0650
commit
c708340e8e
@ -279,7 +279,7 @@ let kernel = stdenv.mkDerivation {
|
|||||||
sed -i"" -e 's/$< .*$(Kconfig)/echo "no-op"/' scripts/kconfig/Makefile
|
sed -i"" -e 's/$< .*$(Kconfig)/echo "no-op"/' scripts/kconfig/Makefile
|
||||||
|
|
||||||
# Build the ...config application.
|
# Build the ...config application.
|
||||||
make $buildFlags
|
make $makeFlags "''${makeFlagsArray[@]}" $buildFlags
|
||||||
|
|
||||||
mv scripts/kconfig/Makefile.old scripts/kconfig/Makefile
|
mv scripts/kconfig/Makefile.old scripts/kconfig/Makefile
|
||||||
)
|
)
|
||||||
@ -329,7 +329,8 @@ let kernel = stdenv.mkDerivation {
|
|||||||
export ARCH="${stdenv.hostPlatform.platform.kernelArch}"
|
export ARCH="${stdenv.hostPlatform.platform.kernelArch}"
|
||||||
export KERNELVERSION="${version}"
|
export KERNELVERSION="${version}"
|
||||||
cd "\$KERNEL_TREE"
|
cd "\$KERNEL_TREE"
|
||||||
make run-nconfig "\$@"
|
${/* We're expanding the builder's makeFlags variable here. This is not a mistake. */""}
|
||||||
|
make $makeFlags run-nconfig "\$@"
|
||||||
EOF
|
EOF
|
||||||
)
|
)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user