summaryrefslogtreecommitdiff
path: root/include/fsl-mc/fsl_mc_sys.h
diff options
context:
space:
mode:
authorJonathan Gray <jsg@jsg.id.au>2016-11-26 04:18:00 (GMT)
committerTom Rini <trini@konsulko.com>2016-12-03 02:32:38 (GMT)
commitfd184b9c8003811d797dfc64af6375ecb43cc79d (patch)
tree18ac691ecb3f3d54be9dc2b524c7737b0af5e8a6 /include/fsl-mc/fsl_mc_sys.h
parent7e0b87c91ab252515e419b7718606316b0319de8 (diff)
downloadu-boot-fsl-qoriq-fd184b9c8003811d797dfc64af6375ecb43cc79d.tar.xz
compiler.h: use u-boot endian macros on OpenBSD
When building u-boot on sparc64 and powerpc hosts it became clear that u-boot expects endian conversion defines to be macros: lib/crc32.c:87: error: braced-group within expression allowed only inside a function For OpenBSD switch from using system definitions equivalent to the u-boot ones and define glibc __BYTE_ORDER __BIG_ENDIAN __LITTLE_ENDIAN names, as at least some parts of the non-cross build assumes those names are present (ie crc32.c). Signed-off-by: Jonathan Gray <jsg@jsg.id.au>
Diffstat (limited to 'include/fsl-mc/fsl_mc_sys.h')
0 files changed, 0 insertions, 0 deletions