massive rewrite of the pkgmaker logic
[openadk.git] / Config.in
blobfae83c140d6820106e411995bcf3cd4fbfa39caa
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 mainmenu "OpenADK Configuration"
10 config MODULES
11         bool
12         default y
14 config ADK_HAVE_DOT_CONFIG
15         bool
16         default y
18 menu "ADK settings"
20 config ADK_DEVELSYSTEM
21         bool "Compile a ADK development system"
22         default n
23         select BUSYBOX_CMP
24         select BUSYBOX_EXPR
25         select BUSYBOX_INSTALL
26         select BUSYBOX_MKTEMP
27         select BUSYBOX_UNZIP
28         select BUSYBOX_TAC
29         select BUSYBOX_TEE
30         select ADK_PACKAGE_AUTOCONF
31         select ADK_PACKAGE_AUTOMAKE
32         select ADK_PACKAGE_BASH
33         select ADK_PACKAGE_BINUTILS
34         select ADK_PACKAGE_BZIP2
35         select ADK_PACKAGE_CPIO
36         select ADK_PACKAGE_DIFFUTILS
37         select ADK_PACKAGE_FILE
38         select ADK_PACKAGE_GAWK
39         select ADK_PACKAGE_GCC
40         select ADK_PACKAGE_GIT
41         select ADK_PACKAGE_GREP
42         select ADK_PACKAGE_UCLIBC_DEV if ADK_TARGET_LIB_UCLIBC
43         select ADK_PACKAGE_EGLIBC_DEV if ADK_TARGET_LIB_EGLIBC
44         select ADK_PACKAGE_GLIBC_DEV if ADK_TARGET_LIB_GLIBC
45         select ADK_PACKAGE_LIBNCURSES
46         select ADK_PACKAGE_LIBNCURSES_DEV
47         select ADK_PACKAGE_LIBTOOL
48         select ADK_PACKAGE_M4
49         select ADK_PACKAGE_MAKE
50         select ADK_PACKAGE_MKSH
51         select ADK_PACKAGE_PATCH
52         select ADK_PACKAGE_PKG_CONFIG
53         select ADK_PACKAGE_MICROPERL
54         select ADK_PACKAGE_TAR
55         select ADK_PACKAGE_TSORT
56         select ADK_PACKAGE_WGET
57         select ADK_PACKAGE_ZLIB
58         select ADK_PACKAGE_ZLIB_DEV
59         select ADK_PACKAGE_XZ
60         help
61           After bootstrapping a Linux system you might want to
62           switch to native builds with your target. 
63           If you choose this option, all necessary software needed
64           for native building will be selected.
66 config ADK_DEBUG
67         bool "Enable debug support"
68         default n
69         help
70           All packages and libc will be compiled and packaged with debug information.
71           Mostly useful for NFS root or big USB/CF disk setups.
73 config ADK_STATIC
74         bool "Link applications statically by default"
75         default n
76         help
77           Useful for toolchain only target devices.
79 config ADK_MAKE_JOBS
80         int
81         default 1 if ! ADK_MAKE_PARALLEL
83 config ADK_MAKE_PARALLEL
84         prompt "Enable parallel building of packages that claim to support it"
85         boolean
86         default n
88 config ADK_MAKE_JOBS
89         prompt "How many jobs to use"
90         int
91         default 2
92         depends on ADK_MAKE_PARALLEL
93         help
94           The number specified here will be passed to make as N in '-jN'
96 config ADK_FORCE_PARALLEL
97         prompt "Force parallel building of all packages (DANGEROUS)"
98         bool
99         default n
100         depends on ADK_MAKE_PARALLEL
101         help
102           Do not enable this! It's for testing purposes only.
104 choice 
105 prompt "Hostsystem (do not change!)"
106 config ADK_HOST_LINUX
107         prompt "Linux"
108         boolean
110 config ADK_HOST_FREEBSD
111         prompt "FreeBSD"
112         boolean
114 config ADK_HOST_MIRBSD
115         prompt "MirBSD"
116         boolean
118 config ADK_HOST_OPENBSD
119         prompt "OpenBSD"
120         boolean
122 config ADK_HOST_NETBSD
123         prompt "NetBSD"
124         boolean
126 config ADK_HOST_DARWIN
127         prompt "Darwin"
128         boolean
130 config ADK_HOST_CYGWIN
131         prompt "Cygwin"
132         boolean
134 endchoice
136 endmenu
138 source "target/Config.in"
140 menu "Package selection"
142 config ADK_ENABLE_IPV6
143         prompt "enable IPv6 globally"
144         boolean
145         default y
146         # FIXME: selecting stuff here is ugly, better fix package flavours to
147         #        support a symbol-value-based default (i.e., "default y if IPV6")
148         select ADK_PACKAGE_NFS_UTILS_WITH_TIRPC if ADK_PACKAGE_NFS_UTILS != n
149         help
150           This enables IPv6 support in all related applications. Basically this
151           just means passing --enable-ipv6 to the configure script, but the
152           exception proves the rule. ;)
154 source "package/Config.in.auto"
155 endmenu
157 menu "Kernel configuration"
158 source "target/linux/Config.in"
159 source "package/rtsp/Config.in"
160 endmenu