Name
mk_check_endian — Check endianness of system
Synopsis
MODULES="... compiler ..."
Description
Checks the endianness of the current system and sets the variable
ENDIANNESS
to the result ("little" or "big"). If the
result was "big", it also defines WORDS_BIGENDIAN
in
the current config header.
This function will work in cross-compiling configurations.