diff options
author | Johannes Stezenbach <js@sig21.net> | 2012-02-24 15:08:32 (GMT) |
---|---|---|
committer | Johannes Stezenbach <js@sig21.net> | 2012-02-24 15:08:32 (GMT) |
commit | 2aee11ccf23c5699d21408fc7d7fedc2f2ae165a (patch) | |
tree | fe978c9de3effa8d3f152bc6b61215224ee0b3fa /scripts/build/libc/uClibc.sh | |
parent | 235b9ae135aab3b322ae6a357d93c7ec3ee95a45 (diff) |
libc/uClibc: add additional debug level between "minimal" and "all"
During application development it is desirable to enable malloc
debugging and LD_DEBUG support, but the extensive debug spew from
SUPPORT_LD_DEBUG_EARLY is only useful when working on
uClibc's ld.so.
Signed-off-by: Johannes Stezenbach <js@sig21.net>
Diffstat (limited to 'scripts/build/libc/uClibc.sh')
-rw-r--r-- | scripts/build/libc/uClibc.sh | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/scripts/build/libc/uClibc.sh b/scripts/build/libc/uClibc.sh index 6d17a5e..b93f21d 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/ |