6a78c8581d
Add threads support for RIOT (https://github.com/RIOT-OS/RIOT). Original code is from Daniel Krebs. Change-Id: I83fe3b91dd75949e800b5aea1015d8fa37b09c61 Signed-off-by: Daniel Krebs <github@daniel-krebs.net> Signed-off-by: Vincent Dupont <vincent@otakeys.com> Signed-off-by: Benjamin Valentin <benpicco@googlemail.com> Reviewed-on: http://openocd.zylin.com/4256 Tested-by: jenkins Reviewed-by: Antonio Borneo <borneo.antonio@gmail.com>
40 lines
932 B
Makefile
40 lines
932 B
Makefile
noinst_LTLIBRARIES += %D%/librtos.la
|
|
%C%_librtos_la_SOURCES = \
|
|
%D%/rtos.c \
|
|
%D%/rtos_standard_stackings.c \
|
|
%D%/rtos_ecos_stackings.c \
|
|
%D%/rtos_chibios_stackings.c \
|
|
%D%/rtos_embkernel_stackings.c \
|
|
%D%/rtos_mqx_stackings.c \
|
|
%D%/rtos_ucos_iii_stackings.c \
|
|
%D%/rtos_riot_stackings.c \
|
|
%D%/FreeRTOS.c \
|
|
%D%/ThreadX.c \
|
|
%D%/eCos.c \
|
|
%D%/linux.c \
|
|
%D%/chibios.c \
|
|
%D%/chromium-ec.c \
|
|
%D%/embKernel.c \
|
|
%D%/mqx.c \
|
|
%D%/uCOS-III.c \
|
|
%D%/nuttx.c \
|
|
%D%/hwthread.c \
|
|
%D%/riot.c \
|
|
%D%/rtos.h \
|
|
%D%/rtos_standard_stackings.h \
|
|
%D%/rtos_ecos_stackings.h \
|
|
%D%/linux_header.h \
|
|
%D%/rtos_chibios_stackings.h \
|
|
%D%/rtos_embkernel_stackings.h \
|
|
%D%/rtos_mqx_stackings.h \
|
|
%D%/rtos_riot_stackings.h \
|
|
%D%/rtos_ucos_iii_stackings.h \
|
|
%D%/nuttx_header.h
|
|
|
|
%C%_librtos_la_CFLAGS = $(AM_CFLAGS)
|
|
|
|
if IS_MINGW
|
|
# FD_* macros are sloppy with their signs on MinGW32 platform
|
|
%C%_librtos_la_CFLAGS += -Wno-sign-compare
|
|
endif
|