[PATCH 02/10] AXFS: Kconfig and Makefiles

Previous thread: [PATCH 01/10] AXFS: exporting xip_file_fault() for use with AXFS by Jared Hulbert on Thursday, August 21, 2008 - 1:44 am. (4 messages)

Next thread: [PATCH 03/10] AXFS: axfs.h by Jared Hulbert on Thursday, August 21, 2008 - 1:45 am. (11 messages)
To: <Linux-kernel@...>, <linux-embedded@...>, linux-mtd <linux-mtd@...>, Jörn Engel <joern@...>, <tim.bird@...>, <cotte@...>, <nickpiggin@...>
Date: Thursday, August 21, 2008 - 1:45 am

The Kconfig edits and Makefiles required for AXFS.

Signed-off-by: Jared Hulbert <jaredeh@gmail.com>
---
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: <jaredeh@...>
Cc: <Linux-kernel@...>, <linux-embedded@...>, linux-mtd <linux-mtd@...>, Jörn Engel <joern@...>, <tim.bird@...>, <cotte@...>, <nickpiggin@...>
Date: Thursday, August 21, 2008 - 7:24 am

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 <><
--

To: Arnd Bergmann <arnd@...>
Cc: <jaredeh@...>, <Linux-kernel@...>, <linux-embedded@...>, linux-mtd <linux-mtd@...>, Jörn <joern@...>, <tim.bird@...>, <cotte@...>, <nickpiggin@...>
Date: Thursday, August 21, 2008 - 10:11 am

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
--

Previous thread: [PATCH 01/10] AXFS: exporting xip_file_fault() for use with AXFS by Jared Hulbert on Thursday, August 21, 2008 - 1:44 am. (4 messages)

Next thread: [PATCH 03/10] AXFS: axfs.h by Jared Hulbert on Thursday, August 21, 2008 - 1:45 am. (11 messages)