The Kconfig edits and Makefiles required for AXFS.

Signed-off-by: Jared Hulbert <[EMAIL PROTECTED]>
---
diff --git a/fs/Kconfig b/fs/Kconfig
index d387358..02d5f48 100644
--- a/fs/Kconfig
+++ b/fs/Kconfig
@@ -1033,6 +1033,26 @@ config AFFS_FS
          To compile this file system support as a module, choose M here: the
          module will be called affs.  If unsure, say N.
 
+config AXFS
+       tristate "Advanced XIP File System (AXFS) support (EXPERIMENTAL)"
+       select FS_XIP
+       select ZLIB_INFLATE
+       default n
+       help
+         The Advanced XIP File System or (AXFS) is a highly compressed
+         readonly filesystem like cramfs or squashfs.  It also can be
+         configured to store individual pages of files compressed or
+         uncompressed as XIP pages.  This allows for faster boot up and
+         application launch time with a smaller memory footprint.
+
+config AXFS_PROFILING
+       bool "Profiling extensions for AXFS (EXPERIMENTAL)"
+       depends on AXFS
+       default n
+       help
+         Profiling tooling used to identify what pages in the filesystem
+         image are actually accessed and how much.
+
 config ECRYPT_FS
        tristate "eCrypt filesystem layer support (EXPERIMENTAL)"
        depends on EXPERIMENTAL && KEYS && CRYPTO && NET
diff --git a/fs/Makefile b/fs/Makefile
index a1482a5..8636019 100644
--- a/fs/Makefile
+++ b/fs/Makefile
@@ -74,6 +74,7 @@ obj-$(CONFIG_JBD)             += jbd/
 obj-$(CONFIG_JBD2)             += jbd2/
 obj-$(CONFIG_EXT2_FS)          += ext2/
 obj-$(CONFIG_CRAMFS)           += cramfs/
+obj-$(CONFIG_AXFS)             += axfs/
 obj-y                          += ramfs/
 obj-$(CONFIG_HUGETLBFS)                += hugetlbfs/
 obj-$(CONFIG_CODA_FS)          += coda/
diff --git a/fs/axfs/Makefile b/fs/axfs/Makefile
new file mode 100644
index 0000000..4c40e13
--- /dev/null
+++ b/fs/axfs/Makefile
@@ -0,0 +1,7 @@
+#
+# Makefile for the linux axfs routines
+#
+
+obj-$(CONFIG_AXFS) += axfs.o
+
+axfs-objs := axfs_inode.o axfs_super.o axfs_uncompress.o axfs_profiling.o 
axfs_uml.o axfs_mtd.o axfs_bdev.o


--
To unsubscribe from this list: send the line "unsubscribe linux-embedded" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to