summaryrefslogtreecommitdiff
path: root/Kconfig
blob: b6baf2f27b154313456cf81c6be88ec72ea3e2fd (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
111
112
113
114
################################################################################
# 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         Kconfig
# \brief	Kconfig of Embtoolkit
# \author       GAYE Abdoulaye Walsimou, <walsimou@walsimou.com>
# \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"
config EMBTK_TARGET_COMPILER_CFLAGS
	string "Additional compiler flags for your target"
	help
	 Here you can change default flags passed to gcc when components of your
	 embedded system target are built: C library, packages, ...
	 By default we optimize for size.
	default "-Os"
config EMBTK_TARGET_STRIPPED
	bool "Strip target's binaries"
	help
	 Say yes if you want to strip binaries (including libraries) generated
	 for your target embedded system. This will reduce the size of these
	 binaries.
	 Note: These binaries are only stripped if you choose to build a root
	 filesystem.

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/fs.kconfig"
source "kconfig/packages.kconfig"
endif

menu "Embtoolkit build options"
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