mirror of
https://github.com/apache/nuttx-apps.git
synced 2026-10-08 06:35:12 +00:00
Squashed commit of the following:
apps/builtin/exec_builtin.c: Try posix_spawn if builtin apps do not have have an entry point.
apps/Application.mk: introduce MODULE config to simplify tristate(m)
apps/nsh: Change the nuttx shell module type to tristate
apps: Add loadable application support
script/mksymtab: Generate symbol table name by default
apps/builtin: Allow loadable applications can register with apps/builtin.
This commit is contained in:
parent
9fe6d2e1c3
commit
25b92edd9f
326 changed files with 561 additions and 569 deletions
|
|
@ -67,7 +67,7 @@ config EXAMPLES_TIMER_PRIORITY
|
|||
config EXAMPLES_TIMER_PROGNAME
|
||||
string "Timer program name"
|
||||
default "timer"
|
||||
depends on BUILD_KERNEL
|
||||
depends on BUILD_LOADABLE
|
||||
---help---
|
||||
This is the name of the program that will be use when the NSH ELF
|
||||
program is installed.
|
||||
|
|
|
|||
|
|
@ -135,7 +135,7 @@ static void timer_status(int fd)
|
|||
* timer_main
|
||||
****************************************************************************/
|
||||
|
||||
#ifdef CONFIG_BUILD_KERNEL
|
||||
#ifdef CONFIG_BUILD_LOADABLE
|
||||
int main(int argc, FAR char *argv[])
|
||||
#else
|
||||
int timer_main(int argc, char *argv[])
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue