Revert "linuxManualConfig: use the default make target"

This reverts commit 41f788b121.
This commit is contained in:
Adam Joseph 2023-07-25 14:42:43 -07:00
parent 3aff655361
commit 12a06dc2b8

View File

@ -199,14 +199,18 @@ let
'';
buildFlags = [
"DTC_FLAGS=-@"
"KBUILD_BUILD_VERSION=1-NixOS"
# Set by default in the kernel since a73619a845d5,
# replicated here to apply to older versions.
# Makes __FILE__ relative to the build directory.
"KCPPFLAGS=-fmacro-prefix-map=$(sourceRoot)/="
] ++ extraMakeFlags;
kernelConf.target
"vmlinux" # for "perf" and things like that
] ++ optional isModular "modules"
++ optionals buildDTBs ["dtbs" "DTC_FLAGS=-@"]
++ extraMakeFlags;
installFlags = [
"INSTALL_PATH=$(out)"