diff options
-rw-r--r-- | config/libc/uClibc.in | 4 | ||||
-rw-r--r-- | scripts/build/libc/uClibc.sh | 10 |
2 files changed, 14 insertions, 0 deletions
diff --git a/config/libc/uClibc.in b/config/libc/uClibc.in index 7e5182ec..4a864dba 100644 --- a/config/libc/uClibc.in +++ b/config/libc/uClibc.in @@ -172,6 +172,10 @@ config LIBC_UCLIBC_DEBUG_LEVEL_1 config LIBC_UCLIBC_DEBUG_LEVEL_2 bool + prompt "normal" + +config LIBC_UCLIBC_DEBUG_LEVEL_3 + bool prompt "all" endchoice diff --git a/scripts/build/libc/uClibc.sh b/scripts/build/libc/uClibc.sh index 6d17a5e8..b93f21dd 100644 --- a/scripts/build/libc/uClibc.sh +++ b/scripts/build/libc/uClibc.sh @@ -528,6 +528,16 @@ mungeuClibcConfig() { 2) cat <<-ENDSED s/^# DODEBUG is not set.*/DODEBUG=y/ + s/^DODEBUG_PT=y/# DODEBUG_PT is not set/ + s/^# DOASSERTS is not set.*/DOASSERTS=y/ + s/^# SUPPORT_LD_DEBUG is not set.*/SUPPORT_LD_DEBUG=y/ + s/^SUPPORT_LD_DEBUG_EARLY=y/# SUPPORT_LD_DEBUG_EARLY is not set/ + s/^# UCLIBC_MALLOC_DEBUGGING is not set/UCLIBC_MALLOC_DEBUGGING=y/ + ENDSED + ;; + 3) + cat <<-ENDSED + s/^# DODEBUG is not set.*/DODEBUG=y/ s/^# DODEBUG_PT is not set.*/DODEBUG_PT=y/ s/^# DOASSERTS is not set.*/DOASSERTS=y/ s/^# SUPPORT_LD_DEBUG is not set.*/SUPPORT_LD_DEBUG=y/ |