Refine previous fix to uClibc verbosity setting

The V={1,2} have opposite meaning in uClibc and uClibc-ng, reflect that.

Signed-off-by: Alexey Neyman <stilor@att.net>
This commit is contained in:
Alexey Neyman 2017-02-15 22:45:07 -08:00
parent 2d1b469f88
commit 4caece0128

View File

@ -151,22 +151,28 @@ config LIBC_UCLIBC_VERBOSITY_0
config LIBC_UCLIBC_VERBOSITY_1 config LIBC_UCLIBC_VERBOSITY_1
bool bool
prompt "Very verbose build" prompt "Brief build (show defines, ld flags)"
help help
Print simplified command lines. Print simplified command lines.
config LIBC_UCLIBC_VERBOSITY_2 config LIBC_UCLIBC_VERBOSITY_2
bool bool
prompt "Brief build (show defines, ld flags)" prompt "Very verbose build"
help help
Print full command lines. Print full command lines.
endchoice endchoice
# uClibc-ng has reverted the meaning of V=1 and V=2 compared to its
# ancestor, uClibc, in order to match kernel's Kbuild settings.
# Hence, for uClibc-ng supply V=2 if "brief build" is selected,
# and so forth.
config LIBC_UCLIBC_VERBOSITY config LIBC_UCLIBC_VERBOSITY
string string
default "" if LIBC_UCLIBC_VERBOSITY_0 default "" if LIBC_UCLIBC_VERBOSITY_0
default "V=2" if LIBC_UCLIBC_VERBOSITY_1 && LIBC_UCLIBC_NG
default "V=1" if LIBC_UCLIBC_VERBOSITY_1 default "V=1" if LIBC_UCLIBC_VERBOSITY_1
default "V=1" if LIBC_UCLIBC_VERBOSITY_2 && LIBC_UCLIBC_NG
default "V=2" if LIBC_UCLIBC_VERBOSITY_2 default "V=2" if LIBC_UCLIBC_VERBOSITY_2
choice choice