mirror of
https://github.com/apache/nuttx-apps.git
synced 2025-07-06 20:00:45 +08:00

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>