diff options
author | Jonathan Gray <jsg@jsg.id.au> | 2016-11-26 04:18:00 (GMT) |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2016-12-03 02:32:38 (GMT) |
commit | fd184b9c8003811d797dfc64af6375ecb43cc79d (patch) | |
tree | 18ac691ecb3f3d54be9dc2b524c7737b0af5e8a6 /arch/sh/cpu/sh4/watchdog.c | |
parent | 7e0b87c91ab252515e419b7718606316b0319de8 (diff) | |
download | u-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 'arch/sh/cpu/sh4/watchdog.c')
0 files changed, 0 insertions, 0 deletions