mirror of
https://github.com/NixOS/mobile-nixos.git
synced 2024-12-04 21:18:28 +03:00
doc: Add menuconfig notes in the emrbyonic porting guide
This commit is contained in:
parent
c3d1ece95c
commit
1d16e5a37b
@ -9,3 +9,23 @@ In a nutshell, the basic steps are:
|
||||
* Finding appropriate the sources (mainly the kernel).
|
||||
* Writing the expressions to build said sources.
|
||||
|
||||
== Kernel configuration
|
||||
|
||||
The kernel can be configured using the following command, where `$DEVICE` is
|
||||
the device name.
|
||||
|
||||
```
|
||||
$ bin/menuconfig $DEVICE
|
||||
```
|
||||
|
||||
When importing a configuration from another source, manually editing the kernel
|
||||
configuration, or updating the kernel version, it is recommended to run the
|
||||
kernel configuration normalization too.
|
||||
|
||||
```
|
||||
$ bin/kernel-normalize-config $DEVICE
|
||||
```
|
||||
|
||||
Be mindful of your `$NIX_PATH` when running these tools. Ensure it points to
|
||||
the Nixpkgs checkout you use to work on Mobile NixOS or else it may build the
|
||||
toolchain fresh.
|
||||
|
Loading…
Reference in New Issue
Block a user