Skip to contentSkip to conversation

AXFS: Kconfig and Makefiles

PATCH In review Jared Hulbert 3 participants 3 messages Aug 21, 2008

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 2/10 AXFS: Kconfig and Makefiles

The Kconfig edits and Makefiles required for AXFS.

---

fs/Kconfig +20 -0
index d387358..02d5f48 100644
@@ -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
fs/Makefile +1 -0
index a1482a5..8636019 100644
@@ -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/
fs/axfs/Makefile new file +7 -0
new file mode 100644
index 0000000..4c40e13
@@ -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
#1 lore raw
Quoted 3 lines · Jared Hulbert

The Kconfig edits and Makefiles required for AXFS.

If you split out this patch separate from the files, please make it the *last* patch so that you cannot get build errors during a later git-bisect through the middle of your series.

	Arnd <><
#2 lore raw
Quoted 8 lines · Arnd Bergmann
Quoted 3 lines · Jared Hulbert

The Kconfig edits and Makefiles required for AXFS.

If you split out this patch separate from the files, please make it the *last* patch so that you cannot get build errors during a later git-bisect through the middle of your series.

And please use axfs-y := foo.o bar.o
as the old axfs-objs := foo.o bar.o ... syntax is deprecated.

[Replying to this mail as I lost the original]

Thanks,

Sam