From 8f159b8ed1ae5ae353bb33dba4008a48a8b51a82 Mon Sep 17 00:00:00 2001 From: Ismael Luceno Cortes Date: Mon, 15 Apr 2019 11:19:15 +0000 Subject: [PATCH] fs: fat: Build only if CONFIG_FS_FAT=y Signed-off-by: Ismael Luceno --- fs/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/Makefile b/fs/Makefile index 10c735ad43..2ed4aeac0e 100644 --- a/fs/Makefile +++ b/fs/Makefile @@ -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/ -- 2.39.5