README: quick note on how to cross compile
authorAaron Carroll <aaronc@cse.unsw.edu.au>
Mon, 15 Apr 2013 06:41:41 +0000 (08:41 +0200)
committerJens Axboe <axboe@kernel.dk>
Mon, 15 Apr 2013 06:41:41 +0000 (08:41 +0200)
Signed-off-by: Aaron Carroll <aaronc@cse.unsw.edu.au>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
README

diff --git a/README b/README
index 7df6306bd424d2e4492d31b93d094137d6a242db..3782570ec2de9f71475f360e571861310252657c 100644 (file)
--- a/README
+++ b/README
@@ -96,6 +96,11 @@ For gfio, you need gtk 2.18 or newer and associated glib threads
 and cairo. gfio isn't built automatically, it needs to be enabled
 with a --enable-gfio option to configure.
 
 and cairo. gfio isn't built automatically, it needs to be enabled
 with a --enable-gfio option to configure.
 
+To build FIO with a cross-compiler:
+ $ make clean
+ $ make CROSS_COMPILE=/path/to/toolchain/prefix
+Configure will attempt to determine the target platform automatically.
+
 
 Windows
 -------
 
 Windows
 -------