2008-08-21 05:45:37

by Jared Hulbert

[permalink] [raw]
Subject: [PATCH 02/10] AXFS: Kconfig and Makefiles

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


2008-08-21 11:26:29

by Arnd Bergmann

[permalink] [raw]
Subject: Re: [PATCH 02/10] AXFS: Kconfig and Makefiles

On Thursday 21 August 2008, Jared Hulbert wrote:
> The Kconfig edits and Makefiles required for AXFS.
>
> Signed-off-by: Jared Hulbert <[email protected]>

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

2008-08-21 14:14:24

by Sam Ravnborg

[permalink] [raw]
Subject: Re: [PATCH 02/10] AXFS: Kconfig and Makefiles

On Thu, Aug 21, 2008 at 01:24:22PM +0200, Arnd Bergmann wrote:
> On Thursday 21 August 2008, Jared Hulbert wrote:
> > The Kconfig edits and Makefiles required for AXFS.
> >
> > Signed-off-by: Jared Hulbert <[email protected]>
>
> 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