This patch allows to include and build UBIFS.

Signed-off-by: Renaud Barbier <renaud.barb...@ge.com>
---
 fs/Kconfig        |    4 ++++
 fs/Makefile       |    1 +
 fs/ubifs/Makefile |    9 +++++++++
 3 files changed, 14 insertions(+), 0 deletions(-)
 create mode 100644 fs/ubifs/Makefile

diff --git a/fs/Kconfig b/fs/Kconfig
index 0ab69d7..0e6db4b 100644
--- a/fs/Kconfig
+++ b/fs/Kconfig
@@ -39,6 +39,10 @@ config FS_NFS
        bool
        prompt "nfs support"
 
+config FS_UBIFS
+       bool
+       prompt "ubifs support"
+
 source fs/fat/Kconfig
 
 config PARTITION_NEED_MTD
diff --git a/fs/Makefile b/fs/Makefile
index ad745d9..fba5131 100644
--- a/fs/Makefile
+++ b/fs/Makefile
@@ -2,6 +2,7 @@ obj-$(CONFIG_FS_CRAMFS) += cramfs/
 obj-$(CONFIG_FS_RAMFS) += ramfs.o
 obj-y                  += devfs-core.o
 obj-$(CONFIG_FS_DEVFS) += devfs.o
+obj-$(CONFIG_FS_UBIFS) += ubifs/
 obj-$(CONFIG_FS_FAT)   += fat/
 obj-y  += fs.o
 obj-$(CONFIG_FS_TFTP)  += tftp.o
diff --git a/fs/ubifs/Makefile b/fs/ubifs/Makefile
new file mode 100644
index 0000000..e3d4cfd
--- /dev/null
+++ b/fs/ubifs/Makefile
@@ -0,0 +1,9 @@
+obj-y += ubifs.o
+obj-y += io.o
+obj-y += super.o
+obj-y += sb.o
+obj-y += master.o
+obj-y += lpt.o
+obj-y += lpt_commit.o scan.o lprops.o
+obj-y += tnc.o tnc_misc.o debug.o crc16.o budget.o
+obj-y += log.o orphan.o recovery.o replay.o
-- 
1.7.1


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

Reply via email to