summaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
authorMenon, Nishanth <x0nishan@ti.com>2008-05-12 15:59:48 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2008-05-12 15:59:48 +0200
commitb9655280e2f48cc6d095134ce4c00914659d01e6 (patch)
treef2c28d29ed6e77eb78f0a15f779c4fa8aa288b7f /fs
parentd0054356090f0b55e22c28af2bef3f71e0cee1e7 (diff)
downloadbarebox-b9655280e2f48cc6d095134ce4c00914659d01e6.tar.gz
barebox-b9655280e2f48cc6d095134ce4c00914659d01e6.tar.xz
This is Kconfig cleanup patch (not all configurations will use CFI, SPI, RAMFS and DEVFS).
* Enable CFI and SPI drivers menuconfig option to be able to disable them in menuconfig. * Introduce capability to disable ramfs and devfs.
Diffstat (limited to 'fs')
-rw-r--r--fs/Kconfig10
-rw-r--r--fs/Makefile4
2 files changed, 12 insertions, 2 deletions
diff --git a/fs/Kconfig b/fs/Kconfig
index 43135e28db..3e9de96fad 100644
--- a/fs/Kconfig
+++ b/fs/Kconfig
@@ -6,4 +6,14 @@ config FS_CRAMFS
select ZLIB
prompt "cramfs support"
+config FS_RAMFS
+ bool
+ default y
+ prompt "ramfs support"
+
+config FS_DEVFS
+ bool
+ default y
+ prompt "devfs support"
+
endmenu
diff --git a/fs/Makefile b/fs/Makefile
index 57268cc700..228af6eb2d 100644
--- a/fs/Makefile
+++ b/fs/Makefile
@@ -1,4 +1,4 @@
obj-$(CONFIG_FS_CRAMFS) += cramfs/
+obj-$(CONFIG_FS_RAMFS) += ramfs.o
+obj-$(CONFIG_FS_DEVFS) += devfs.o
obj-y += fs.o
-obj-y += ramfs.o
-obj-y += devfs.o