summaryrefslogtreecommitdiff
path: root/Config.in
blob: c36987e00aac75e7e81de08b26b7d525b6e12e8d (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
# 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"

mainmenu "OpenADK Configuration"

config MODULES
	bool
	default y

config ADK_HAVE_DOT_CONFIG
	bool
	default y

menu "ADK settings"

config ADK_VENDOR
	string "vendor name"
	default "openadk"
	help
	  Vendor string is used for toolchain.

config ADK_HOST
	string "webserver for packages and distfiles"
	default "www.openadk.org"
	help
	  Configure host for IPKG package management.

config ADK_DEVELSYSTEM
	bool "Compile a ADK development system"
	default n
	select BUSYBOX_CMP
	select BUSYBOX_COMM
	select BUSYBOX_EXPR
	select BUSYBOX_INSTALL
	select BUSYBOX_MKTEMP
	select BUSYBOX_UNZIP
	select BUSYBOX_RMDIR
	select BUSYBOX_SPLIT
	select BUSYBOX_TAC
	select BUSYBOX_TEE
	select BUSYBOX_WGET
	select BUSYBOX_YES
	select BUSYBOX_TRUE
	select ADK_PACKAGE_BASH
	select ADK_PACKAGE_BINUTILS
	select ADK_PACKAGE_BZIP2
	select ADK_PACKAGE_CPIO
	select ADK_PACKAGE_DIFFUTILS
	select ADK_PACKAGE_FILE
	select ADK_PACKAGE_GAWK
	select ADK_PACKAGE_GCC
	select ADK_PACKAGE_GIT
	select ADK_PACKAGE_GREP
	select ADK_PACKAGE_UCLIBC_DEV if ADK_TARGET_LIB_UCLIBC
	select ADK_PACKAGE_EGLIBC_DEV if ADK_TARGET_LIB_EGLIBC
	select ADK_PACKAGE_GLIBC_DEV if ADK_TARGET_LIB_GLIBC
	select ADK_PACKAGE_LIBNCURSES
	select ADK_PACKAGE_LIBNCURSES_DEV
	select ADK_PACKAGE_M4
	select ADK_PACKAGE_MAKE
	select ADK_PACKAGE_MKSH
	select ADK_PACKAGE_PATCH
	select ADK_PACKAGE_PKG_CONFIG
	select ADK_PACKAGE_MICROPERL
	select ADK_PACKAGE_TAR
	select ADK_PACKAGE_TSORT
	select ADK_PACKAGE_ZLIB
	select ADK_PACKAGE_ZLIB_DEV
	select ADK_PACKAGE_XZ
	help
	  After bootstrapping a Linux system you might want to
	  switch to native builds with your target. 
	  If you choose this option, all necessary software needed
	  for native building will be selected.

config ADK_DEBUG
	bool "Enable debug support"
	default n
	help
	  All packages and libc will be compiled and packaged with debug information.
	  Mostly useful for NFS root or big USB/CF disk setups.

config ADK_STATIC
	bool "Link applications statically by default"
	default n
	help
	  Useful for toolchain only target devices.

config ADK_MAKE_JOBS
	int
	default 1 if ! ADK_MAKE_PARALLEL

config ADK_MAKE_PARALLEL
	prompt "Enable parallel building of packages that claim to support it"
	boolean
	default n

config ADK_MAKE_JOBS
	prompt "How many jobs to use"
	int
	default 2
	depends on ADK_MAKE_PARALLEL
	help
	  The number specified here will be passed to make as N in '-jN'

config ADK_FORCE_PARALLEL
	prompt "Force parallel building of all packages (DANGEROUS)"
	bool
	default n
	depends on ADK_MAKE_PARALLEL
	help
	  Do not enable this! It's for testing purposes only.

choice 
prompt "Hostsystem (do not change!)"
config ADK_HOST_LINUX
	prompt "Linux"
	boolean

config ADK_HOST_FREEBSD
	prompt "FreeBSD"
	boolean

config ADK_HOST_MIRBSD
	prompt "MirBSD"
	boolean

config ADK_HOST_OPENBSD
	prompt "OpenBSD"
	boolean

config ADK_HOST_NETBSD
	prompt "NetBSD"
	boolean

config ADK_HOST_DARWIN
	prompt "Darwin"
	boolean

config ADK_HOST_CYGWIN
	prompt "Cygwin"
	boolean

endchoice

endmenu

source "target/Config.in"

menu "Runtime configuration"

config ADK_RUNTIME_HOSTNAME
	string "hostname for the embedded system"
	default "linux"
	help
	  Set your target hostname.

config ADK_RUNTIME_SSH_PUBKEY
	string "SSH public key (root user only)"
	default ""
	help
	  Paste your generated SSH public key here and it will be embedded into
	  the built image, so you can use it to login instantly.

config ADK_RUNTIME_PASSWORD
	string "root password for the embedded system"
	default "linux123"
	help
	  Predefine the root password enabled in the built image.

config ADK_RUNTIME_TIMEZONE
	string "timezone for the embedded system"
	default "Europe/Berlin"
	help

endmenu

menu "Package selection"
config ADK_ENABLE_IPV6
	prompt "enable IPv6 globally"
	boolean
	default y
	# FIXME: selecting stuff here is ugly, better fix package flavours to
	#        support a symbol-value-based default (i.e., "default y if IPV6")
	select ADK_PACKAGE_NFS_UTILS_WITH_TIRPC if ADK_PACKAGE_NFS_UTILS != n
	help
	  This enables IPv6 support in all related applications. Basically this
	  just means passing --enable-ipv6 to the configure script, but the
	  exception proves the rule. ;)

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

menu "Kernel configuration"
source "target/linux/Config.in"
endmenu