mirror of
https://github.com/apache/nuttx.git
synced 2026-06-04 14:53:47 +08:00
Simplify how C source files are selected in the build
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
@@ -44,7 +44,7 @@
|
||||
#include <nuttx/sched.h>
|
||||
|
||||
/****************************************************************************
|
||||
* Definitions
|
||||
* Pre-processor Definitions
|
||||
****************************************************************************/
|
||||
|
||||
#ifdef CONFIG_DISABLE_ENVIRON
|
||||
|
||||
Reference in New Issue
Block a user