7b42f8fc76
- Force a rebuild if a script in applets_sh is changed. - Move the dummy usage messages for custom applets to usage.h and change the name from 'dummy' to 'scripted'. - Hide an error from gen_build_files.sh if an embed directory exists but is empty. - Tidy up embedded_scripts script. v2: Remove a couple of unnecessary tests in embedded_scripts, as pointed out by Xabier Oneca. Drop the stripping of comments. Signed-off-by: Ron Yorston <rmy@pobox.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
34 lines
854 B
C
34 lines
854 B
C
/* vi: set sw=8 ts=8: */
|
|
/*
|
|
* This file suffers from chronically incorrect tabification
|
|
* of messages. Before editing this file:
|
|
* 1. Switch you editor to 8-space tab mode.
|
|
* 2. Do not use \t in messages, use real tab character.
|
|
* 3. Start each source line with message as follows:
|
|
* |<7 spaces>"text with tabs"....
|
|
* or
|
|
* |<5 spaces>"\ntext with tabs"....
|
|
*/
|
|
#ifndef BB_USAGE_H
|
|
#define BB_USAGE_H 1
|
|
|
|
#define NOUSAGE_STR "\b"
|
|
|
|
#define scripted_trivial_usage NOUSAGE_STR
|
|
#define scripted_full_usage ""
|
|
|
|
#if !ENABLE_USE_BB_CRYPT || ENABLE_USE_BB_CRYPT_SHA
|
|
# define CRYPT_METHODS_HELP_STR "des,md5,sha256/512" \
|
|
" (default "CONFIG_FEATURE_DEFAULT_PASSWD_ALGO")"
|
|
#else
|
|
# define CRYPT_METHODS_HELP_STR "des,md5" \
|
|
" (default "CONFIG_FEATURE_DEFAULT_PASSWD_ALGO")"
|
|
#endif
|
|
|
|
INSERT
|
|
|
|
#define busybox_notes_usage \
|
|
"Hello world!\n"
|
|
|
|
#endif
|