From 58d46a4373806d6193f256b589d22f85dd45c18a Mon Sep 17 00:00:00 2001 From: Arnout Vandecappelle Date: Wed, 15 Feb 2023 22:28:58 +0100 Subject: [PATCH] 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 Signed-off-by: Arnout Vandecappelle (cherry picked from commit c77e31e0b360fffbd893807ccfbc4f35bf2558d1) Signed-off-by: Peter Korsgaard --- docs/manual/common-usage.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/manual/common-usage.txt b/docs/manual/common-usage.txt index 9ba87a8339..b60b6d7f53 100644 --- a/docs/manual/common-usage.txt +++ b/docs/manual/common-usage.txt @@ -30,13 +30,13 @@ the Linux kernel. To use it, add +O=+ 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+