blkdiscard: Only build on Linux
authorJames Clarke <jrtc27@jrtc27.com>
Sat, 7 Oct 2017 17:53:19 +0000 (18:53 +0100)
committerDenys Vlasenko <vda.linux@googlemail.com>
Mon, 30 Oct 2017 13:55:01 +0000 (14:55 +0100)
Signed-off-by: James Clarke <jrtc27@jrtc27.com>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
util-linux/blkdiscard.c

index 5863f0aab9133fe1af0265a0a2a1d61360741940..e4902e5b5ba12973a7ac3c5122b6b6741dab5e2a 100644 (file)
@@ -8,6 +8,7 @@
 //config:config BLKDISCARD
 //config:      bool "blkdiscard (5.3 kb)"
 //config:      default y
+//config:      select PLATFORM_LINUX
 //config:      help
 //config:      blkdiscard discards sectors on a given device.