add tools/cdrtools
[openadk.git] / Config.in
blobe7a496e9c77e298bf67ff8fa16256648951086cd
1 # This file is part of the OpenADK project. OpenADK is copyrighted
2 # material, please see the LICENCE file in the top-level directory.
4 config ADKVERSION
5         string
6         option env="ADKVERSION"
8 config MODULES
9         bool
10         default y
12 config ADK_HAVE_DOT_CONFIG
13         bool
14         default y
16 mainmenu "OpenADK Configuration"
18 config ADK_CHOOSE_TARGET_SYSTEM
19         boolean
20         default y if ADK_CHOOSE_TARGET_SYSTEM_ARM
21         default y if ADK_CHOOSE_TARGET_SYSTEM_AVR32
22         default y if ADK_CHOOSE_TARGET_SYSTEM_CRIS
23         default y if ADK_CHOOSE_TARGET_SYSTEM_M68K
24         default y if ADK_CHOOSE_TARGET_SYSTEM_MICROBLAZE
25         default y if ADK_CHOOSE_TARGET_SYSTEM_MIPS
26         default y if ADK_CHOOSE_TARGET_SYSTEM_PPC
27         default y if ADK_CHOOSE_TARGET_SYSTEM_PPC64
28         default y if ADK_CHOOSE_TARGET_SYSTEM_SPARC
29         default y if ADK_CHOOSE_TARGET_SYSTEM_SPARC64
30         default y if ADK_CHOOSE_TARGET_SYSTEM_SH
31         default y if ADK_CHOOSE_TARGET_SYSTEM_X86
32         default y if ADK_CHOOSE_TARGET_SYSTEM_X86_64
33         default n
35 source "target/config/Config.in"
37 menu "Runtime configuration"
38 depends on !ADK_CHOOSE_TARGET_ARCH && !ADK_CHOOSE_TARGET_KERNEL && !ADK_CHOOSE_TARGET_SYSTEM
39 source "target/config/Config.in.runtime"
40 endmenu
42 menu "Package collection"
43 depends on !ADK_CHOOSE_TARGET_ARCH && !ADK_CHOOSE_TARGET_KERNEL && !ADK_CHOOSE_TARGET_SYSTEM
44 source "target/packages/Config.in"
45 endmenu
47 menu "Package selection"
48 depends on !ADK_CHOOSE_TARGET_ARCH && !ADK_CHOOSE_TARGET_KERNEL && !ADK_CHOOSE_TARGET_SYSTEM
50 config ADK_LEAVE_ETC_ALONE
51         boolean "do not install anything into /etc"
52         default n
53         help
54           Enabling this option will prevent the ADK from installing anything
55           into /etc. This is useful for highly customised setups with custom
56           base-files packages.
58           Package Makefiles can override this setting by passing "force_etc" to
59           the package-template.  to a non-empty value. This is useful for
60           packages traditionally installing non-config stuff into /etc, like
61           e.g. ca-certificates.
63           Note that without further customisation, turning this option
64           on will almost certainly render the resulting system unusable.
66 config ADK_INSTALL_PACKAGE_INIT_SCRIPTS
67         boolean "ship custom init-scripts along with packages"
68         default y
69         depends on !ADK_LEAVE_ETC_ALONE
70         help
71           Turning this option to false will prevent the ADK from
72           installing init-scripts (i.e. files in /etc/init.d) for
73           certain daemons and daemon-like applications.
75           Note that without further customisation, turning this option
76           off will almost certainly render the resulting system unusable.
78 config ADK_INSTALL_PACKAGE_NETWORK_SCRIPTS
79         boolean "ship custom network-scripts along with packages"
80         default y
81         depends on !ADK_LEAVE_ETC_ALONE
82         help
83           Turning this option to false will prevent the ADK from
84           installing network-scripts (i.e. files in /etc/network/) for
85           packages providing any.
87           Note that without further customisation, turning this option
88           off will almost certainly render the resulting system unusable.
90 source "package/Config.in.auto.global"
91 source "package/Config.in.auto"
92 endmenu
94 choice
95 prompt "Kernel Version"
96 depends on ADK_TOOLCHAIN_ONLY
98 config ADK_KERNEL_VERSION_TOOLCHAIN
99         prompt "3.11.10"
100         boolean
101         depends on ADK_TOOLCHAIN_ONLY
103 endchoice
105 menu "Kernel configuration"
106 depends on !ADK_TOOLCHAIN_ONLY && !ADK_CHOOSE_TARGET_ARCH && !ADK_CHOOSE_TARGET_KERNEL && !ADK_CHOOSE_TARGET_SYSTEM && ADK_TARGET_KERNEL_CUSTOMISING
108 choice
109 prompt "Kernel Version"
110 config ADK_KERNEL_VERSION_3_11_10
111         prompt "3.11.10"
112         boolean
114 config ADK_KERNEL_VERSION_3_4_71
115         prompt "3.4.71"
116         boolean
118 endchoice
120 config ADK_KERNEL_VERSION
121         string
122         default "3.11.10" if ADK_KERNEL_VERSION_3_11_10
123         default "3.4.71" if ADK_KERNEL_VERSION_3_4_71
124         help
126 config ADK_KERNEL_COMP_GZIP_RASPBERRY_PI
127         depends on ADK_TARGET_SYSTEM_RASPBERRY_PI
128         boolean
129         select ADK_KERNEL_RD_GZIP
130         select ADK_KERNEL_KERNEL_GZIP
131         select ADK_KERNEL_INITRAMFS_COMPRESSION_GZIP
132         default y
134 choice
135 prompt "Kernel Compression"
136 depends on !ADK_TARGET_SYSTEM_RASPBERRY_PI
137 config ADK_KERNEL_COMP_XZ
138         prompt "use XZ compression"
139         boolean
140         select ADK_KERNEL_RD_XZ
141         select ADK_KERNEL_KERNEL_XZ
142         select ADK_KERNEL_INITRAMFS_COMPRESSION_XZ
143         depends on !ADK_LINUX_MIPS
145 config ADK_KERNEL_COMP_LZMA
146         prompt "use LZMA compression"
147         boolean
148         select ADK_KERNEL_RD_LZMA
149         select ADK_KERNEL_KERNEL_LZMA
150         select ADK_KERNEL_INITRAMFS_COMPRESSION_LZMA
152 config ADK_KERNEL_COMP_LZO
153         prompt "use LZO compression"
154         boolean
155         select ADK_KERNEL_RD_LZO
156         select ADK_KERNEL_KERNEL_LZO
157         select ADK_KERNEL_INITRAMFS_COMPRESSION_LZO
159 config ADK_KERNEL_COMP_GZIP
160         prompt "use GZIP compression"
161         boolean
162         select ADK_KERNEL_RD_GZIP
163         select ADK_KERNEL_KERNEL_GZIP
164         select ADK_KERNEL_INITRAMFS_COMPRESSION_GZIP
166 config ADK_KERNEL_COMP_BZIP2
167         prompt "use BZIP2 compression"
168         boolean
169         select ADK_KERNEL_RD_BZIP2
170         select ADK_KERNEL_KERNEL_BZIP2
171         select ADK_KERNEL_INITRAMFS_COMPRESSION_BZIP2
173 endchoice
175 config ADK_COMPRESSION_TOOL
176         string
177         default "gzip -n9" if ADK_KERNEL_INITRAMFS_COMPRESSION_GZIP
178         default "bzip2" if ADK_KERNEL_INITRAMFS_COMPRESSION_BZIP2
179         default "xz --check=crc32" if ADK_KERNEL_INITRAMFS_COMPRESSION_XZ
180         default "lzma -9" if ADK_KERNEL_INITRAMFS_COMPRESSION_LZMA
181         default "lzop" if ADK_KERNEL_INITRAMFS_COMPRESSION_LZO
182         default "gzip -n9"
183         help
185 source "target/linux/Config.in"
186 endmenu
188 source "target/config/Config.in.adk"
189 source "toolchain/Config.in"