summaryrefslogtreecommitdiff
path: root/Config.in
blob: 489e86215aa5d2292ed0db277ddcae401cc63634 (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
# 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_ARM
	default y if ADK_CHOOSE_TARGET_SYSTEM_AVR32
	default y if ADK_CHOOSE_TARGET_SYSTEM_CRIS
	default y if ADK_CHOOSE_TARGET_SYSTEM_M68K
	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 "Runtime configuration"
depends on !ADK_CHOOSE_TARGET_ARCH && !ADK_CHOOSE_TARGET_KERNEL && !ADK_CHOOSE_TARGET_SYSTEM
source "target/config/Config.in.runtime"
endmenu

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

menu "Package selection"
depends on !ADK_CHOOSE_TARGET_ARCH && !ADK_CHOOSE_TARGET_KERNEL && !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

choice
prompt "Kernel Version"
depends on ADK_TOOLCHAIN_ONLY

config ADK_KERNEL_VERSION_TOOLCHAIN
	prompt "3.4.6"
	boolean
	depends on ADK_TOOLCHAIN_ONLY

endchoice

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

choice
prompt "Kernel Version"

config ADK_KERNEL_VERSION_3_4_6
	prompt "3.4.6"
	boolean

config ADK_KERNEL_VERSION_3_5
	prompt "3.5"
	boolean
endchoice

config ADK_KERNEL_VERSION
	string
	default "3.4.6" if ADK_KERNEL_VERSION_3_4_6
	default "3.5" if ADK_KERNEL_VERSION_3_5
	help

choice
prompt "Kernel Compression"
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_TARGET_INITRAMFS_COMPRESSION_GZIP
	default "bzip2" if ADK_TARGET_INITRAMFS_COMPRESSION_BZIP2
	default "xz" if ADK_TARGET_INITRAMFS_COMPRESSION_XZ
	default "lzma -9" if ADK_TARGET_INITRAMFS_COMPRESSION_LZMA
	default "lzop" if ADK_TARGET_INITRAMFS_COMPRESSION_LZO
	help

source "target/linux/Config.in"
endmenu

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