9
0
Fork 0
nuttx-bb/apps/builtin
Gregory Nutt 36c809cf02 apps/builtin: better fix for building with parallel make
Build-server sometimes fails 'make -j24' with:

 In file included from builtin_list.c:62:0:
 builtin_list.h:1:46: error: 'ts_engine_main' undeclared here (not in a function)
  { "ts_engine", SCHED_PRIORITY_DEFAULT, 2048, ts_engine_main },

or sometimes silently succeeds but generates builds that contain
a random subset of configured NuttX applications. There are two
root causes for this:

1) Recipes for building builtin_list.h and builtin_proto.h are not
   linearizable.
2) Nothing ensures that 'make context' is run first for apps/builtin

This patch addresses both issues.

Signed-off-by: Juha Niskanen <juha.niskanen@haltian.com>
2015-02-03 08:24:24 -06:00
..
registry Add an install target to all makefiles. For the import build, the top-level Makefile now does two passes: (1) builds libapp.a, then (2) installs the programs (not yet finished) 2014-09-06 08:00:47 -06:00
.gitignore .dSYM only needs to be in the same .gitignore files as .exe 2013-05-30 15:02:04 -06:00
Kconfig Rename apps/include/apps.h to builtin.h. Move parts of apps/builtins/exec_builtin.c to binfmt/libbuiltin/libbuiltin_utils.c 2013-01-16 17:05:00 +00:00
Make.defs Rename namedapp as simply builtin 2012-12-23 20:22:41 +00:00
Makefile apps/builtin: better fix for building with parallel make 2015-02-03 08:24:24 -06:00
builtin.c Add logic to automatically unload module on exit; Several patches from Mike Smith 2013-01-17 14:43:55 +00:00
builtin_list.c NSH will now run files from the file system; Add logic to unload and clean-up after running a task from a file system; Extensions to builtin apps from Mike Smith 2013-01-17 18:32:13 +00:00
exec_builtin.c More trailing whilespace removal 2014-04-13 16:24:28 -06:00