X-Git-Url: http://rtime.felk.cvut.cz/gitweb/lincan.git/blobdiff_plain/1a22ac61861ab5e4ab8cde38503832fbc8fbc818..2827b727d2910a3b48f9de7d67b3a67f59e256c7:/lincan/utils/Makefile.omk diff --git a/lincan/utils/Makefile.omk b/lincan/utils/Makefile.omk index cdfaf52..32409d7 100644 --- a/lincan/utils/Makefile.omk +++ b/lincan/utils/Makefile.omk @@ -1,3 +1,7 @@ +default_CONFIG = CONFIG_OC_LINCAN=x CONFIG_OC_LINCANRTL=x + +ifeq ($(CONFIG_OC_LINCAN),y) + INCLUDES = -I $(srcdir)/../include utils_PROGRAMS = readburst sendburst rxtx send can_proxy @@ -10,8 +14,14 @@ can_proxy_SOURCES = can-proxy.c # RT-Linux version of build +ifeq ($(CONFIG_OC_LINCANRTL),y) + rtlinux_MODULES = sendburst_rtl readburst_rtl sendburst_rtl_SOURCES = sendburst_rtl.c readburst_rtl_SOURCES = readburst_rtl.c + +endif #CONFIG_OC_LINCANRTL +endif #CONFIG_OC_LINCAN +