svn commit: trunk/uClibc: extra/Configs libpthread/linuxthreads.o etc...

andersen at uclibc.org andersen at uclibc.org
Tue Jul 4 22:23:04 UTC 2006


Author: andersen
Date: 2006-07-04 15:23:01 -0700 (Tue, 04 Jul 2006)
New Revision: 15608

Log:
Change symbol 'NOSTRIP' to 'DOSTRIP' since the double negatives
on i.e. NOSTRIP=n gets a bit confusing.


Modified:
   trunk/uClibc/Rules.mak
   trunk/uClibc/extra/Configs/Config.in
   trunk/uClibc/libpthread/linuxthreads.old_db/Makefile.in
   trunk/uClibc/libpthread/linuxthreads_db/Makefile.in


Changeset:
Modified: trunk/uClibc/Rules.mak
===================================================================
--- trunk/uClibc/Rules.mak	2006-07-04 20:11:00 UTC (rev 15607)
+++ trunk/uClibc/Rules.mak	2006-07-04 22:23:01 UTC (rev 15608)
@@ -381,10 +381,10 @@
 else
 CFLAGS += $(OPTIMIZATION) $(XARCH_CFLAGS)
 endif
-ifeq ($(NOSTRIP),y)
+ifeq ($(DOSTRIP),y)
+LDFLAGS += -s
+else
 STRIPTOOL := true -Stripping_disabled
-else
-LDFLAGS += -s
 endif
 
 ifeq ($(DOMULTI),y)

Modified: trunk/uClibc/extra/Configs/Config.in
===================================================================
--- trunk/uClibc/extra/Configs/Config.in	2006-07-04 20:11:00 UTC (rev 15607)
+++ trunk/uClibc/extra/Configs/Config.in	2006-07-04 22:23:01 UTC (rev 15608)
@@ -1407,7 +1407,6 @@
 config DODEBUG
 	bool "Build uClibc with debugging symbols"
 	default n
-	select NOSTRIP
 	select EXTRA_WARNINGS
 	help
 	  Say Y here if you wish to compile uClibc with debugging symbols.
@@ -1428,14 +1427,15 @@
 
 	  Otherwise, answer N.
 
-config NOSTRIP
-	bool "Do not strip libraries and executables"
-	default n
+config DOSTRIP
+	bool "Strip libraries and executables"
+	default y
+	depends on !DODEBUG
 	help
-	  Say Y here if you do not wish to strip all uClibc libraries and
-	  executables.  This increases the size of the binaries considerably,
-	  but makes it possible to directly debug uClibc libraries.
-	  Most people will answer N.
+	  Say Y here if you do wish to strip all uClibc libraries and
+	  executables.  No stripping increases the size of the binaries
+	  considerably, but makes it possible to debug uClibc libraries.
+	  Most people will answer Y.
 
 config DOASSERTS
 	bool "Build uClibc with run-time assertion testing"

Modified: trunk/uClibc/libpthread/linuxthreads.old_db/Makefile.in
===================================================================
--- trunk/uClibc/libpthread/linuxthreads.old_db/Makefile.in	2006-07-04 20:11:00 UTC (rev 15607)
+++ trunk/uClibc/libpthread/linuxthreads.old_db/Makefile.in	2006-07-04 22:23:01 UTC (rev 15608)
@@ -9,7 +9,7 @@
 CFLAGS-linuxthreads.old_db := -DNOT_IN_libc -DLIBPTHREAD_SO="\"libpthread.so.$(MAJOR_VERSION)\""
 
 LDFLAGS-libthread_db.so := $(LDFLAGS_NOSTRIP) $(call check_ld,--warn-unresolved-symbols)
-ifneq ($(NOSTRIP),y)
+ifeq ($(DOSTRIP),y)
 LDFLAGS-libthread_db.so += -s
 endif
 

Modified: trunk/uClibc/libpthread/linuxthreads_db/Makefile.in
===================================================================
--- trunk/uClibc/libpthread/linuxthreads_db/Makefile.in	2006-07-04 20:11:00 UTC (rev 15607)
+++ trunk/uClibc/libpthread/linuxthreads_db/Makefile.in	2006-07-04 22:23:01 UTC (rev 15608)
@@ -9,7 +9,7 @@
 CFLAGS-linuxthreads_db := -DNOT_IN_libc -DLIBPTHREAD_SO="\"libpthread.so.$(MAJOR_VERSION)\""
 
 LDFLAGS-libthread_db.so := $(LDFLAGS_NOSTRIP) $(call check_ld,--warn-unresolved-symbols)
-ifneq ($(NOSTRIP),y)
+ifeq ($(DOSTRIP),y)
 LDFLAGS-libthread_db.so += -s
 endif
 




More information about the uClibc-cvs mailing list