Skip to contentSkip to conversation

omfs: update kbuild to include OMFS

PATCH New Bob Copeland 1 participant 1 message Apr 26, 2008

Subsystems (2)
lore
Share & tools
lore

Bob Copeland

author maintainer
#0 lore raw

PATCH 7/8 omfs: update kbuild to include OMFS

Adds OMFS to the fs Kconfig and Makefile

---
 fs/Kconfig       |   13 +++++++++++++
 fs/Makefile      |    1 +
 fs/omfs/Makefile |    4 ++++
 3 files changed, 18 insertions(+)
fs/Kconfig +13 -0
Index: linux-2.6/fs/Kconfig
===================================================================
@@ -1429,6 +1429,19 @@
 	  partition (the one containing the directory /) cannot be compiled as
 	  a module.
 
+config OMFS_FS
+	tristate "SonicBlue Optimized MPEG File System support"
+	depends on BLOCK
+	select CRC_ITU_T
+	help
+	  This is the proprietary file system used by the Rio Karma music
+	  player and ReplayTV DVR.  Despite the name, this filesystem is not
+	  more efficient than a standard FS for MPEG files, in fact likely
+	  the opposite is true.  Say Y if you have either of these devices
+	  and wish to mount its disk.
+
+	  To compile this file system support as a module, choose M here: the
+	  module will be called omfs.  If unsure, say N.
 
 config HPFS_FS
 	tristate "OS/2 HPFS file system support"
fs/omfs/Makefile new file +4 -0
Index: linux-2.6/fs/omfs/Makefile
===================================================================
@@ -0,0 +1,4 @@
+
+obj-$(CONFIG_OMFS_FS) += omfs.o
+
+omfs-y := bitmap.o dir.o file.o inode.o
fs/Makefile +1 -0
Index: linux-2.6/fs/Makefile
===================================================================
@@ -119,3 +119,4 @@
 obj-$(CONFIG_DEBUG_FS)		+= debugfs/
 obj-$(CONFIG_OCFS2_FS)		+= ocfs2/
 obj-$(CONFIG_GFS2_FS)           += gfs2/
+obj-$(CONFIG_OMFS_FS)		+= omfs/