changeset 2237:f9742da9a453

* cdl/net.cdl: Fix calculation of TFTPD stack size. CYGNUM_HAL_STACK_SIZE_TYPICAL is not a CDL variable, it is a #define, so we need to ensure that the compiler evaluates the expression, not the CDL library
author asl
date Sat, 17 Jun 2006 20:11:06 +0000
parents d9451e6b9670
children 873b302b8ff8
files packages/net/common/current/ChangeLog packages/net/common/current/cdl/net.cdl
diffstat 2 files changed, 8 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/packages/net/common/current/ChangeLog
+++ b/packages/net/common/current/ChangeLog
@@ -1,3 +1,10 @@
+2006-05-25  Andrew Lunn  <andrew.lunn@ascom.ch>
+
+	* cdl/net.cdl: Fix calculation of TFTPD stack
+	size. CYGNUM_HAL_STACK_SIZE_TYPICAL is not a CDL variable, it is a
+	#define, so we need to ensure that the compiler evaluates the
+	expression, not the CDL library.
+  
 2006-03-26  Andrew Lunn  <andrew.lunn@ascom.ch>
 
 	* tests/nc_test_framework.h: 
--- a/packages/net/common/current/cdl/net.cdl
+++ b/packages/net/common/current/cdl/net.cdl
@@ -170,7 +170,7 @@ cdl_package CYGPKG_NET {
         cdl_option CYGPKG_NET_TFTPD_THREAD_STACK_SIZE {
             display "Stack size for TFTP threads."
             flavor  data
-            default_value (CYGNUM_HAL_STACK_SIZE_TYPICAL+(3*(SEGSIZE+4)))
+            default_value { "(CYGNUM_HAL_STACK_SIZE_TYPICAL+(3*(SEGSIZE+4)))" }
             description   "
                This option controls the size of the stack used for the 
                TFTP server. The default should be sufficient for most cases