From 60099890f36754d9fd4c1ec00d9679ba3de5d3b6 Mon Sep 17 00:00:00 2001 From: Abdoulaye Walsimou Gaye Date: Tue, 18 Mar 2014 23:51:32 +0100 Subject: Move kconfig/ to core/ Signed-off-by: Abdoulaye Walsimou Gaye --- core/kconfig/rootfs/fs.kconfig | 86 ++++++++++++++++++++++++++++++++++++++ core/kconfig/rootfs/rootfs.kconfig | 28 +++++++++++++ 2 files changed, 114 insertions(+) create mode 100644 core/kconfig/rootfs/fs.kconfig create mode 100644 core/kconfig/rootfs/rootfs.kconfig (limited to 'core/kconfig/rootfs') 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 +# \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 . +# +################################################################################ +# +# \file rootfs.kconfig +# \brief rootfs.kconfig of Embtoolkit +# \author Abdoulaye Walsimou GAYE +# \date December 2013 +################################################################################ + +source "core/kconfig/rootfs/fs.kconfig" +source "core/kconfig/squashfs.kconfig" +source "core/kconfig/packages.kconfig" -- cgit v1.2.3