docs/manual: add 'menuconfig' to out-of-tree examples

If the examples given for launching an out-of-tree build are executed
as-is, this will result in the error message

    Please configure Buildroot first (e.g. "make menuconfig")

Even if "make menuconfig" was run before, it's still not going to work
because the out-of-tree build doesn't use the in-tree .config.

Therefore, the example really should start with some config option.
Since "make menuconfig" is used in most other examples of creating a
config, use that here as well. Extend both examples with "menuconfig".

Reported-by: AndreiCherniaev <dungeonlords789@yandex.ru>
Signed-off-by: Arnout Vandecappelle <arnout@mind.be>
(cherry picked from commit c77e31e0b3)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2022.11.x
Arnout Vandecappelle 2023-02-15 22:28:58 +01:00 committed by Peter Korsgaard
parent 1a0906f3cb
commit 4d7b942fce
1 changed files with 2 additions and 2 deletions

View File

@ -30,13 +30,13 @@ the Linux kernel. To use it, add +O=<directory>+ to the make command
line:
--------------------
$ make O=/tmp/build
$ make O=/tmp/build menuconfig
--------------------
Or:
--------------------
$ cd /tmp/build; make O=$PWD -C path/to/buildroot
$ cd /tmp/build; make O=$PWD -C path/to/buildroot menuconfig
--------------------
All the output files will be located under +/tmp/build+. If the +O+