8devices / qcacld-2.0

Drivers for BLUE bean and RED bean modules
8 stars 13 forks source link

Configuration of compilation for BIG ENDIAN platform #8

Closed terrycmchan closed 5 years ago

terrycmchan commented 5 years ago

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

Nevinskas commented 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?