aboutsummaryrefslogtreecommitdiffstats
path: root/android-configure.sh
diff options
context:
space:
mode:
authorDavid 'Digit' Turner <digit@android.com>2010-05-10 23:47:54 -0700
committerDavid 'Digit' Turner <digit@android.com>2010-05-11 17:59:35 -0700
commitfd3b1a0e32964436a5259e073857e0c4e2110122 (patch)
tree6cd005834ebeabf4a46e7b2ec8c65a51c18f0a61 /android-configure.sh
parent9251866320b5f8329a043bb56b3a794f78d12849 (diff)
downloadexternal_qemu-fd3b1a0e32964436a5259e073857e0c4e2110122.zip
external_qemu-fd3b1a0e32964436a5259e073857e0c4e2110122.tar.gz
external_qemu-fd3b1a0e32964436a5259e073857e0c4e2110122.tar.bz2
Upstream: add qemu_fdatasync()
Change-Id: I232b9c4df372e1fded97694fffcd72ef9ea113c4
Diffstat (limited to 'android-configure.sh')
-rwxr-xr-xandroid-configure.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/android-configure.sh b/android-configure.sh
index 7a23954..0e95e04 100755
--- a/android-configure.sh
+++ b/android-configure.sh
@@ -419,6 +419,14 @@ echo "#define CONFIG_GDBSTUB 1" >> $config_h
echo "#define CONFIG_SLIRP 1" >> $config_h
echo "#define CONFIG_SKINS 1" >> $config_h
echo "#define CONFIG_TRACE 1" >> $config_h
+
+# only Linux has fdatasync()
+case "$OS" in
+ linux-*)
+ echo "#define CONFIG_FDATASYNC 1" >> $config_h
+ ;;
+esac
+
# the -nand-limits options can only work on non-windows systems
if [ "$OS" != "windows" ] ; then
echo "#define CONFIG_NAND_LIMITS 1" >> $config_h