Eric Andersen | 2d523c2 | 2004-10-09 01:06:03 +0000 | [diff] [blame] | 1 | # |
| 2 | |
| 3 | mainmenu "Buildroot2 Configuration" |
| 4 | |
| 5 | config BR2_HAVE_DOT_CONFIG |
| 6 | bool |
| 7 | default y |
| 8 | |
Bernhard Reutner-Fischer | f5b8cd4 | 2007-09-25 11:37:31 +0000 | [diff] [blame] | 9 | config BR2_VERSION |
| 10 | string |
| 11 | default "0.10.0-svn" |
| 12 | |
Bernhard Reutner-Fischer | bb9e6a7 | 2007-09-28 21:54:36 +0000 | [diff] [blame] | 13 | source "target/Config.in.arch" |
Bernhard Reutner-Fischer | 4b0d5a8 | 2007-09-26 21:12:38 +0000 | [diff] [blame] | 14 | source "target/device/Config.in" |
Bernhard Reutner-Fischer | 7d8a59b | 2007-07-08 16:28:54 +0000 | [diff] [blame] | 15 | |
Eric Andersen | 8e5fb3f | 2004-12-11 13:01:10 +0000 | [diff] [blame] | 16 | menu "Build options" |
| 17 | |
Eric Andersen | 2d523c2 | 2004-10-09 01:06:03 +0000 | [diff] [blame] | 18 | config BR2_WGET |
Eric Andersen | 8e5fb3f | 2004-12-11 13:01:10 +0000 | [diff] [blame] | 19 | string "Wget command" |
Eric Andersen | fb1c67c | 2004-10-15 07:11:54 +0000 | [diff] [blame] | 20 | default "wget --passive-ftp -nd" |
Eric Andersen | 2d523c2 | 2004-10-09 01:06:03 +0000 | [diff] [blame] | 21 | |
Bernhard Reutner-Fischer | c76e2a9 | 2007-09-19 20:22:58 +0000 | [diff] [blame] | 22 | config BR2_SVN_CO |
Ulf Samuelsson | 85f54fb | 2007-08-24 05:31:07 +0000 | [diff] [blame] | 23 | string "Subversion (svn) command to download source tree" |
Eric Andersen | 229a778 | 2005-06-09 09:50:11 +0000 | [diff] [blame] | 24 | default "svn co" |
Eric Andersen | e30cf26 | 2005-01-23 11:20:30 +0000 | [diff] [blame] | 25 | |
Bernhard Reutner-Fischer | c76e2a9 | 2007-09-19 20:22:58 +0000 | [diff] [blame] | 26 | config BR2_SVN_UP |
| 27 | string "Subversion (svn) command to update source tree" |
| 28 | default "svn up" |
| 29 | |
Ulf Samuelsson | 85f54fb | 2007-08-24 05:31:07 +0000 | [diff] [blame] | 30 | config BR2_GIT |
| 31 | string "Git command to download source tree" |
| 32 | default "git clone" |
| 33 | |
Bernhard Reutner-Fischer | 859b913 | 2006-10-01 15:07:45 +0000 | [diff] [blame] | 34 | config BR2_ZCAT |
| 35 | string "zcat command" |
Bernhard Reutner-Fischer | a9612bf | 2007-03-09 08:26:10 +0000 | [diff] [blame] | 36 | default "gzip -d -c" |
Bernhard Reutner-Fischer | 859b913 | 2006-10-01 15:07:45 +0000 | [diff] [blame] | 37 | help |
| 38 | Command to be used to extract a gzip'ed file to stdout. |
| 39 | zcat is identical to gunzip -c except that the former may |
| 40 | not be available on your system. |
Bernhard Reutner-Fischer | a9612bf | 2007-03-09 08:26:10 +0000 | [diff] [blame] | 41 | Default is "gzip -d -c" |
| 42 | Other possible values include "gunzip -c" or "zcat". |
Bernhard Reutner-Fischer | 6e2823c | 2006-11-17 15:43:51 +0000 | [diff] [blame] | 43 | |
| 44 | config BR2_BZCAT |
| 45 | string "bzcat command" |
| 46 | default "bzcat" |
| 47 | help |
| 48 | Command to be used to extract a bzip2'ed file to stdout. |
| 49 | bzcat is identical to bunzip2 -c except that the former may |
| 50 | not be available on your system. |
| 51 | Default is "bzcat" |
| 52 | Other possible values include "bunzip2 -c" or "bzip2 -d -c". |
Bernhard Reutner-Fischer | 859b913 | 2006-10-01 15:07:45 +0000 | [diff] [blame] | 53 | |
Bernhard Reutner-Fischer | ce90aae | 2005-12-10 14:59:02 +0000 | [diff] [blame] | 54 | config BR2_TAR_OPTIONS |
| 55 | string "Tar options" |
Bernhard Reutner-Fischer | 7df4de6 | 2005-12-10 15:36:43 +0000 | [diff] [blame] | 56 | default "" |
| 57 | help |
| 58 | Options to pass to tar when extracting the sources. |
| 59 | E.g. " -v --exclude='*.svn*'" to exclude all .svn internal files |
| 60 | and to be verbose. |
Bernhard Reutner-Fischer | ce90aae | 2005-12-10 14:59:02 +0000 | [diff] [blame] | 61 | |
Mike Frysinger | 59a63a9 | 2005-10-01 00:35:24 +0000 | [diff] [blame] | 62 | config BR2_DL_DIR |
| 63 | string "Download dir" |
| 64 | default "$(BASE_DIR)/dl" |
| 65 | help |
| 66 | Directory to store all the source files that we need to fetch. |
Ulf Samuelsson | 67050e1 | 2007-08-21 01:28:12 +0000 | [diff] [blame] | 67 | If the Linux shell environment has defined the BUILDROOT_DL_DIR |
| 68 | environment variable, then this overrides this configuration item. |
Mike Frysinger | 59a63a9 | 2005-10-01 00:35:24 +0000 | [diff] [blame] | 69 | |
Bernhard Reutner-Fischer | 4b0d5a8 | 2007-09-26 21:12:38 +0000 | [diff] [blame] | 70 | The default is $(BASE_DIR)/dl |
| 71 | |
Bernhard Reutner-Fischer | bb9e6a7 | 2007-09-28 21:54:36 +0000 | [diff] [blame] | 72 | source "target/device/Config.in.mirrors" |
Bernhard Reutner-Fischer | 98a7a4c | 2007-08-28 21:42:44 +0000 | [diff] [blame] | 73 | |
Eric Andersen | ba7c48f | 2004-12-11 10:25:40 +0000 | [diff] [blame] | 74 | config BR2_STAGING_DIR |
| 75 | string "Toolchain and header file location?" |
| 76 | default "$(BUILD_DIR)/staging_dir" |
| 77 | help |
Bernhard Reutner-Fischer | 93ab6d3 | 2007-01-28 12:03:58 +0000 | [diff] [blame] | 78 | This is the location where the toolchain will be installed. The |
| 79 | toolchain will not work if it is moved from this location. |
| 80 | Therefore, if you wish to package up a uClibc toolchain, it is |
| 81 | important that is is set to the final location where the toolchain |
| 82 | will be used. |
Eric Andersen | ba7c48f | 2004-12-11 10:25:40 +0000 | [diff] [blame] | 83 | |
Bernhard Reutner-Fischer | 93ab6d3 | 2007-01-28 12:03:58 +0000 | [diff] [blame] | 84 | Most people will leave this set to the default value of |
| 85 | "$(BUILD_DIR)/staging_dir". |
Eric Andersen | ba7c48f | 2004-12-11 10:25:40 +0000 | [diff] [blame] | 86 | |
Ulf Samuelsson | 3c27391 | 2007-10-18 12:38:26 +0000 | [diff] [blame] | 87 | config BR2_FPU_SUFFIX |
| 88 | bool "Add '_nofpu' suffix for softfloat toolchains" |
| 89 | default n |
| 90 | help |
| 91 | If the toolchain is configured to use softfloat, then |
| 92 | the "_nofpu" suffix will be added to the toolchain build |
| 93 | directory name and to any rootfs image name |
| 94 | |
Mike Frysinger | e4de8b2 | 2005-09-18 04:41:57 +0000 | [diff] [blame] | 95 | config BR2_TOPDIR_PREFIX |
| 96 | string "Custom build dir prefix" |
| 97 | default "" |
| 98 | help |
Bernhard Reutner-Fischer | 93ab6d3 | 2007-01-28 12:03:58 +0000 | [diff] [blame] | 99 | Add a custom string to the beginning of the build directories. |
Mike Frysinger | e4de8b2 | 2005-09-18 04:41:57 +0000 | [diff] [blame] | 100 | |
Bernhard Reutner-Fischer | 93ab6d3 | 2007-01-28 12:03:58 +0000 | [diff] [blame] | 101 | build_ARCH -> [PREFIX]_build_ARCH |
| 102 | toolchain_build_ARCH -> [PREFIX]_toolchain_build_ARCH |
Mike Frysinger | e4de8b2 | 2005-09-18 04:41:57 +0000 | [diff] [blame] | 103 | |
| 104 | config BR2_TOPDIR_SUFFIX |
| 105 | string "Custom build dir suffix" |
| 106 | default "" |
| 107 | help |
Bernhard Reutner-Fischer | 93ab6d3 | 2007-01-28 12:03:58 +0000 | [diff] [blame] | 108 | Add a custom string to the end of the build directories. |
Mike Frysinger | e4de8b2 | 2005-09-18 04:41:57 +0000 | [diff] [blame] | 109 | |
Bernhard Reutner-Fischer | 93ab6d3 | 2007-01-28 12:03:58 +0000 | [diff] [blame] | 110 | build_ARCH -> build_ARCH_[SUFFIX] |
Bernhard Reutner-Fischer | 98a7a4c | 2007-08-28 21:42:44 +0000 | [diff] [blame] | 111 | toolchain_build_ARCH -> toolchain_build_ARCH_[SUFFIX] |
Mike Frysinger | e4de8b2 | 2005-09-18 04:41:57 +0000 | [diff] [blame] | 112 | |
Ulf Samuelsson | 79d42d3 | 2007-10-07 18:23:01 +0000 | [diff] [blame] | 113 | config BR2_ROOTFS_PREFIX |
| 114 | string "Custom root fs prefix" |
| 115 | default "rootfs" |
| 116 | help |
| 117 | Add a custom string to the beginning of the root file system name. |
| 118 | |
| 119 | config BR2_ROOTFS_SUFFIX |
| 120 | string "Custom root fs suffix" |
| 121 | default "$(DATE)" if BR2_TARGET_ATMEL |
| 122 | default "" if !BR2_TARGET_ATMEL |
| 123 | help |
| 124 | Add a custom string to the end of the root file system name. |
| 125 | |
Mike Frysinger | 70ea98e | 2005-12-27 08:42:13 +0000 | [diff] [blame] | 126 | config BR2_GNU_BUILD_SUFFIX |
| 127 | string "GNU build hostname suffix" |
| 128 | default "pc-linux-gnu" |
| 129 | help |
Bernhard Reutner-Fischer | 93ab6d3 | 2007-01-28 12:03:58 +0000 | [diff] [blame] | 130 | The string used to pass to configure scripts via the |
| 131 | --build= option. Just specify the suffix here, the leading |
| 132 | arch will be filled in automatically. |
Mike Frysinger | 70ea98e | 2005-12-27 08:42:13 +0000 | [diff] [blame] | 133 | |
Bernhard Reutner-Fischer | 93ab6d3 | 2007-01-28 12:03:58 +0000 | [diff] [blame] | 134 | Here's some copy and paste build host options for you: |
Mike Frysinger | 70ea98e | 2005-12-27 08:42:13 +0000 | [diff] [blame] | 135 | linux: pc-linux-gnu |
| 136 | cygwin: pc-cygwin |
| 137 | os x: apple-darwin7 / apple-darwin8 |
| 138 | |
Paul Mundt | d56e2b3 | 2006-06-05 21:49:44 +0000 | [diff] [blame] | 139 | config BR2_GNU_TARGET_SUFFIX |
| 140 | string "GNU target suffix" |
Paul Mundt | 61aa805 | 2006-06-05 22:11:01 +0000 | [diff] [blame] | 141 | default "linux-uclibcgnueabi" if BR2_ARM_EABI |
Paul Mundt | d56e2b3 | 2006-06-05 21:49:44 +0000 | [diff] [blame] | 142 | default "linux-uclibc" |
| 143 | help |
Bernhard Reutner-Fischer | 93ab6d3 | 2007-01-28 12:03:58 +0000 | [diff] [blame] | 144 | The string used to pass to configure scripts via the |
| 145 | --target= option. Just specify the suffix here, the leading |
| 146 | arch will be filled in automatically. |
Paul Mundt | d56e2b3 | 2006-06-05 21:49:44 +0000 | [diff] [blame] | 147 | |
Bernhard Reutner-Fischer | 93ab6d3 | 2007-01-28 12:03:58 +0000 | [diff] [blame] | 148 | Most users will want to stick with the default setting, though |
| 149 | other users (most notably ARM EABI) like to add on to this in |
| 150 | order to stay in line with gcc conventions. |
Paul Mundt | d56e2b3 | 2006-06-05 21:49:44 +0000 | [diff] [blame] | 151 | |
Bernhard Reutner-Fischer | 93ab6d3 | 2007-01-28 12:03:58 +0000 | [diff] [blame] | 152 | Default options are: |
Bernhard Reutner-Fischer | c3c100b | 2006-07-04 11:44:32 +0000 | [diff] [blame] | 153 | linux-uclibcgnueabi for ARM EABI |
| 154 | linux-uclibc for the rest |
Bernhard Reutner-Fischer | 0c16c17 | 2007-10-05 11:06:56 +0000 | [diff] [blame] | 155 | gnuhurd-uclibc for the hurd |
Bernhard Reutner-Fischer | c3c100b | 2006-07-04 11:44:32 +0000 | [diff] [blame] | 156 | |
Eric Andersen | 8e5fb3f | 2004-12-11 13:01:10 +0000 | [diff] [blame] | 157 | config BR2_JLEVEL |
| 158 | int "Number of jobs to run simultaneously" |
| 159 | default "1" |
| 160 | help |
Bernhard Reutner-Fischer | 93ab6d3 | 2007-01-28 12:03:58 +0000 | [diff] [blame] | 161 | Number of jobs to run simultaneously |
| 162 | |
| 163 | config BR2_PREFER_IMA |
| 164 | bool "prefer IMA compiles" |
| 165 | default n |
| 166 | help |
| 167 | Where possible, compile package with Inter Module Analysis. |
| 168 | This potentially uses alot of system resources on your compile |
| 169 | host with the benefit of creating smaller binaries for the target. |
| 170 | |
| 171 | If unsure, say No. |
| 172 | |
| 173 | WARNING: This is highly experimental at the moment. |
| 174 | |
Bernhard Reutner-Fischer | 7779fd7 | 2007-02-09 13:31:55 +0000 | [diff] [blame] | 175 | config BR2_DEPRECATED |
Bernhard Reutner-Fischer | 5e1f034 | 2007-02-09 13:35:41 +0000 | [diff] [blame] | 176 | bool "Show packages that are deprecated or obsolete" |
Bernhard Reutner-Fischer | 7779fd7 | 2007-02-09 13:31:55 +0000 | [diff] [blame] | 177 | default n |
| 178 | help |
Bernhard Reutner-Fischer | 5e1f034 | 2007-02-09 13:35:41 +0000 | [diff] [blame] | 179 | This option hides outdated/obsolete versions of packages. |
Eric Andersen | ba7c48f | 2004-12-11 10:25:40 +0000 | [diff] [blame] | 180 | |
Ulf Samuelsson | cfeb86e | 2007-10-07 18:29:17 +0000 | [diff] [blame] | 181 | config BR2_RECENT |
| 182 | bool "Show packages that are of the latest major version" |
| 183 | default y |
| 184 | help |
| 185 | This option show recent versions of packages. |
| 186 | |
Bernhard Reutner-Fischer | bbd251a | 2007-07-31 18:06:50 +0000 | [diff] [blame] | 187 | choice |
| 188 | prompt "strip" |
| 189 | default BR2_STRIP_strip |
| 190 | help |
| 191 | Select whether to strip binaries and libraries for the target |
| 192 | or not. |
| 193 | strip is the normal strip command |
| 194 | sstrip is a strip that discards more than the normal strip |
| 195 | none do not strip (only for debugging!) |
| 196 | |
| 197 | config BR2_STRIP_strip |
| 198 | bool "strip" |
| 199 | help |
| 200 | strip is the normal strip command |
Ulf Samuelsson | 85f54fb | 2007-08-24 05:31:07 +0000 | [diff] [blame] | 201 | |
Bernhard Reutner-Fischer | bbd251a | 2007-07-31 18:06:50 +0000 | [diff] [blame] | 202 | config BR2_STRIP_sstrip |
| 203 | bool "sstrip" |
| 204 | select BR2_PACKAGE_SSTRIP_HOST |
| 205 | help |
| 206 | sstrip is a strip that discards more than the normal strip |
Ulf Samuelsson | 85f54fb | 2007-08-24 05:31:07 +0000 | [diff] [blame] | 207 | |
Bernhard Reutner-Fischer | bbd251a | 2007-07-31 18:06:50 +0000 | [diff] [blame] | 208 | config BR2_STRIP_none |
| 209 | bool "none" |
| 210 | help |
| 211 | none do not strip (only for debugging!) |
| 212 | endchoice |
| 213 | |
Bernhard Reutner-Fischer | 3096f34 | 2007-06-01 22:16:28 +0000 | [diff] [blame] | 214 | config BR2_PREFER_STATIC_LIB |
| 215 | bool "prefer static libraries" |
| 216 | default n |
| 217 | help |
Bernhard Reutner-Fischer | ece6fe0 | 2007-06-02 16:36:43 +0000 | [diff] [blame] | 218 | Where possible, build and use static libraries for the target. |
| 219 | This potentially increases your code size and should only be |
| 220 | used if you know what you do. |
| 221 | The default is to build dynamic libraries and use those on |
| 222 | the target filesystem. |
Bernhard Reutner-Fischer | 3096f34 | 2007-06-01 22:16:28 +0000 | [diff] [blame] | 223 | |
| 224 | WARNING: This is highly experimental at the moment. |
| 225 | |
Bernhard Reutner-Fischer | 5795931 | 2007-08-21 14:20:59 +0000 | [diff] [blame] | 226 | config BR2_HAVE_MANPAGES |
| 227 | bool "manpages on the target" |
| 228 | default n |
| 229 | help |
| 230 | Leave the manpages on the target. |
| 231 | If you say n here, your target will not contain any |
| 232 | manpage. |
| 233 | |
| 234 | config BR2_HAVE_INFOPAGES |
| 235 | bool "infopages on the target" |
| 236 | default n |
| 237 | help |
| 238 | Leave the infopages on the target. |
| 239 | If you say n here, your target will not contain any |
| 240 | infopage. |
| 241 | |
John Voltz | bc67ca2 | 2008-03-10 15:22:43 +0000 | [diff] [blame^] | 242 | config BR2_TARGET_DEV_FILES |
| 243 | bool "Development files in target filesystem" |
| 244 | default n |
| 245 | help |
| 246 | Install headers and static libraries in the |
| 247 | target filesystem |
| 248 | |
Bernhard Reutner-Fischer | 5795931 | 2007-08-21 14:20:59 +0000 | [diff] [blame] | 249 | source package/gnuconfig/Config.in |
| 250 | |
Eric Andersen | 8e5fb3f | 2004-12-11 13:01:10 +0000 | [diff] [blame] | 251 | endmenu |
Eric Andersen | 2d523c2 | 2004-10-09 01:06:03 +0000 | [diff] [blame] | 252 | |
Bernhard Reutner-Fischer | 5010039 | 2007-09-25 07:55:45 +0000 | [diff] [blame] | 253 | source "toolchain/Config.in" |
| 254 | |
| 255 | source "package/Config.in" |
| 256 | |
| 257 | source "target/Config.in" |