summaryrefslogtreecommitdiff
path: root/Config.in
blob: 954423bdbf2eeec51d1fa6e719ecd25b03da548e (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
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.

config ADKVERSION
	string
	option env="ADKVERSION"

config MODULES
	bool
	default y

config ADK_HAVE_DOT_CONFIG
	bool
	default y

mainmenu "OpenADK Configuration"

config ADK_CHOOSE_TARGET_SYSTEM
	boolean
	default y if ADK_CHOOSE_TARGET_SYSTEM_AARCH64
	default y if ADK_CHOOSE_TARGET_SYSTEM_ARM
	default y if ADK_CHOOSE_TARGET_SYSTEM_M68K
	default y if ADK_CHOOSE_TARGET_SYSTEM_MICROBLAZE
	default y if ADK_CHOOSE_TARGET_SYSTEM_MIPS
	default y if ADK_CHOOSE_TARGET_SYSTEM_PPC
	default y if ADK_CHOOSE_TARGET_SYSTEM_PPC64
	default y if ADK_CHOOSE_TARGET_SYSTEM_SPARC
	default y if ADK_CHOOSE_TARGET_SYSTEM_SPARC64
	default y if ADK_CHOOSE_TARGET_SYSTEM_SH
	default y if ADK_CHOOSE_TARGET_SYSTEM_X86
	default y if ADK_CHOOSE_TARGET_SYSTEM_X86_64
	default n

source "target/config/Config.in"

menu "Package collection"
depends on !ADK_CHOOSE_TARGET_ARCH && !ADK_CHOOSE_TARGET_SYSTEM
source "target/packages/Config.in"
endmenu

menu "Package selection"
depends on !ADK_CHOOSE_TARGET_ARCH && !ADK_CHOOSE_TARGET_SYSTEM

config ADK_LEAVE_ETC_ALONE
	boolean "do not install anything into /etc"
	default n
	help
	  Enabling this option will prevent the ADK from installing anything
	  into /etc. This is useful for highly customised setups with custom
	  base-files packages.

	  Package Makefiles can override this setting by passing "force_etc" to
	  the package-template.  to a non-empty value. This is useful for
	  packages traditionally installing non-config stuff into /etc, like
	  e.g. ca-certificates.

	  Note that without further customisation, turning this option
	  on will almost certainly render the resulting system unusable.

config ADK_INSTALL_PACKAGE_INIT_SCRIPTS
	boolean "ship custom init-scripts along with packages"
	default y
	depends on !ADK_LEAVE_ETC_ALONE
	help
	  Turning this option to false will prevent the ADK from
	  installing init-scripts (i.e. files in /etc/init.d) for
	  certain daemons and daemon-like applications.

	  Note that without further customisation, turning this option
	  off will almost certainly render the resulting system unusable.

config ADK_INSTALL_PACKAGE_NETWORK_SCRIPTS
	boolean "ship custom network-scripts along with packages"
	default y
	depends on !ADK_LEAVE_ETC_ALONE
	help
	  Turning this option to false will prevent the ADK from
	  installing network-scripts (i.e. files in /etc/network/) for
	  packages providing any.

	  Note that without further customisation, turning this option
	  off will almost certainly render the resulting system unusable.

source "package/Config.in.auto.global"
source "package/Config.in.auto"
endmenu

menu "Runtime configuration"
depends on !ADK_CHOOSE_TARGET_ARCH && !ADK_CHOOSE_TARGET_SYSTEM
source "target/config/Config.in.runtime"
endmenu

choice
prompt "Kernel Version"
depends on ADK_TOOLCHAIN_ONLY

config ADK_KERNEL_VERSION_TOOLCHAIN
	prompt "3.13.11"
	boolean
	depends on ADK_TOOLCHAIN_ONLY

endchoice

menu "Kernel configuration"
depends on !ADK_TOOLCHAIN_ONLY && !ADK_CHOOSE_TARGET_ARCH && !ADK_CHOOSE_TARGET_SYSTEM && ADK_TARGET_KERNEL_CUSTOMISING

choice
prompt "Kernel Version"
default ADK_KERNEL_VERSION_3_13_11

config ADK_KERNEL_VERSION_3_15_RC5
	prompt "3.15-rc5"
	boolean

config ADK_KERNEL_VERSION_3_14_3
	prompt "3.14.3"
	depends on !ADK_TARGET_SYSTEM_CUBOX_I
	boolean

config ADK_KERNEL_VERSION_3_13_11
	prompt "3.13.11"
	depends on !ADK_TARGET_SYSTEM_CUBOX_I
	boolean

config ADK_KERNEL_VERSION_3_12_18
	prompt "3.12.18"
	depends on !ADK_TARGET_SYSTEM_CUBOX_I
	boolean

config ADK_KERNEL_VERSION_3_11_10
	prompt "3.11.10"
	depends on !ADK_TARGET_SYSTEM_CUBOX_I
	boolean

config ADK_KERNEL_VERSION_3_10_37
	prompt "3.10.37"
	depends on !ADK_TARGET_SYSTEM_CUBOX_I
	boolean

config ADK_KERNEL_VERSION_3_4_87
	prompt "3.4.87"
	depends on !ADK_TARGET_SYSTEM_RASPBERRY_PI
	depends on !ADK_TARGET_SYSTEM_CUBOX_I
	boolean

endchoice

config ADK_KERNEL_VERSION
	string
	default "3.15-rc4" if ADK_KERNEL_VERSION_3_15_RC4
	default "3.14.3" if ADK_KERNEL_VERSION_3_14_3
	default "3.13.11" if ADK_KERNEL_VERSION_3_13_11
	default "3.12.18" if ADK_KERNEL_VERSION_3_12_18
	default "3.11.10" if ADK_KERNEL_VERSION_3_11_10
	default "3.10.37" if ADK_KERNEL_VERSION_3_10_37
	default "3.4.87" if ADK_KERNEL_VERSION_3_4_87
	help

config ADK_KERNEL_COMP_GZIP_RASPBERRY_PI
	depends on ADK_TARGET_SYSTEM_RASPBERRY_PI
        boolean
        select ADK_KERNEL_RD_GZIP
        select ADK_KERNEL_KERNEL_GZIP
        select ADK_KERNEL_INITRAMFS_COMPRESSION_GZIP
	default y

choice
prompt "Kernel Compression"
depends on !ADK_TARGET_SYSTEM_RASPBERRY_PI
config ADK_KERNEL_COMP_XZ
	prompt "use XZ compression"
	boolean
	select ADK_KERNEL_RD_XZ
	select ADK_KERNEL_KERNEL_XZ
	select ADK_KERNEL_INITRAMFS_COMPRESSION_XZ

config ADK_KERNEL_COMP_LZMA
	prompt "use LZMA compression"
	boolean
	select ADK_KERNEL_RD_LZMA
	select ADK_KERNEL_KERNEL_LZMA
	select ADK_KERNEL_INITRAMFS_COMPRESSION_LZMA

config ADK_KERNEL_COMP_LZO
	prompt "use LZO compression"
	boolean
	select ADK_KERNEL_RD_LZO
	select ADK_KERNEL_KERNEL_LZO
	select ADK_KERNEL_INITRAMFS_COMPRESSION_LZO

config ADK_KERNEL_COMP_GZIP
	prompt "use GZIP compression"
	boolean
	select ADK_KERNEL_RD_GZIP
	select ADK_KERNEL_KERNEL_GZIP
	select ADK_KERNEL_INITRAMFS_COMPRESSION_GZIP

config ADK_KERNEL_COMP_BZIP2
	prompt "use BZIP2 compression"
	boolean
	select ADK_KERNEL_RD_BZIP2
	select ADK_KERNEL_KERNEL_BZIP2
	select ADK_KERNEL_INITRAMFS_COMPRESSION_BZIP2

endchoice

config ADK_COMPRESSION_TOOL
	string
	default "gzip -n9" if ADK_KERNEL_INITRAMFS_COMPRESSION_GZIP
	default "bzip2" if ADK_KERNEL_INITRAMFS_COMPRESSION_BZIP2
	default "xz --check=crc32" if ADK_KERNEL_INITRAMFS_COMPRESSION_XZ
	default "lzma -9" if ADK_KERNEL_INITRAMFS_COMPRESSION_LZMA
	default "lzop" if ADK_KERNEL_INITRAMFS_COMPRESSION_LZO
	default "gzip -n9"
	help

source "target/linux/Config.in"
endmenu

source "target/config/Config.in.adk"
source "toolchain/Config.in"