Closed terrycmchan closed 5 years ago
It is defined in the same Kbuild file. Line 1358:
#Endianess selection
ifeq ($(CONFIG_LITTLE_ENDIAN), 1)
AH_LITTLE_ENDIAN=1234
CDEFINES += -DAH_BYTE_ORDER=$(AH_LITTLE_ENDIAN)
else
AH_BIG_ENDIAN=4321
CDEFINES += -DAH_BYTE_ORDER=$(AH_BIG_ENDIAN)
CDEFINES += -DBIG_ENDIAN_HOST
endif
Does this answer your question?
Hi,
I would like to know what is the settings of the compilation for BIG ENDIAN platform. I set: CONFIG_LITTLE_ENDIAN := 0 ANI_BIG_BYTE_ENDIAN