equal
deleted
inserted
replaced
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 |