svn commit: trunk/uClibc/extra/Configs

aldot at uclibc.org aldot at uclibc.org
Mon Oct 6 09:15:39 UTC 2008


Author: aldot
Date: 2008-10-06 02:15:39 -0700 (Mon, 06 Oct 2008)
New Revision: 23592

Log:
- move helptexts to their config symbols so that they are actually displayed
  TODO: trick kconfig into displaying choice help properly


Modified:
   trunk/uClibc/extra/Configs/Config.in


Changeset:
Modified: trunk/uClibc/extra/Configs/Config.in
===================================================================
--- trunk/uClibc/extra/Configs/Config.in	2008-10-06 09:13:43 UTC (rev 23591)
+++ trunk/uClibc/extra/Configs/Config.in	2008-10-06 09:15:39 UTC (rev 23592)
@@ -423,12 +423,18 @@
 	prompt "Malloc Implementation"
 	default MALLOC if ! ARCH_USE_MMU
 	default MALLOC_STANDARD if ARCH_USE_MMU
+
+config MALLOC
+	bool "malloc"
 	help
 	  "malloc" use mmap for all allocations and so works very well on MMU-less
 	  systems that do not support the brk() system call.   It is pretty smart
 	  about reusing already allocated memory, and minimizing memory wastage.
 	  This is the default for uClinux MMU-less systems.
 
+config MALLOC_SIMPLE
+	bool "malloc-simple"
+	help
 	  "malloc-simple" was written from scratch for uClibc, and is the
 	  simplest possible (and therefore smallest) malloc implementation.
 	  This uses only the mmap() system call to allocation memory, and does
@@ -437,6 +443,10 @@
 	  certainly isn't the fastest.  But it is 100% standards compliant,
 	  thread safe, and very small.
 
+config MALLOC_STANDARD
+	bool "malloc-standard"
+	depends on ARCH_USE_MMU
+	help
 	  "malloc-standard" is derived from the public domain dlmalloc
 	  implementation by Doug Lea.  It is quite fast, and is pretty smart
 	  about reusing already allocated memory, and minimizing memory
@@ -446,16 +456,6 @@
 
 	  If unsure, answer "malloc-standard".
 
-config MALLOC
-	bool "malloc"
-
-config MALLOC_SIMPLE
-	bool "malloc-simple"
-
-config MALLOC_STANDARD
-	bool "malloc-standard"
-	depends on ARCH_USE_MMU
-
 endchoice
 
 config MALLOC_GLIBC_COMPAT




More information about the uClibc-cvs mailing list