summaryrefslogtreecommitdiff
path: root/core/kconfig/rootfs
diff options
context:
space:
mode:
authorAbdoulaye Walsimou Gaye <awg@embtoolkit.org>2014-03-18 23:51:32 +0100
committerAbdoulaye Walsimou Gaye <awg@embtoolkit.org>2014-03-18 23:51:32 +0100
commit60099890f36754d9fd4c1ec00d9679ba3de5d3b6 (patch)
tree5379b7f6694de0b0c954e9c5388612d8ba6c1a1d /core/kconfig/rootfs
parentef94bcb8905c8c8fefc272dbcb2d5ee0c4efbe35 (diff)
downloadembtoolkit-60099890f36754d9fd4c1ec00d9679ba3de5d3b6.tar.gz
embtoolkit-60099890f36754d9fd4c1ec00d9679ba3de5d3b6.tar.bz2
embtoolkit-60099890f36754d9fd4c1ec00d9679ba3de5d3b6.tar.xz
Move kconfig/ to core/
Signed-off-by: Abdoulaye Walsimou Gaye <awg@embtoolkit.org>
Diffstat (limited to 'core/kconfig/rootfs')
-rw-r--r--core/kconfig/rootfs/fs.kconfig86
-rw-r--r--core/kconfig/rootfs/rootfs.kconfig28
2 files changed, 114 insertions, 0 deletions
diff --git a/core/kconfig/rootfs/fs.kconfig b/core/kconfig/rootfs/fs.kconfig
new file mode 100644
index 0000000..53b00a6
--- /dev/null
+++ b/core/kconfig/rootfs/fs.kconfig
@@ -0,0 +1,86 @@
+################################################################################
+# Embtoolkit
+# Copyright(C) 2009-2011 Abdoulaye Walsimou GAYE.
+# For Copyrright from linux kernel's build/configure system, see their source
+# code.
+#
+# This program is free software; you can distribute it and/or modify it
+# under the terms of the GNU General Public License
+# (Version 2 or later) published by the Free Software Foundation.
+#
+# This program is distributed in the hope it will be useful, but WITHOUT
+# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
+# for more details.
+#
+# You should have received a copy of the GNU General Public License along
+# with this program; if not, write to the Free Software Foundation, Inc.,
+# 59 Temple Place - Suite 330, Boston MA 02111-1307, USA.
+################################################################################
+#
+# \file fs.kconfig
+# \brief fs.kconfig of Embtoolkit
+# \author Abdoulaye Walsimou GAYE <awg@embtoolkit.org>
+# \date August 2009
+################################################################################
+
+menu "Type of root filesystem to build"
+
+#INITRAMFS cpio archive
+config EMBTK_ROOTFS_HAVE_INITRAMFS_CPIO
+ bool "Build cpio archive for initramfs"
+ help
+ Build a cpio archive, in order to use it later as source file for
+ initramfs in the linux kernel.
+choice
+ depends on EMBTK_ROOTFS_HAVE_INITRAMFS_CPIO
+ prompt "Compression program to use"
+ config EMBTK_ROOTFS_HAVE_INITRAMFS_CPIO_GZIPED
+ bool "gzip"
+ help
+ Use gzip compression algorithm.
+ config EMBTK_ROOTFS_HAVE_INITRAMFS_CPIO_BZIPED
+ bool "bzip2"
+ help
+ Use bzip2 compression algorithm.
+endchoice
+
+#####################################
+# JFFS2 root filesystem image build #
+#####################################
+config EMBTK_ROOTFS_HAVE_JFFS2
+ bool "Build a JFFS2 root filesystem image"
+ select EMBTK_HOST_HAVE_MTDUTILS
+ help
+ Build a JFFS2 root filesystem image for your target.
+config EMBTK_ROOTFS_HAVE_JFFS2_ERASEBLOCKSIZE
+ depends on EMBTK_ROOTFS_HAVE_JFFS2
+ help
+ Erase block size to use in bytes
+ NOTE: If erase block size is below 4096 the unit is assumed
+ to be KiB
+ int "Erase block size to use in bytes"
+ default 16384
+config EMBTK_ROOTFS_HAVE_JFFS2_PAGESIZE
+ depends on EMBTK_ROOTFS_HAVE_JFFS2
+ help
+ Page size to use in bytes
+ int "Page size to use in bytes"
+ default 4096
+config EMBTK_ROOTFS_HAVE_JFFS2_CLEANMARKERSIZE
+ depends on EMBTK_ROOTFS_HAVE_JFFS2
+ help
+ Size of cleanmarker in bytes (almost always 12)
+ int "Size of cleanmarker in bytes (almost always 12)"
+ default 12
+
+############################
+# SQUASHFS root filesystem #
+############################
+config EMBTK_ROOTFS_HAVE_SQUASHFS
+ bool "Build a squashfs root filesystem image"
+ select EMBTK_HAVE_SQUASHFS_TOOLS
+ help
+ Build a squashfs root filesystem image for your target
+
+endmenu
diff --git a/core/kconfig/rootfs/rootfs.kconfig b/core/kconfig/rootfs/rootfs.kconfig
new file mode 100644
index 0000000..e29eb89
--- /dev/null
+++ b/core/kconfig/rootfs/rootfs.kconfig
@@ -0,0 +1,28 @@
+################################################################################
+# Embtoolkit
+# Copyright(C) 2013 Abdoulaye Walsimou GAYE.
+#
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation, either version 2 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program. If not, see <http://www.gnu.org/licenses/>.
+#
+################################################################################
+#
+# \file rootfs.kconfig
+# \brief rootfs.kconfig of Embtoolkit
+# \author Abdoulaye Walsimou GAYE <awg@embtoolkit.org>
+# \date December 2013
+################################################################################
+
+source "core/kconfig/rootfs/fs.kconfig"
+source "core/kconfig/squashfs.kconfig"
+source "core/kconfig/packages.kconfig"