Android: Enable zoned block device support
authorBart Van Assche <bvanassche@acm.org>
Mon, 7 Nov 2022 19:14:34 +0000 (11:14 -0800)
committerBart Van Assche <bvanassche@acm.org>
Mon, 7 Nov 2022 22:46:26 +0000 (14:46 -0800)
Enable support for --zonemode=zbd on Android.

Signed-off-by: Bart Van Assche <bvanassche@acm.org>
configure

index 24c599a8d6b962adee2d4648b1b3576a5f83cde1..30bf5acbb024d729f39130396f115370632f99ff 100755 (executable)
--- a/configure
+++ b/configure
@@ -2561,7 +2561,7 @@ if compile_prog "" "" "valgrind_dev"; then
 fi
 print_config "Valgrind headers" "$valgrind_dev"
 
-if test "$targetos" = "Linux" ; then
+if test "$targetos" = "Linux" || test "$targetos" = "Android"; then
 ##########################################
 # <linux/blkzoned.h> probe
 if test "$linux_blkzoned" != "yes" ; then