Unverified Commit 41f788b1 authored by Alyssa Ross's avatar Alyssa Ross
Browse files

linuxManualConfig: use the default make target

We've basically been reimplementing this — by default it contains
vmlinux, dtbs (on applicable architectures), modules, and architecture
specific stuff like $(KBUILD_IMAGE) and a couple of other
miscellaneous files.
parent 7de3f08c
Loading
Loading
Loading
Loading
+2 −6
Original line number Diff line number Diff line
@@ -198,18 +198,14 @@ 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)/="

        kernelConf.target
        "vmlinux"  # for "perf" and things like that
      ] ++ optional isModular "modules"
        ++ optionals buildDTBs ["dtbs" "DTC_FLAGS=-@"]
      ++ extraMakeFlags;
      ] ++ extraMakeFlags;

      installFlags = [
        "INSTALL_PATH=$(out)"