aboutsummaryrefslogtreecommitdiff
path: root/support
diff options
context:
space:
mode:
authorGravatar Yann E. MORIN <yann.morin.1998@free.fr>2019-07-29 22:19:52 +0200
committerGravatar Peter Korsgaard <peter@korsgaard.com>2019-08-03 19:58:46 +0200
commit213090334722ba4f80d742afb0fe7f4fbd487829 (patch)
tree613499b659ff03452a9e7e83f23626c359afd2d8 /support
parent3617f1350a6aafd5f39e9590d22317fa01a2621f (diff)
downloadbuildroot-213090334722ba4f80d742afb0fe7f4fbd487829.tar.gz
buildroot-213090334722ba4f80d742afb0fe7f4fbd487829.tar.bz2
support/scripts/br2-external: drop help for internal helper script
We do not usually provide help for our internal scripts. Besides, such help has a tendency to bitrot pretty quickly anyway. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Cc: Vadim Kochan <vadim4j@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'support')
-rwxr-xr-xsupport/scripts/br2-external33
1 files changed, 1 insertions, 32 deletions
diff --git a/support/scripts/br2-external b/support/scripts/br2-external
index 5097d617f3..26a5d230ab 100755
--- a/support/scripts/br2-external
+++ b/support/scripts/br2-external
@@ -16,9 +16,8 @@ main() {
local OPT OPTARG
local br2_ext ofile ofmt
- while getopts :hkmo: OPT; do
+ while getopts :kmo: OPT; do
case "${OPT}" in
- h) help; exit 0;;
o) ofile="${OPTARG}";;
k) ofmt="kconfig";;
m) ofmt="mk";;
@@ -188,36 +187,6 @@ do_kconfig() {
printf "endmenu # User-provided options\n"
}
-help() {
- cat <<-_EOF_
- Usage:
- ${my_name} <-m|-k> -o FILE PATH
-
- With -m, ${my_name} generates the makefile fragment that defines
- variables related to the br2-external trees passed as positional
- arguments.
-
- With -k, ${my_name} generates the kconfig snippet to include the
- configuration options specified in the br2-external trees passed
- as positional arguments.
-
- Using -k and -m together is not possible. The last one wins.
-
- Options:
- -m Generate the makefile fragment.
-
- -k Generate the kconfig snippet.
-
- -o FILE
- FILE in which to generate the kconfig snippet or makefile
- fragment.
-
- Returns:
- 0 If no error
- !0 If any error
- _EOF_
-}
-
error() { local fmt="${1}"; shift; printf "BR2_EXTERNAL_ERROR = ${fmt}" "${@}"; exit 1; }
my_name="${0##*/}"