Linux kernel: Difference between revisions
imported>Samueldr m Adds link to Choose your kernel on NixOS page |
imported>Teto added entry for make xconfig |
||
Line 40: | Line 40: | ||
[nix-shell] $ make menuconfig | [nix-shell] $ make menuconfig | ||
</syntaxHighlight> (thanks to sphalerite) | </syntaxHighlight> (thanks to sphalerite) | ||
== make xconfig == | |||
Similarly to make menuconfig, you need to import qt in the environment: | |||
<syntaxHighlight lang=console> | |||
$ nix-shell -E 'with import <nixpkgs> {}; linux.overrideAttrs (o: {nativeBuildInputs=o.nativeBuildInputs ++ [ pkgconfig qt5.qtbase ];})' | |||
</syntaxHighlight> | |||
If the source was unpacked and an initial config exists, you can run <code>make xconfig KCONFIG_CONFIG=build/.config</code> | |||
== Adding <code>extraConfig</code> == | == Adding <code>extraConfig</code> == |