summaryrefslogtreecommitdiff
path: root/scripts/build/libc_uClibc.sh
diff options
context:
space:
mode:
authorYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2008-06-19 08:14:52 (GMT)
committerYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2008-06-19 08:14:52 (GMT)
commitc66afdc69e1d90af162e72105cde1fcc9fd4b9cb (patch)
tree9284771d78acf01d6c938bb165703ff95f2c5e7e /scripts/build/libc_uClibc.sh
parenta8bfc05f9f7075a9efed86d266ef56bc74738baf (diff)
When building uClibc, always build the libpthread_db.
/trunk/scripts/build/libc_uClibc.sh | 8 5 3 0 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-)
Diffstat (limited to 'scripts/build/libc_uClibc.sh')
-rw-r--r--scripts/build/libc_uClibc.sh8
1 files changed, 5 insertions, 3 deletions
diff --git a/scripts/build/libc_uClibc.sh b/scripts/build/libc_uClibc.sh
index 41dc62f..f86b34d 100644
--- a/scripts/build/libc_uClibc.sh
+++ b/scripts/build/libc_uClibc.sh
@@ -266,11 +266,15 @@ s/^# UCLIBC_CTOR_DTOR is not set/UCLIBC_CTOR_DTOR=y/
ENDSED
fi
+ # Always build the libpthread_db
+ cat >>"${munge_file}" <<-ENDSED
+s/^# PTHREADS_DEBUG_SUPPORT is not set.*/PTHREADS_DEBUG_SUPPORT=y/
+ENDSED
+
# Force on debug options if asked for
case "${CT_LIBC_UCLIBC_DEBUG_LEVEL}" in
0)
cat >>"${munge_file}" <<-ENDSED
-s/^PTHREADS_DEBUG_SUPPORT=y/# PTHREADS_DEBUG_SUPPORT is not set/
s/^DODEBUG=y/# DODEBUG is not set/
s/^DODEBUG_PT=y/# DODEBUG_PT is not set/
s/^DOASSERTS=y/# DOASSERTS is not set/
@@ -281,7 +285,6 @@ ENDSED
;;
1)
cat >>"${munge_file}" <<-ENDSED
-s/^# PTHREADS_DEBUG_SUPPORT is not set.*/PTHREADS_DEBUG_SUPPORT=y/
s/^# DODEBUG is not set.*/DODEBUG=y/
s/^DODEBUG_PT=y/# DODEBUG_PT is not set/
s/^DOASSERTS=y/# DOASSERTS is not set/
@@ -292,7 +295,6 @@ ENDSED
;;
2)
cat >>"${munge_file}" <<-ENDSED
-s/^# PTHREADS_DEBUG_SUPPORT is not set.*/PTHREADS_DEBUG_SUPPORT=y/
s/^# DODEBUG is not set.*/DODEBUG=y/
s/^# DODEBUG_PT is not set.*/DODEBUG_PT=y/
s/^# DOASSERTS is not set.*/DOASSERTS=y/