[PATCH 0/6] Add cross-compilation support for android

Theodore Ts'o
2015-07-26T12:21:10Z

As part of my efforts to port xfstests so it can be used in an Android
runtime environment (where running fsstress by hand seems to be the
state-of-the-art in file system QA), I needed to make the following
changes to xfsprogs so it can be built using cross compilation using
Android's bionic C library. Fortunately given XFS's Irix roots, the
number of glibc'isms that have kept in was relatively small.

Theodore Ts'o (6):
xfsprogs: define NBBY if not defined by the system header files
xfsprogs: pull in libgen.h to get prototype for basename()
xfsprogs: define and use BUILD_CC in configure.ac for cross
compilation
xfsprogs: avoid use of si_tid in struct xlog_split_item
xfsprogs: use "unsigned short" instead of ushort
xfsprogs: add missing include of <stat.h>

configure.ac | 8 ++++++++
include/builddefs.in | 1 +
include/platform_defs.h.in | 5 +++++
include/xfs_inode_buf.h | 4 ++--
include/xfs_log_format.h | 4 ++--
include/xfs_log_recover.h | 2 +-
libdisk/evms.c | 1 +
libxfs/Makefile | 4 ++--
libxfs/logitem.c | 2 +-
libxfs/xfs_ialloc.c | 4 ++--
logprint/log_misc.c | 8 ++++----
11 files changed, 29 insertions(+), 14 deletions(-)

--
2.3.0