Skip to content

Commit

Permalink
Merge pull request #244447 from amjoseph-nixpkgs/pr/fix/restore-abili…
Browse files Browse the repository at this point in the history
…ty-to-build-kernel-without-modules

linuxManualConfig: restore functionality of isModular and buildDTBs
  • Loading branch information
Adam Joseph authored Jul 20, 2023
2 parents 46316cc + 284d76e commit 42fcf08
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion pkgs/os-specific/linux/kernel/manual-config.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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)"
Expand Down

0 comments on commit 42fcf08

Please sign in to comment.