From fbaec83bc0fda4341862cc60ac9796277235e4b9 Mon Sep 17 00:00:00 2001 From: Signed-off-by: Roy Peled Date: Wed, 4 Feb 2009 14:56:54 +0100 Subject: mkfs.cramfs: add endianness support to cramfs tools cramfs is an endianness dependent file system. So far, the cramfs utilities did not support cramfs images of different endianness than the host machine. A separate utility, cramfsswap, was required in order to change the endianness of the image before and after using cramfs utilities. The extra utility introduced extra maintenance and an additional step in the process. This patch adds endianness support to mkfs.cramfs and fsck.cramfs. fsck.cramfs now automatically detects the image endianness, and can work on images of either endianness. mkfs.cramfs now accepts a new optional parameter (-N) that allows creating the cramfs image in either endianness. Signed-off-by: Roy Peled Signed-off-by: Karel Zak --- configure.ac | 1 + 1 file changed, 1 insertion(+) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index 3bbfd5736..35d60e8b5 100644 --- a/configure.ac +++ b/configure.ac @@ -27,6 +27,7 @@ esac AC_PROG_CC_STDC AC_GNU_SOURCE AC_CANONICAL_HOST +AC_C_BIGENDIAN linux_os=no case ${host_os} in -- cgit v1.2.3-55-g7522