mirror of
https://github.com/apache/nuttx.git
synced 2026-06-05 15:58:59 +08:00
Rename LIB_ to LIBC_ for all libc Kconfig
follow other libc component naming convention Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
committed by
Abdelatif Guettouche
parent
a3986eeba3
commit
5025fbef8d
+2
-2
@@ -1357,7 +1357,7 @@ config SIG_EVTHREAD
|
||||
bool "Support SIGEV_THHREAD"
|
||||
default n
|
||||
depends on !BUILD_KERNEL && SCHED_WORKQUEUE
|
||||
select LIB_USRWORK if BUILD_PROTECTED
|
||||
select LIBC_USRWORK if BUILD_PROTECTED
|
||||
---help---
|
||||
Built in support for the SIGEV_THREAD signal deliver method.
|
||||
|
||||
@@ -1562,7 +1562,7 @@ config SIG_SIGCONDTIMEDOUT
|
||||
config SIG_SIGWORK
|
||||
int "SIGWORK"
|
||||
default 17
|
||||
depends on SCHED_WORKQUEUE || LIB_USRWORK
|
||||
depends on SCHED_WORKQUEUE || LIBC_USRWORK
|
||||
---help---
|
||||
SIGWORK is a non-standard signal used to wake up various internal
|
||||
NuttX worker threads. This setting specifies the signal number
|
||||
|
||||
@@ -105,7 +105,7 @@ extern const int CONFIG_INIT_NEXPORTS;
|
||||
/* In the protected build (only) we also need to start the user work queue */
|
||||
|
||||
#if !defined(CONFIG_BUILD_PROTECTED)
|
||||
# undef CONFIG_LIB_USRWORK
|
||||
# undef CONFIG_LIBC_USRWORK
|
||||
#endif
|
||||
|
||||
#if !defined(CONFIG_USERMAIN_PRIORITY)
|
||||
@@ -170,7 +170,7 @@ static inline void nx_pgworker(void)
|
||||
#ifdef CONFIG_SCHED_WORKQUEUE
|
||||
static inline void nx_workqueues(void)
|
||||
{
|
||||
#ifdef CONFIG_LIB_USRWORK
|
||||
#ifdef CONFIG_LIBC_USRWORK
|
||||
pid_t pid;
|
||||
#endif
|
||||
|
||||
@@ -192,7 +192,7 @@ static inline void nx_workqueues(void)
|
||||
|
||||
#endif /* CONFIG_SCHED_LPWORK */
|
||||
|
||||
#ifdef CONFIG_LIB_USRWORK
|
||||
#ifdef CONFIG_LIBC_USRWORK
|
||||
/* Start the user-space work queue */
|
||||
|
||||
DEBUGASSERT(USERSPACE->work_usrstart != NULL);
|
||||
@@ -403,8 +403,8 @@ int nx_bringup(void)
|
||||
* by all of the threads created by the IDLE task.
|
||||
*/
|
||||
|
||||
#ifdef CONFIG_LIB_HOMEDIR
|
||||
setenv("PWD", CONFIG_LIB_HOMEDIR, 1);
|
||||
#ifdef CONFIG_LIBC_HOMEDIR
|
||||
setenv("PWD", CONFIG_LIBC_HOMEDIR, 1);
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_PATH_INITIAL
|
||||
|
||||
@@ -94,7 +94,7 @@
|
||||
* task.
|
||||
*
|
||||
* Input Parameters:
|
||||
* path - The path to the program to be executed. If CONFIG_LIB_ENVPATH
|
||||
* path - The path to the program to be executed. If CONFIG_LIBC_ENVPATH
|
||||
* is defined in the configuration, then this may be a relative path
|
||||
* from the current working directory. Otherwise, path must be the
|
||||
* absolute path to the program.
|
||||
|
||||
@@ -56,7 +56,7 @@
|
||||
* child task in the variable pointed to by a non-NULL 'pid' argument.|
|
||||
*
|
||||
* path - The 'path' argument identifies the file to execute. If
|
||||
* CONFIG_LIB_ENVPATH is defined, this may be either a relative or
|
||||
* CONFIG_LIBC_ENVPATH is defined, this may be either a relative or
|
||||
* or an absolute path. Otherwise, it must be an absolute path.
|
||||
*
|
||||
* attr - If the value of the 'attr' parameter is NULL, the all default
|
||||
@@ -240,7 +240,7 @@ static int nxposix_spawn_proxy(int argc, FAR char *argv[])
|
||||
* directories passed as the environment variable PATH.
|
||||
*
|
||||
* NOTE: NuttX provides only one implementation: If
|
||||
* CONFIG_LIB_ENVPATH is defined, then only posix_spawnp() behavior
|
||||
* CONFIG_LIBC_ENVPATH is defined, then only posix_spawnp() behavior
|
||||
* is supported; otherwise, only posix_spawn behavior is supported.
|
||||
*
|
||||
* file_actions - If 'file_actions' is a null pointer, then file
|
||||
@@ -292,8 +292,8 @@ static int nxposix_spawn_proxy(int argc, FAR char *argv[])
|
||||
*
|
||||
* Assumptions/Limitations:
|
||||
* - NuttX provides only posix_spawn() or posix_spawnp() behavior
|
||||
* depending upon the setting of CONFIG_LIB_ENVPATH: If
|
||||
* CONFIG_LIB_ENVPATH is defined, then only posix_spawnp() behavior
|
||||
* depending upon the setting of CONFIG_LIBC_ENVPATH: If
|
||||
* CONFIG_LIBC_ENVPATH is defined, then only posix_spawnp() behavior
|
||||
* is supported; otherwise, only posix_spawn behavior is supported.
|
||||
* - The 'envp' argument is not used and the 'environ' variable is not
|
||||
* altered (NuttX does not support the 'environ' variable).
|
||||
@@ -310,7 +310,7 @@ static int nxposix_spawn_proxy(int argc, FAR char *argv[])
|
||||
*
|
||||
****************************************************************************/
|
||||
|
||||
#ifdef CONFIG_LIB_ENVPATH
|
||||
#ifdef CONFIG_LIBC_ENVPATH
|
||||
int posix_spawnp(FAR pid_t *pid, FAR const char *path,
|
||||
FAR const posix_spawn_file_actions_t *file_actions,
|
||||
FAR const posix_spawnattr_t *attr,
|
||||
|
||||
Reference in New Issue
Block a user