anchao 25b92edd9f 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.
2018-08-22 09:30:38 -06:00
..
2018-08-22 09:30:38 -06:00
2018-08-22 09:30:38 -06:00
2014-04-13 16:24:28 -06:00

Install Program
===============

    Source: NuttX
    Author: Uros Platise
    Date: 7. May 2011

This application installs XIP application by placing it directly into
the program memory (flash) area into free area and creates a start-up
script into selected directory (i.e. /usr/bin/progname).

Usage:
    install [--stack RequiredStackSpace] [--priority Priority]
            source-file destination-directory

If stackspace is not given default stack space of 4096 Bytes is used.
If priority is not given system default is used.

Additional options:

    --remove destination-file   i.e. install --remove /usr/bin/myapp
    --force                     to replace existing installation
    --start <page>              install app at or after <page>
    --margin <pages>            leave some free space after the kernel
                                Default is 16 pages so kernel may grow.