equal
deleted
inserted
replaced
88 test=conftest |
88 test=conftest |
89 rm -f $test $test.c |
89 rm -f $test $test.c |
90 |
90 |
91 if [ "$XENO_CONFIG" = "" ]; then |
91 if [ "$XENO_CONFIG" = "" ]; then |
92 XENO_CONFIG=/usr/xenomai/bin/xeno-config |
92 XENO_CONFIG=/usr/xenomai/bin/xeno-config |
|
93 fi |
|
94 |
|
95 if [ "$RTAI_CONFIG" = "" ]; then |
|
96 RTAI_CONFIG=/usr/realtime/bin/rtai-config |
93 fi |
97 fi |
94 |
98 |
95 ########################################################################### |
99 ########################################################################### |
96 # ARGUMENTS PARSING # |
100 # ARGUMENTS PARSING # |
97 ########################################################################### |
101 ########################################################################### |
424 fi |
428 fi |
425 |
429 |
426 if [ "$SUB_TIMERS_DRIVER" = "xeno" ]; then |
430 if [ "$SUB_TIMERS_DRIVER" = "xeno" ]; then |
427 RT_LIB_DIR=`$XENO_CONFIG --library-dir`\ -Wl,-rpath\ `$XENO_CONFIG --library-dir` |
431 RT_LIB_DIR=`$XENO_CONFIG --library-dir`\ -Wl,-rpath\ `$XENO_CONFIG --library-dir` |
428 SUB_EXE_CFLAGS=$SUB_EXE_CFLAGS\ `$XENO_CONFIG --xeno-ldflags`\ -L$RT_LIB_DIR\ -lnative\ -lrtdm |
432 SUB_EXE_CFLAGS=$SUB_EXE_CFLAGS\ `$XENO_CONFIG --xeno-ldflags`\ -L$RT_LIB_DIR\ -lnative\ -lrtdm |
429 SUB_PROG_CFLAGS=$SUB_PROG_CFLAGS\ `$XENO_CONFIG --xeno-cflags` |
433 SUB_PROG_CFLAGS=$SUB_PROG_CFLAGS\ -DUSE_XENO\ `$XENO_CONFIG --xeno-cflags` |
|
434 RTCAN_SOCKET=1 |
|
435 fi |
|
436 |
|
437 if [ "$SUB_TIMERS_DRIVER" = "rtai" ]; then |
|
438 RT_LIB_DIR=`$RTAI_CONFIG --library-dir`\ -Wl,-rpath\ `$RTAI_CONFIG --library-dir` |
|
439 SUB_EXE_CFLAGS=$SUB_EXE_CFLAGS\ `$RTAI_CONFIG --lxrt-ldflags`\ -L$RT_LIB_DIR\ -llxrt\ -lrtdm |
|
440 SUB_PROG_CFLAGS=$SUB_PROG_CFLAGS\ -DUSE_RTAI\ `$RTAI_CONFIG --lxrt-cflags` |
430 RTCAN_SOCKET=1 |
441 RTCAN_SOCKET=1 |
431 fi |
442 fi |
432 |
443 |
433 if [ "$SUB_TIMERS_DRIVER" = "kernel" ]; then |
444 if [ "$SUB_TIMERS_DRIVER" = "kernel" ]; then |
434 DISABLE_DLL=1 |
445 DISABLE_DLL=1 |