[Buildroot] [git commit branch/2022.02.x] docs/manual: add 'menuconfig' to out-of-tree examples
Peter Korsgaard
peter at korsgaard.com
Sat Mar 4 12:57:35 UTC 2023
commit: https://git.buildroot.net/buildroot/commit/?id=58d46a4373806d6193f256b589d22f85dd45c18a
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2022.02.x
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 at yandex.ru>
Signed-off-by: Arnout Vandecappelle <arnout at mind.be>
(cherry picked from commit c77e31e0b360fffbd893807ccfbc4f35bf2558d1)
Signed-off-by: Peter Korsgaard <peter at korsgaard.com>
---
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=<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+
More information about the buildroot
mailing list