tools/mkconfig.c: Add logic to keep all of the buffering options in sync.
This commit is contained in:
parent
98d072a1f7
commit
0b4a9539be
@ -53,6 +53,7 @@
|
|||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
* Pre-processor Definitions
|
* Pre-processor Definitions
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
/* This configuration directory is used in environment variable processing
|
/* This configuration directory is used in environment variable processing
|
||||||
* when we need to reference the user's home directory. There are no user
|
* when we need to reference the user's home directory. There are no user
|
||||||
* directories in NuttX so, by default, this always refers to the root
|
* directories in NuttX so, by default, this always refers to the root
|
||||||
|
@ -206,7 +206,9 @@ int main(int argc, char **argv, char **envp)
|
|||||||
printf(" */\n\n");
|
printf(" */\n\n");
|
||||||
printf("#if CONFIG_NFILE_STREAMS == 0\n");
|
printf("#if CONFIG_NFILE_STREAMS == 0\n");
|
||||||
printf("# undef CONFIG_STDIO_BUFFER_SIZE\n");
|
printf("# undef CONFIG_STDIO_BUFFER_SIZE\n");
|
||||||
printf("# define CONFIG_STDIO_BUFFER_SIZE 0\n");
|
printf("# undef CONFIG_STDIO_LINEBUFFER\n");
|
||||||
|
printf("# undef CONFIG_STDIO_DISABLE_BUFFERING\n");
|
||||||
|
printf("# define CONFIG_STDIO_DISABLE_BUFFERING 1\n");
|
||||||
printf("#endif\n\n");
|
printf("#endif\n\n");
|
||||||
|
|
||||||
printf("/* If the maximum message size is zero, then we assume that message queues\n");
|
printf("/* If the maximum message size is zero, then we assume that message queues\n");
|
||||||
|
Loading…
Reference in New Issue
Block a user