aboutsummaryrefslogtreecommitdiff
path: root/util-linux/mkfs_vfat.c
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2016-11-16 16:18:50 +0100
committerDenys Vlasenko <vda.linux@googlemail.com>2016-11-16 16:18:50 +0100
commit10880cc20ff424c5443a8fc6b6afa5c59c5ef602 (patch)
tree5f36a6d8872bdeb2e1955a181286ba0483c3160d /util-linux/mkfs_vfat.c
parent0581a2f3041184db1af997305908e211d3e4e34f (diff)
downloadbusybox-w32-10880cc20ff424c5443a8fc6b6afa5c59c5ef602.tar.gz
busybox-w32-10880cc20ff424c5443a8fc6b6afa5c59c5ef602.tar.bz2
busybox-w32-10880cc20ff424c5443a8fc6b6afa5c59c5ef602.zip
Make mkfs.vfat and mkdosfs individually selectable
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'util-linux/mkfs_vfat.c')
-rw-r--r--util-linux/mkfs_vfat.c19
1 files changed, 19 insertions, 0 deletions
diff --git a/util-linux/mkfs_vfat.c b/util-linux/mkfs_vfat.c
index d53c751eb..ab70853a1 100644
--- a/util-linux/mkfs_vfat.c
+++ b/util-linux/mkfs_vfat.c
@@ -7,6 +7,25 @@
7 * 7 *
8 * Licensed under GPLv2, see file LICENSE in this source tree. 8 * Licensed under GPLv2, see file LICENSE in this source tree.
9 */ 9 */
10//config:config MKDOSFS
11//config: bool "mkdosfs"
12//config: default y
13//config: select PLATFORM_LINUX
14//config: help
15//config: Utility to create FAT32 filesystems.
16//config:
17//config:config MKFS_VFAT
18//config: bool "mkfs.vfat"
19//config: default y
20//config: select PLATFORM_LINUX
21//config: help
22//config: Alias to "mkdosfs".
23
24//applet:IF_MKDOSFS(APPLET_ODDNAME(mkdosfs, mkfs_vfat, BB_DIR_SBIN, BB_SUID_DROP, mkfs_vfat))
25//applet:IF_MKFS_VFAT(APPLET_ODDNAME(mkfs.vfat, mkfs_vfat, BB_DIR_SBIN, BB_SUID_DROP, mkfs_vfat))
26
27//kbuild:lib-$(CONFIG_MKDOSFS) += mkfs_vfat.o
28//kbuild:lib-$(CONFIG_MKFS_VFAT) += mkfs_vfat.o
10 29
11//usage:#define mkfs_vfat_trivial_usage 30//usage:#define mkfs_vfat_trivial_usage
12//usage: "[-v] [-n LABEL] BLOCKDEV [KBYTES]" 31//usage: "[-v] [-n LABEL] BLOCKDEV [KBYTES]"