mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2025-12-28 02:35:28 +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
364 B
Plaintext
14 lines
364 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(TMRA, TaskTimer, (void *)1234) \
|
|
TASK(TMRB, TaskTimer, (void *)5678) \
|
|
TASK(TMRC, TaskTimer, (void *)8462) \
|
|
TASK(TMRD, TaskTimer, (void *)3719)
|