hcs12 is big_endian
authorfrdupin
Mon, 29 Jan 2007 15:39:20 +0100
changeset 81 9ea761516104
parent 80 37354e408645
child 82 81505425b1e5
hcs12 is big_endian
configure
--- a/configure	Mon Jan 29 14:42:32 2007 +0100
+++ b/configure	Mon Jan 29 15:39:20 2007 +0100
@@ -395,6 +395,8 @@
 
 if [ "$SUB_TARGET" = "hcs12" ]; then
 	# Only if we want to compile for a µC HCS12
+       # it is a big endian architecture.
+       CANOPEN_BIG_ENDIAN=1
 	# search for gcc hcs12 compiler m6811-elf-gcc or m68hc12-gcc ?
 	if [ "$CC" = "" ]; then
 		which m6811-elf-gcc >/dev/null 2>&1