Commit Graph

21 Commits

Author SHA1 Message Date
Gregory Nutt
43e79ac329 Update for corrected name of standard header file. Should be dlfcn.h, not dllfcn.h. I am surprised no one ever noticed before now. 2019-02-09 14:10:16 -06:00
anchao
b5cfd93444 apps/: Modification to build system: Unified application compilation rules 2018-09-03 09:29:56 -06:00
Gregory Nutt
2ef04ff0a8 apps/examples/sotest and modules: With recent changes, LDLIBS is initialized to bad value, at least in certain contexts. 2018-08-24 16:24:58 -06:00
anchao
220653f21c Squashed commit of the following:
Author: anchao <anchao@pinecone.net>

     apps/, most main() function: Correct CONFIG_BUILD_LOADABLE usage
     Loadable apps/: Correct loadable symbol table generate
     apps/system/ubloxmodem:  Fix build break
     apps/examples/ostest: start restart/waitpid/user test from main loop
     apps/nshlib:  Expand reboot and poweroff commands to include a second, optional mode argument

    Author: Gregory Nutt <gnutt@nuttx.org>

     An attempt to fix build issues.  Does not work.
     apps/examples/ostest:  Fix some inappropriate renaming of static functions introduced with recent patches.
     apps/builtin/exec_builtin.c:  Fix a error introduced by recent comments.  Found in build testing.

    Author: anchao <anchao@pinecone.net>

     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-23 11:06:15 -06:00
Gregory Nutt
2f982e9c77 Revert "Squashed commit of the following:"
This reverts commit 25b92edd9f.
2018-08-22 12:06:32 -06:00
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
Gregory Nutt
5ecec24084 There many occurences of the global variable g_exports and the opportunity for collisions. Make the global variable names unique. 2018-07-14 16:36:25 -06:00
Gregory Nutt
654ee7e6f9 apps/examples/elf, module, posix_spawn: Correct naming of global variables that violations the naming requirements of the coding standard. 2018-07-12 09:53:38 -06:00
Gregory Nutt
6aa3e57004 Triva typo fixed. Also modify weird definition in import/Makefile. Still weird, but at least the directory exists. 2018-05-31 15:31:31 -06:00
Gregory Nutt
634dd7709b apps/, Various Makefiles: Fix mixed references to nuttx/lib. These need to be changed to nuttx/staging. 2018-05-30 11:08:13 -06:00
Gregory Nutt
7a8561728c The last change added .PRECIOUS: $(BIN) to everyway Makefile in hopes the libapps.a will not be deleted on Control-C (unproven so far). However, $(BIN) may contain back slashes in some build platforms and that causes problems for make: It can't handle the backslashes in the .PRECIOUS dependency list. $(BIN) replaced with ../../libapp.a, where the number of ../ depends on the depth of the Makefile in the apps/ source tree. 2017-08-13 11:03:17 -06:00
Gregory Nutt
a66da34f18 All Makefiles: Add .PRECIOUS: apps/libapps.a to every Makefile. Hopefully this will end awkward problems when you Control-C out of a build and libapps.a is deleted. 2017-08-13 09:35:14 -06:00
Gregory Nutt
3ab2aec4e8 New apps/examples/module and sotest configuration options 2017-01-30 09:04:01 -06:00
Gregory Nutt
de909c5c48 apps/examples/module and sotest: Update for names changes resulting when module library was split out from kernel module code. 2017-01-29 13:32:39 -06:00
Gregory Nutt
bedf040698 apps/examples/sotest: Fix an error introduced in previous commit 2017-01-27 15:48:15 -06:00
Gregory Nutt
abd0362c64 apps/examples/sotest: Extend test to check out module dependencies. 2017-01-27 15:11:44 -06:00
Gregory Nutt
32211e21b6 apps/examples: Fix some name collisions of both module and sotest examples are enabled. 2017-01-27 11:41:53 -06:00
Gregory Nutt
08b6e087bf examples/sotest: Fix file permissions of mksymtab.sh 2017-01-27 10:34:13 -06:00
Gregory Nutt
ad9cf1aa97 Update some Kconfig help 2017-01-23 15:50:37 -06:00
Gregory Nutt
e29db2721a examples/module and examples/sotest can only be used in the FLAT build mode because they make illegal OS calls to ramdisk_register(), register_device(), and unregister_device(). 2017-01-23 14:06:30 -06:00
Gregory Nutt
c027c19dde examples/sotest: Add a test for shared libraries. 2017-01-23 08:23:28 -06:00