summaryrefslogtreecommitdiff
path: root/kconfig
diff options
context:
space:
mode:
authorAbdoulaye Walsimou Gaye <walsimou@walsimou.com>2009-08-10 14:14:34 +0200
committerAbdoulaye Walsimou Gaye <walsimou@walsimou.com>2009-08-10 14:14:34 +0200
commit7b2b460128cfccb7c341c88b8436cf23df517f72 (patch)
tree9790b21e09ba98ca10ee2da8fa1c1273c882d887 /kconfig
parent9749d71acec875d36031b913a6fc62e3b7ead568 (diff)
downloadembtoolkit-7b2b460128cfccb7c341c88b8436cf23df517f72.tar.gz
embtoolkit-7b2b460128cfccb7c341c88b8436cf23df517f72.tar.bz2
embtoolkit-7b2b460128cfccb7c341c88b8436cf23df517f72.tar.xz
Separate filesystem and packages selection
Signed-off-by: Abdoulaye Walsimou Gaye <walsimou@walsimou.com>
Diffstat (limited to 'kconfig')
-rw-r--r--kconfig/fs.kconfig42
-rw-r--r--kconfig/packages.kconfig17
2 files changed, 46 insertions, 13 deletions
diff --git a/kconfig/fs.kconfig b/kconfig/fs.kconfig
new file mode 100644
index 0000000..75b7b62
--- /dev/null
+++ b/kconfig/fs.kconfig
@@ -0,0 +1,42 @@
+################################################################################
+# GAYE Abdoulaye Walsimou, <walsimou@walsimou.com>
+# Copyright(C) 2009 GAYE Abdoulaye Walsimou. All rights reserved.
+# 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 GAYE Abdoulaye Walsimou, <walsimou@walsimou.com>
+# \date August 2009
+################################################################################
+
+menu "Type of root filesystem to build"
+
+#JFFS2 root filesystem image build
+config EMBTK_ROOTFS_HAVE_JFFS2
+ bool "Build a JFFS2 root filesystem image"
+ help
+ Build a JFFS2 root filesystem image for your target
+
+config EMBTK_ROOTFS_HAVE_JFFS2_BLOCKSIZE
+ depends on EMBTK_ROOTFS_HAVE_JFFS2
+ help
+ Erase block size to use in KB
+ string "Erase block size to use in KB"
+ default "512"
+
+endmenu
diff --git a/kconfig/packages.kconfig b/kconfig/packages.kconfig
index f307b30..a6d81ac 100644
--- a/kconfig/packages.kconfig
+++ b/kconfig/packages.kconfig
@@ -24,6 +24,8 @@
# \date May 2009
################################################################################
+menu "Packages to include in your root filesystem"
+
#Busybox
config EMBTK_ROOTFS_HAVE_BB
bool "Have Busybox in your root filesystem"
@@ -31,19 +33,6 @@ if EMBTK_ROOTFS_HAVE_BB
source packages/busybox/busybox.kconfig
endif
-#JFFS2 root filesystem image build
-config EMBTK_ROOTFS_HAVE_JFFS2
- bool "Build a JFFS2 root filesystem image"
- help
- Build a JFFS2 root filesystem image for your target
-
-config EMBTK_ROOTFS_HAVE_JFFS2_BLOCKSIZE
- depends on EMBTK_ROOTFS_HAVE_JFFS2
- help
- Erase block size to use in KB
- string "Erase block size to use in KB"
- default "128"
-
#mtd-utils on target
config EMBTK_ROOTFS_HAVE_MTDUTILS
bool "Have mtd-utils in your target root filesystem"
@@ -63,3 +52,5 @@ config EMBTK_ROOTFS_HAVE_MTDUTILS
NAND Flash device
These utilities are often used to write file system images to the Flash
device on an embedded system.
+
+endmenu