diff options
author | Tien Fong Chee <tien.fong.chee@intel.com> | 2019-01-23 14:20:04 +0800 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2019-02-01 09:12:48 -0500 |
commit | d8c3ea99826f652efa5e8843f7fb98dfd6f8d194 (patch) | |
tree | fd2bd53b220ed436d9e2641edc5ab9188759fd34 /fs/fat/Makefile | |
parent | 0c3a9ed409a5efac27df762acb2af6271675b07d (diff) |
spl: fat/fs: Add option to include/exclude FAT write build in SPL
Most of the time SPL only needs very simple FAT reading, so having
CONFIG_IS_ENABLED(FAT_WRITE) to exclude it from SPL build would help
to save 64KiB default max clustersize from memory.
Signed-off-by: Tien Fong Chee <tien.fong.chee@intel.com>
Reviewed-by: Simon Goldschmidt <simon.k.r.goldschmidt@gmail.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'fs/fat/Makefile')
-rw-r--r-- | fs/fat/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/fat/Makefile b/fs/fat/Makefile index e64b61a0b4..f84efaccc7 100644 --- a/fs/fat/Makefile +++ b/fs/fat/Makefile @@ -1,5 +1,5 @@ # SPDX-License-Identifier: GPL-2.0+ # -obj-$(CONFIG_FS_FAT) := fat.o -obj-$(CONFIG_FAT_WRITE):= fat_write.o +obj-$(CONFIG_$(SPL_)FS_FAT) = fat.o +obj-$(CONFIG_$(SPL_)FAT_WRITE) = fat_write.o |