]> git.proxmox.com Git - mirror_zfs.git/commit - module/Makefile.bsd
Prefix zfs internal endian checks with _ZFS
authorMatthew Macy <mmacy@freebsd.org>
Tue, 28 Jul 2020 20:02:49 +0000 (13:02 -0700)
committerGitHub <noreply@github.com>
Tue, 28 Jul 2020 20:02:49 +0000 (13:02 -0700)
commit5678d3f59389a241c8d9c032513c38209bb53e70
treeb25aa376cb42cc0bb173ab1250e27dccc98b4de7
parent3eabed74c0fca5dd9f96d2cca13c4a1a16d5c094
Prefix zfs internal endian checks with _ZFS

FreeBSD defines _BIG_ENDIAN BIG_ENDIAN _LITTLE_ENDIAN
LITTLE_ENDIAN on every architecture. Trying to do
cross builds whilst hiding this from ZFS has proven
extremely cumbersome.

Reviewed-by: Ryan Moeller <ryan@ixsystems.com>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Matt Macy <mmacy@FreeBSD.org>
Closes #10621
23 files changed:
config/Rules.am
include/os/freebsd/spl/sys/Makefile.am
include/os/freebsd/spl/sys/byteorder.h
include/os/freebsd/spl/sys/endian.h [deleted file]
include/os/freebsd/spl/sys/isa_defs.h
include/os/linux/spl/sys/byteorder.h
include/os/linux/spl/sys/isa_defs.h
include/sys/spa.h
lib/libspl/include/os/freebsd/sys/byteorder.h
lib/libspl/include/os/freebsd/sys/zfs_context_os.h
lib/libspl/include/os/linux/sys/byteorder.h
lib/libspl/include/sys/isa_defs.h
module/Makefile.bsd
module/icp/algs/aes/aes_impl_generic.c
module/icp/algs/edonr/edonr_byteorder.h
module/icp/algs/modes/ccm.c
module/icp/algs/sha1/sha1.c
module/icp/algs/sha2/sha2.c
module/icp/algs/skein/skein_port.h
module/nvpair/nvpair.c
module/unicode/uconv.c
module/zfs/lz4.c
module/zfs/vdev_raidz_math_powerpc_altivec.c