rtos: Add support for Zephyr RTOS
[fw/openocd] / src / rtos / Makefile.am
1 noinst_LTLIBRARIES += %D%/librtos.la
2 %C%_librtos_la_SOURCES = \
3         %D%/rtos.c \
4         %D%/rtos_standard_stackings.c \
5         %D%/rtos_ecos_stackings.c  \
6         %D%/rtos_chibios_stackings.c \
7         %D%/rtos_embkernel_stackings.c \
8         %D%/rtos_mqx_stackings.c \
9         %D%/rtos_ucos_iii_stackings.c \
10         %D%/rtos_riot_stackings.c \
11         %D%/FreeRTOS.c \
12         %D%/ThreadX.c \
13         %D%/eCos.c \
14         %D%/linux.c \
15         %D%/chibios.c \
16         %D%/chromium-ec.c \
17         %D%/embKernel.c \
18         %D%/mqx.c \
19         %D%/uCOS-III.c \
20         %D%/nuttx.c \
21         %D%/hwthread.c \
22         %D%/zephyr.c \
23         %D%/riot.c \
24         %D%/rtos.h \
25         %D%/rtos_standard_stackings.h \
26         %D%/rtos_ecos_stackings.h \
27         %D%/linux_header.h \
28         %D%/rtos_chibios_stackings.h \
29         %D%/rtos_embkernel_stackings.h \
30         %D%/rtos_mqx_stackings.h \
31         %D%/rtos_riot_stackings.h \
32         %D%/rtos_ucos_iii_stackings.h \
33         %D%/nuttx_header.h
34
35 %C%_librtos_la_CFLAGS = $(AM_CFLAGS)
36
37 if IS_MINGW
38 # FD_* macros are sloppy with their signs on MinGW32 platform
39 %C%_librtos_la_CFLAGS += -Wno-sign-compare
40 endif