Simplify how C source files are selected in the build

This commit is contained in:
Gregory Nutt
2014-10-07 07:42:36 -06:00
parent d7843c8e24
commit 322f9f401c
16 changed files with 81 additions and 81 deletions
+3 -3
View File
@@ -35,9 +35,9 @@
ifneq ($(CONFIG_DISABLE_ENVIRON),y)
ENV_SRCS = env_getenvironptr.c env_dup.c env_release.c env_findvar.c
ENV_SRCS += env_removevar.c env_clearenv.c env_getenv.c env_putenv.c
ENV_SRCS += env_setenv.c env_unsetenv.c
CSRCS += env_getenvironptr.c env_dup.c env_release.c env_findvar.c
CSRCS += env_removevar.c env_clearenv.c env_getenv.c env_putenv.c
CSRCS += env_setenv.c env_unsetenv.c
# Include environ build support
+1 -1
View File
@@ -44,7 +44,7 @@
#include <nuttx/sched.h>
/****************************************************************************
* Definitions
* Pre-processor Definitions
****************************************************************************/
#ifdef CONFIG_DISABLE_ENVIRON