summaryrefslogtreecommitdiff
path: root/Kconfig
blob: c208e5d7b4103cc1fcbac34475c0d7db9bbdc294 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
################################################################################
# Abdoulaye Walsimou GAYE <awg@embtoolkit.org>
# Copyright(C) 2009-2010 Abdoulaye Walsimou GAYE. All rights reserved.
#
# 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 3 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         Kconfig
# \brief	Kconfig of Embtoolkit
# \author       Abdoulaye Walsimou GAYE <awg@embtoolkit.org>
# \date         May 2009
################################################################################
mainmenu "Embedded systems toolkit configuration"

config EMBTK_DOTCONFIG
	bool
	default y

menu "Architecture/variants/options Selection"
source "kconfig/arch.kconfig"
source "kconfig/arch-variant.kconfig"
endmenu

#Give ability to build (hide) old packages, instead of remove them in Embtk.
config EMBTK_OLDPACKAGES
	bool "Show old revision of some packages"
	help
	 This will allow you to build old revisions of some packages.

menu "Toolchain configuration"
source "kconfig/toolchain.kconfig"
endmenu

menu "Target build options"
source kconfig/targetbuildopts.kconfig
endmenu

menu "Debugging system"
source "kconfig/gdb.kconfig"
source "kconfig/strace.kconfig"
endmenu

config EMBTK_HAVE_ROOTFS
	bool "Build root filesystem"
	help
	 If you want to build a root filesystem for your target, and include
	 some packages within it, you must say yes here.
	 Select the root filesystem type in "Type of root filesystem to build".
	 Select packages in "Packages to include in your root filesystem".

if EMBTK_HAVE_ROOTFS
source kconfig/mtdutils.kconfig
source kconfig/fs.kconfig
source kconfig/packages.kconfig
endif

menu "Embtoolkit build options and host tools"
comment "-----------------------------"
comment "Host tools"
comment "-----------------------------"

config EMBTK_HOST_HAVE_CMAKE
	bool "Build cmake for the host development machine"

comment "-----------------------------"
comment "Build options"
comment "-----------------------------"

config EMBTK_NUMBER_BUILD_JOBS
	int "Number of parallel build jobs"
	default 1

config EMBTK_DOWNLOAD_DIR
	string "Download directory"
	default "$(EMBTK_ROOT)/dl"
	help
	 Directory where downloaded packages are stored.

	 You must specify here an absolute directory location, if you choose to
	 use an alternate location.

	 Note:
	 If you want to preserve downloaded packages from being removed when
	 you do make distclean, you must specify an alternate location.
	 If you leave this option in the default location under Embtoolkit,
	 $(EMBTK_ROOT)/dl, then make distclean will remove downloaded packages.
	 But keep in mind that only a make distclean command will remove
	 downloaded packages in the default location under EmbToolkit,
	 not make clean.

config EMBTK_CACHE_PATCHES
	bool "Preserve first downloaded patches and do not download new one"
	default y
	help
	 When this option is enable, new patches for packages will not be
	 downloaded the second time you run the build process.
endmenu