mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2026-01-02 21:25:03 +00:00
You can now enable/disable tasks more easily. To conditionally compile a C file depending on the task FOO activation, just write something like that in the build.mk file : common-$(CONFIG_TASK_FOO)+=foo_source.o Signed-off-by: Vincent Palatin <vpalatin@chromium.org> BUG=None TEST=make all BOARD=link && make qemu-tests Change-Id: I760fb248e1599d13190ccd937a68ef47da17b510
14 lines
357 B
Plaintext
14 lines
357 B
Plaintext
|
|
/**
|
|
* List of enabled tasks in the priority order
|
|
*
|
|
* The first one has the lowest priority.
|
|
*/
|
|
#define CONFIG_TASK_LIST \
|
|
TASK(WATCHDOG, watchdog_task, NULL) \
|
|
TASK(CONSOLE, console_task, NULL) \
|
|
TASK(TESTA, TaskAbc, (void *)'A') \
|
|
TASK(TESTB, TaskAbc, (void *)'B') \
|
|
TASK(TESTC, TaskAbc, (void *)'C') \
|
|
TASK(TESTT, TaskTick, (void *)'T')
|