equal
deleted
inserted
replaced
451 |
451 |
452 if [ "$SUB_CAN_DRIVER" = "peak" ]; then |
452 if [ "$SUB_CAN_DRIVER" = "peak" ]; then |
453 if [ "$SUB_TIMERS_DRIVER" = "xeno" ]; then |
453 if [ "$SUB_TIMERS_DRIVER" = "xeno" ]; then |
454 SUB_EXE_CFLAGS=$SUB_EXE_CFLAGS\ -lrtdm |
454 SUB_EXE_CFLAGS=$SUB_EXE_CFLAGS\ -lrtdm |
455 fi |
455 fi |
456 SUB_EXE_CFLAGS=$SUB_EXE_CFLAGS\ -lpcan |
456 SUB_EXE_CFLAGS=$SUB_EXE_CFLAGS\ -lpcan |
457 fi |
457 fi |
458 |
458 |
459 if [ "$SUB_CAN_DRIVER" = "none" ]; then |
459 if [ "$SUB_CAN_DRIVER" = "none" ]; then |
460 SUB_CAN_DRIVER= |
460 SUB_CAN_DRIVER= |
461 fi |
461 fi |
462 |
462 |
463 #### TIMERS_DRIVER #### |
463 #### TIMERS_DRIVER #### |
464 |
464 |
465 if [ "$SUB_TIMERS_DRIVER" = "unix" ]; then |
465 if [ "$SUB_TIMERS_DRIVER" = "unix" ]; then |
466 SUB_EXE_CFLAGS=$SUB_EXE_CFLAGS\ -lpthread |
466 SUB_EXE_CFLAGS=$SUB_EXE_CFLAGS\ -lpthread\ -lrt |
467 fi |
467 fi |
468 |
468 |
469 if [ "$SUB_TIMERS_DRIVER" = "xeno" ]; then |
469 if [ "$SUB_TIMERS_DRIVER" = "xeno" ]; then |
470 SUB_EXE_CFLAGS=$SUB_EXE_CFLAGS\ -lnative\ |
470 SUB_EXE_CFLAGS=$SUB_EXE_CFLAGS\ -lnative\ |
471 \ -L`$XENO_CONFIG --library-dir` |
471 \ -L`$XENO_CONFIG --library-dir` |