fs: fat: Build only if CONFIG_FS_FAT=y
authorIsmael Luceno Cortes <ismael.luceno@silicon-gears.com>
Mon, 15 Apr 2019 11:19:15 +0000 (11:19 +0000)
committerTom Rini <trini@konsulko.com>
Fri, 26 Apr 2019 21:53:16 +0000 (17:53 -0400)
Signed-off-by: Ismael Luceno <ismael.luceno@silicon-gears.com>
fs/Makefile

index 10c735ad434b26630ca962b3f42d50435a362069..2ed4aeac0e5665df07545cd97c448520ddde59ac 100644 (file)
@@ -15,7 +15,7 @@ obj-$(CONFIG_FS_BTRFS) += btrfs/
 obj-$(CONFIG_FS_CBFS) += cbfs/
 obj-$(CONFIG_CMD_CRAMFS) += cramfs/
 obj-$(CONFIG_FS_EXT4) += ext4/
-obj-y += fat/
+obj-$(CONFIG_FS_FAT) += fat/
 obj-$(CONFIG_FS_JFFS2) += jffs2/
 obj-$(CONFIG_CMD_REISER) += reiserfs/
 obj-$(CONFIG_SANDBOX) += sandbox/