summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorUlf Samuelsson <ulf.samuelsson@atmel.com>2007-08-11 21:58:53 +0000
committerUlf Samuelsson <ulf.samuelsson@atmel.com>2007-08-11 21:58:53 +0000
commit7d8c2838efc66fbd5aa65d09c4a112a1e8403917 (patch)
tree6e18c0927ffb790f789cdf273ace7c6155934f0c /docs
parent7cf18d30aebb689031f6c43d198665477ac76817 (diff)
Update documentation with advice on completion
Diffstat (limited to 'docs')
-rw-r--r--docs/buildroot.html27
1 files changed, 27 insertions, 0 deletions
diff --git a/docs/buildroot.html b/docs/buildroot.html
index 98a91e592..c71b50a19 100644
--- a/docs/buildroot.html
+++ b/docs/buildroot.html
@@ -202,6 +202,33 @@ $ make UCLIBC_CONFIG_FILE=uClibc.config BUSYBOX_CONFIG_FILE=$HOME/bb.config
$ make HOSTCXX=g++-4.3-HEAD HOSTCC=gcc-4.3-HEAD
</pre>
+ <h3><a name="helper_completion" id="helper_completion"></a>
+ Using auto-completion</h3>
+
+ <p>If you are lazy enough that you don't want to type the entire <i>make
+ menuconfig</i> command line, you can enable auto-completion in your shell.
+ Here is how you can do that using <i>bash</i>:</p>
+<pre>
+$ complete -W menuconfig make
+</pre>
+
+ <p>Then just enter the begining of the line, and ask <i>bash</i> to
+ complete it for you by pressing the <i>TAB</i> key:</p>
+<pre>
+$ make me&lt;TAB&gt;
+</pre>
+
+ <p>will result in <i>bash</i> to append <i>nuconfig</i> for you!</p>
+
+ <p>Alternatively, some distributions (of which Debian and Mandriva are but
+ an example) have more powerful make completion. Depending on you
+ distribution, you may have to install a package to enable completion. Under
+ Mandriva, this is <i>bash-completion</i>, while Debian ships it as part of
+ the <i>bash</i> package.</p>
+
+ <p>Other shells, such as <i>zsh</i>, also have completion facilities. See
+ the documentation for your shell.</p>
+
<h2><a name="custom_targetfs" id="custom_targetfs"></a>Customizing the
target filesystem</h2>