RTAI 5 (which has not been released yet) introduces changes (possibly unintentional) to the API. This commit updates rtapi to use the current API. Signed-off-by: Sebastian Kuzminsky <seb@highlab.com>
37 lines
979 B
Text
37 lines
979 B
Text
# DO NOT EDIT THIS FILE !
|
|
#
|
|
# @configure_input@
|
|
# on @DATE@
|
|
#
|
|
|
|
# A few parameters from emc2/Makefile.inc
|
|
EMC2_HOME=@EMC2_HOME@
|
|
KERNELDIR=@KERNELDIR@
|
|
RTLIB_DIR=@EMC2_RTLIB_DIR@
|
|
MODULE_EXT=@MODEXT@
|
|
RTPREFIX=@RTPREFIX@
|
|
KERNEL_VERS=@KERNEL_VERS@
|
|
|
|
# Sets the default DEBUG level
|
|
DEBUG='1'
|
|
|
|
# Path to the realtime kernel modules
|
|
MODPATH=@MODULE_DIR@
|
|
|
|
# List of realtime kernel modules to be loaded
|
|
if [ "@RTAI@" = "3" ] ; then \
|
|
MODULES="adeos rtai_hal rtai_ksched rtai_fifos rtai_sem rtai_math"
|
|
RTAI=@RTAI@
|
|
MODPATH_adeos=@MODPATH_adeos@
|
|
MODPATH_rtai_hal=@MODPATH_rtai_hal@
|
|
MODPATH_rtai_ksched=@MODPATH_rtai_ksched@
|
|
MODPATH_rtai_fifos=@MODPATH_rtai_fifos@
|
|
MODPATH_rtai_sem=@MODPATH_rtai_sem@
|
|
MODPATH_rtai_math=@MODPATH_rtai_math@
|
|
elif [ "@RTAI@" = "5" ] ; then \
|
|
MODULES="rtai_hal rtai_sched rtai_math"
|
|
RTAI=@RTAI@
|
|
MODPATH_rtai_hal=@MODPATH_rtai_hal@
|
|
MODPATH_rtai_sched=@MODPATH_rtai_sched@
|
|
MODPATH_rtai_math=@MODPATH_rtai_math@
|
|
fi
|