Merge pull request #244447 from amjoseph-nixpkgs/pr/fix/restore-ability-to-build-kernel-without-modules

linuxManualConfig: restore functionality of isModular and buildDTBs
This commit is contained in:
Adam Joseph
2023-07-20 22:17:29 +00:00
committed by GitHub
@@ -232,7 +232,10 @@ stdenv.mkDerivation ({
# replicated here to apply to older versions.
# Makes __FILE__ relative to the build directory.
"KCPPFLAGS=-fmacro-prefix-map=$(sourceRoot)/="
] ++ extraMakeFlags;
kernelConf.target
] ++ optional isModular "modules"
++ optional buildDTBs "dtbs"
++ extraMakeFlags;
installFlags = [
"INSTALL_PATH=$(out)"