blob: 881aedbe3d51fcf20aea070a425f7180595eb676 [file] [log] [blame]
From Aaditya.Kumar@ap.sony.com Fri Nov 23 03:29:51 2012
From: Aaditya Kumar <aaditya.kumar@ap.sony.com>
Date: Fri, 23 Nov 2012 16:54:09 +0530
Subject: [PATCH v2 RESEND 01/15] AXFS: Kconfigs and Makefiles
To: Greg KH <gregkh@linuxfoundation.org>
Cc: "ltsi-dev@lists.linuxfoundation.org" <ltsi-dev@lists.linuxfoundation.org>, tim.bird@am.sony.com, frank.rowand@am.sony.com, takuzo.ohara@ap.sony.com, amit.agarwal@ap.sony.com, kan.iibuchi@jp.sony.com, aaditya.kumar.30@gmail.com
Message-ID: <50AF5CD9.2040206@ap.sony.com>
From: Jared Hulbert <jaredeh@gmail.com>
The Kconfigs and Makefiles for AXFS
Signed-off-by: Jared Hulbert <jaredeh@gmail.com>
Signed-off-by: Aaditya Kumar <aaditya.kumar@ap.sony.com>
---
fs/Kconfig | 3 ++-
fs/Makefile | 1 +
fs/axfs/Kconfig | 18 ++++++++++++++++++
fs/axfs/Makefile | 8 ++++++++
4 files changed, 29 insertions(+), 1 deletion(-)
create mode 100644 fs/axfs/Kconfig
create mode 100644 fs/axfs/Makefile
--- a/fs/Kconfig
+++ b/fs/Kconfig
@@ -17,7 +17,7 @@ source "fs/ext4/Kconfig"
config FS_XIP
# execute in place
bool
- depends on EXT2_FS_XIP || PRAMFS_XIP
+ depends on EXT2_FS_XIP || PRAMFS_XIP || AXFS
default y
source "fs/jbd/Kconfig"
@@ -221,6 +221,7 @@ source "fs/pstore/Kconfig"
source "fs/sysv/Kconfig"
source "fs/ufs/Kconfig"
source "fs/pramfs/Kconfig"
+source "fs/axfs/Kconfig"
source "fs/exofs/Kconfig"
endif # MISC_FILESYSTEMS
--- a/fs/Makefile
+++ b/fs/Makefile
@@ -72,6 +72,7 @@ obj-$(CONFIG_EXT4_FS) += ext4/
obj-$(CONFIG_JBD) += jbd/
obj-$(CONFIG_JBD2) += jbd2/
obj-$(CONFIG_CRAMFS) += cramfs/
+obj-$(CONFIG_AXFS) += axfs/
obj-$(CONFIG_SQUASHFS) += squashfs/
obj-y += ramfs/
obj-$(CONFIG_HUGETLBFS) += hugetlbfs/
--- /dev/null
+++ b/fs/axfs/Kconfig
@@ -0,0 +1,18 @@
+config AXFS
+ tristate "Advanced XIP File System (AXFS) support (EXPERIMENTAL)"
+ select FS_XIP
+ select ZLIB_INFLATE
+ 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
+ help
+ Profiling tooling used to identify what pages in the filesystem
+ image are actually accessed and how much.
+
--- /dev/null
+++ b/fs/axfs/Makefile
@@ -0,0 +1,8 @@
+#
+# Makefile for axfs
+#
+
+obj-$(CONFIG_AXFS) += axfs.o
+
+axfs-y := axfs_inode.o axfs_super.o axfs_uncompress.o axfs_profiling.o \
+ axfs_uml.o axfs_mtd.o axfs_bdev.o axfs_physmem.o