From 7d8c2838efc66fbd5aa65d09c4a112a1e8403917 Mon Sep 17 00:00:00 2001 From: Ulf Samuelsson Date: Sat, 11 Aug 2007 21:58:53 +0000 Subject: [PATCH] Update documentation with advice on completion --- docs/buildroot.html | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/docs/buildroot.html b/docs/buildroot.html index 98a91e5924..c71b50a198 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 +

+ Using auto-completion

+ +

If you are lazy enough that you don't want to type the entire make + menuconfig command line, you can enable auto-completion in your shell. + Here is how you can do that using bash:

+
+$ complete -W menuconfig make
+
+ +

Then just enter the begining of the line, and ask bash to + complete it for you by pressing the TAB key:

+
+$ make me<TAB>
+
+ +

will result in bash to append nuconfig for you!

+ +

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 bash-completion, while Debian ships it as part of + the bash package.

+ +

Other shells, such as zsh, also have completion facilities. See + the documentation for your shell.

+

Customizing the target filesystem

-- 2.30.2