summaryrefslogtreecommitdiff
path: root/kconfig
diff options
context:
space:
mode:
authorYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2008-11-13 17:55:16 (GMT)
committerYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2008-11-13 17:55:16 (GMT)
commit301fbac58eb4c024e3eda0dc13251bd5849be791 (patch)
tree68923a08652c416a48cd8bb9fae8bfb181234425 /kconfig
parentef0e776b9e1ead12459a4fc5d42071c651ae5cd8 (diff)
Merge 1199 and 1200 from /devel/YEM-build_host_target_cleanup:
- Allow hand-indentation in the kconfig prompts - Start documenting the kconfig deviations from the kernel's version /trunk/kconfig/menu.c | 10 8 2 0 ++++++++-- /trunk/docs/overview.txt | 6 6 0 0 ++++++ 2 files changed, 14 insertions(+), 2 deletions(-)
Diffstat (limited to 'kconfig')
-rw-r--r--kconfig/menu.c10
1 files changed, 8 insertions, 2 deletions
diff --git a/kconfig/menu.c b/kconfig/menu.c
index 07ff8d1..b8113cc 100644
--- a/kconfig/menu.c
+++ b/kconfig/menu.c
@@ -128,8 +128,14 @@ struct property *menu_add_prop(enum prop_type type, char *prompt, struct expr *e
prop->visible.expr = menu_check_dep(dep);
if (prompt) {
- if (isspace(*prompt)) {
- prop_warn(prop, "leading whitespace ignored");
+ /* For crostool-NG, a leading pipe followed with spaces
+ * means that pipe shall be removed, and the spaces should
+ * not be trimmed.
+ */
+ if (*prompt == '|')
+ prompt++;
+ else if (isspace(*prompt)) {
+ /* Silently trim leading spaces */
while (isspace(*prompt))
prompt++;
}