Prechádzať zdrojové kódy

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 c77e31e0b360fffbd893807ccfbc4f35bf2558d1)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Arnout Vandecappelle 2 rokov pred
rodič
commit
4d7b942fce
1 zmenil súbory, kde vykonal 2 pridanie a 2 odobranie
  1. 2 2
      docs/manual/common-usage.txt

+ 2 - 2
docs/manual/common-usage.txt

@@ -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+