summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
authorRamesh Thomas <ramesh.thomas@intel.com>2016-06-03 13:42:45 -0700
committerAndrew Boie <andrew.p.boie@intel.com>2016-07-29 19:12:43 +0000
commit6eb103ec7d32a59082610a7a5164a0056cce1cde (patch)
tree9693c2996c40149db5d34309e8d1ec6ee93ed9d7 /ext
parent0766d3b9217e1e19c3ac9260b3444a54725a99dc (diff)
fs: Update FatFs Kconfig names
Modified the Kconfig flag names to identify external FS with source. This is required to differentiate between additional external Fat FS code tht may be added in future. Jira: ZEP-285 Change-Id: Ief4d11f57494fa1f7ba234182b8b922bc82575cc Signed-off-by: Ramesh Thomas <ramesh.thomas@intel.com>
Diffstat (limited to 'ext')
-rw-r--r--ext/fs/Kbuild2
-rw-r--r--ext/fs/fat/Kbuild4
-rw-r--r--ext/fs/fat/Kconfig11
-rw-r--r--ext/fs/fat/Makefile2
4 files changed, 10 insertions, 9 deletions
diff --git a/ext/fs/Kbuild b/ext/fs/Kbuild
index f002bf4a8..85eab603e 100644
--- a/ext/fs/Kbuild
+++ b/ext/fs/Kbuild
@@ -1 +1 @@
-obj-$(CONFIG_FAT_FILESYSTEM) += fat/
+obj-$(CONFIG_FAT_FILESYSTEM_ELM) += fat/
diff --git a/ext/fs/fat/Kbuild b/ext/fs/fat/Kbuild
index 2fcfdbc45..a1873faa9 100644
--- a/ext/fs/fat/Kbuild
+++ b/ext/fs/fat/Kbuild
@@ -1,2 +1,2 @@
-obj-$(CONFIG_FAT_FILESYSTEM) += ff.o
-obj-$(CONFIG_FAT_FILESYSTEM) += diskio.o
+obj-$(CONFIG_FAT_FILESYSTEM_ELM) += ff.o
+obj-$(CONFIG_FAT_FILESYSTEM_ELM) += diskio.o
diff --git a/ext/fs/fat/Kconfig b/ext/fs/fat/Kconfig
index 33cc0e060..1c77405f9 100644
--- a/ext/fs/fat/Kconfig
+++ b/ext/fs/fat/Kconfig
@@ -1,6 +1,7 @@
-config FAT_FILESYSTEM
- bool "Enable FAT File System"
- default n
- help
- Enable FAT File system.
+config FAT_FILESYSTEM_ELM
+ bool "ELM FAT File System"
+ depends on FILE_SYSTEM_FAT
+ default y
+ help
+ Use the ELM FAT File system implementation.
diff --git a/ext/fs/fat/Makefile b/ext/fs/fat/Makefile
index abb1269e2..ab9fdd5d0 100644
--- a/ext/fs/fat/Makefile
+++ b/ext/fs/fat/Makefile
@@ -1,3 +1,3 @@
-ifdef CONFIG_FAT_FILESYSTEM
+ifdef CONFIG_FAT_FILESYSTEM_ELM
ZEPHYRINCLUDE += -I$(srctree)/ext/fs/fat/include
endif