configure
changeset 31 a82b70738e5c
parent 27 c16a00df5621
child 32 8afa33692372
equal deleted inserted replaced
30:a5dd050b28cb 31:a82b70738e5c
   129 		echo	"		\"unix\" for unix-like systems"
   129 		echo	"		\"unix\" for unix-like systems"
   130 		echo	"		\"win32\" for win32 systems"
   130 		echo	"		\"win32\" for win32 systems"
   131 		echo	"		\"hcs12\" for HCS12 micro-controller"
   131 		echo	"		\"hcs12\" for HCS12 micro-controller"
   132 		echo	"		\"ecos_lpc2138_sja1000\" for eCOS + Philips ARM LPC21381 + Philips SJA1000" 
   132 		echo	"		\"ecos_lpc2138_sja1000\" for eCOS + Philips ARM LPC21381 + Philips SJA1000" 
   133 		echo 	" --can=foo	Use 'foo' as CAN driver (can be either 'peak', 'lincan' or 'virtual')"
   133 		echo 	" --can=foo	Use 'foo' as CAN driver (can be either 'peak', 'lincan' or 'virtual')"
   134 		echo 	" --timers=foo	Use 'foo' as TIMERS driver (can be either 'unix' or 'xenomai')"
   134 		echo 	" --timers=foo	Use 'foo' as TIMERS driver (can be either 'unix' or 'xeno')"
   135 		echo	" --led=foo	Use 'foo' as DS-305 LED driver (use 'none' to disable or 'stdout')"
   135 		echo	" --led=foo	Use 'foo' as DS-305 LED driver (use 'none' to disable or 'stdout')"
   136 		echo	" --nvram=foo	Use 'foo' as NVRAM driver (use 'none' to disable or 'file')"
   136 		echo	" --nvram=foo	Use 'foo' as NVRAM driver (use 'none' to disable or 'file')"
   137 		echo	" --disable-Ox	Disable gcc \"-Ox\" optimizations."
   137 		echo	" --disable-Ox	Disable gcc \"-Ox\" optimizations."
   138 		echo	" --enable-jaxe	Enable \"jaxe\" installation."
   138 		echo	" --enable-jaxe	Enable \"jaxe\" installation."
   139 		echo	" --debug	Enable debug messages."
   139 		echo	" --debug	Enable debug messages."
   448 
   448 
   449 
   449 
   450 #### CAN_DRIVER ####
   450 #### CAN_DRIVER ####
   451 
   451 
   452 if [ "$SUB_CAN_DRIVER" = "peak" ]; then
   452 if [ "$SUB_CAN_DRIVER" = "peak" ]; then
       
   453     if [ "$SUB_TIMERS_DRIVER" = "xeno" ]; then
       
   454     	SUB_EXE_CFLAGS=$SUB_EXE_CFLAGS\ -lrtdm
       
   455     fi
   453 	SUB_EXE_CFLAGS=$SUB_EXE_CFLAGS\ -lpcan
   456 	SUB_EXE_CFLAGS=$SUB_EXE_CFLAGS\ -lpcan
   454 fi
   457 fi
   455 
   458 
   456 if [ "$SUB_CAN_DRIVER" = "none" ]; then
   459 if [ "$SUB_CAN_DRIVER" = "none" ]; then
   457 	SUB_CAN_DRIVER=
   460 	SUB_CAN_DRIVER=