configure
changeset 81 9ea761516104
parent 77 7b552428b48a
child 91 ed2612282988
equal deleted inserted replaced
80:37354e408645 81:9ea761516104
   393 	fi
   393 	fi
   394 fi
   394 fi
   395 
   395 
   396 if [ "$SUB_TARGET" = "hcs12" ]; then
   396 if [ "$SUB_TARGET" = "hcs12" ]; then
   397 	# Only if we want to compile for a µC HCS12
   397 	# Only if we want to compile for a µC HCS12
       
   398        # it is a big endian architecture.
       
   399        CANOPEN_BIG_ENDIAN=1
   398 	# search for gcc hcs12 compiler m6811-elf-gcc or m68hc12-gcc ?
   400 	# search for gcc hcs12 compiler m6811-elf-gcc or m68hc12-gcc ?
   399 	if [ "$CC" = "" ]; then
   401 	if [ "$CC" = "" ]; then
   400 		which m6811-elf-gcc >/dev/null 2>&1
   402 		which m6811-elf-gcc >/dev/null 2>&1
   401 		if (( $? )); then 
   403 		if (( $? )); then 
   402 			which m68hc12-gcc >/dev/null 2>&1
   404 			which m68hc12-gcc >/dev/null 2>&1