| 1 | # |
|---|
| 2 | |
|---|
| 3 | config MODULES |
|---|
| 4 | bool |
|---|
| 5 | default y |
|---|
| 6 | |
|---|
| 7 | config BR2_HAVE_DOT_CONFIG |
|---|
| 8 | bool |
|---|
| 9 | default y |
|---|
| 10 | |
|---|
| 11 | mainmenu "Buildroot2 Configuration" |
|---|
| 12 | |
|---|
| 13 | menu "Build options" |
|---|
| 14 | |
|---|
| 15 | config BR2_WGET |
|---|
| 16 | string "Wget command" |
|---|
| 17 | default "wget --passive-ftp -nd" |
|---|
| 18 | |
|---|
| 19 | config BR2_SVN |
|---|
| 20 | string "Subversion (svn) checkout command" |
|---|
| 21 | default "svn co" |
|---|
| 22 | |
|---|
| 23 | config BR2_ZCAT |
|---|
| 24 | string "zcat command" |
|---|
| 25 | default "zcat" |
|---|
| 26 | help |
|---|
| 27 | Command to be used to extract a gzip'ed file to stdout. |
|---|
| 28 | zcat is identical to gunzip -c except that the former may |
|---|
| 29 | not be available on your system. |
|---|
| 30 | Default is "zcat" |
|---|
| 31 | Other possible values include "gunzip -c" or "gzip -d -c". |
|---|
| 32 | |
|---|
| 33 | config BR2_BZCAT |
|---|
| 34 | string "bzcat command" |
|---|
| 35 | default "bzcat" |
|---|
| 36 | help |
|---|
| 37 | Command to be used to extract a bzip2'ed file to stdout. |
|---|
| 38 | bzcat is identical to bunzip2 -c except that the former may |
|---|
| 39 | not be available on your system. |
|---|
| 40 | Default is "bzcat" |
|---|
| 41 | Other possible values include "bunzip2 -c" or "bzip2 -d -c". |
|---|
| 42 | |
|---|
| 43 | config BR2_UPX |
|---|
| 44 | string "upx command" |
|---|
| 45 | default "upx-1.11" |
|---|
| 46 | help |
|---|
| 47 | Command to (eventually) be used to compress the Linux kernel. |
|---|
| 48 | |
|---|
| 49 | config BR2_TAR_OPTIONS |
|---|
| 50 | string "Tar options" |
|---|
| 51 | default "--format oldgnu" |
|---|
| 52 | help |
|---|
| 53 | Options to pass to tar when extracting the sources. |
|---|
| 54 | E.g. " -v --exclude='*.svn*'" to exclude all .svn internal files |
|---|
| 55 | and to be verbose. |
|---|
| 56 | |
|---|
| 57 | config BR2_DL_DIR |
|---|
| 58 | string "Download dir" |
|---|
| 59 | default "$(BASE_DIR)/downloads" |
|---|
| 60 | help |
|---|
| 61 | Directory to store all the source files that we need to fetch. |
|---|
| 62 | |
|---|
| 63 | config BR2_SOURCEFORGE_MIRROR_SITE |
|---|
| 64 | string "Sourceforge mirror site" |
|---|
| 65 | default "easynews" |
|---|
| 66 | help |
|---|
| 67 | Sourceforge has a system of mirror sites. Some sites may be closer |
|---|
| 68 | to your location, and sometimes mirror sites go down and are no longer |
|---|
| 69 | available. This option allows you to select your preferred Sourceforge |
|---|
| 70 | mirror site. |
|---|
| 71 | |
|---|
| 72 | The list of mirrors is available here: |
|---|
| 73 | http://prdownloads.sourceforge.net/index-sf.html?download |
|---|
| 74 | |
|---|
| 75 | config BR2_STAGING_DIR |
|---|
| 76 | string "Toolchain and header file location?" |
|---|
| 77 | default "$(BUILD_DIR)/staging_dir" |
|---|
| 78 | help |
|---|
| 79 | This is the location where the toolchain will be installed. The |
|---|
| 80 | toolchain will not work if it is moved from this location. |
|---|
| 81 | Therefore, if you wish to package up a uClibc toolchain, it is |
|---|
| 82 | important that is is set to the final location where the toolchain |
|---|
| 83 | will be used. |
|---|
| 84 | |
|---|
| 85 | Most people will leave this set to the default value of |
|---|
| 86 | "$(BUILD_DIR)/staging_dir". |
|---|
| 87 | |
|---|
| 88 | config BR2_TOPDIR_PREFIX |
|---|
| 89 | string "Custom build dir prefix" |
|---|
| 90 | default "" |
|---|
| 91 | help |
|---|
| 92 | Add a custom string to the beginning of the build directories. |
|---|
| 93 | |
|---|
| 94 | build_ARCH -> [PREFIX]_build_ARCH |
|---|
| 95 | toolchain_build_ARCH -> [PREFIX]_toolchain_build_ARCH |
|---|
| 96 | |
|---|
| 97 | config BR2_TOPDIR_SUFFIX |
|---|
| 98 | string "Custom build dir suffix" |
|---|
| 99 | default "" |
|---|
| 100 | help |
|---|
| 101 | Add a custom string to the end of the build directories. |
|---|
| 102 | |
|---|
| 103 | build_ARCH -> build_ARCH_[SUFFIX] |
|---|
| 104 | toolchain_build_ARCH -> toolchain_build_ARCH_[SUFFIX] |
|---|
| 105 | |
|---|
| 106 | config BR2_GNU_BUILD_SUFFIX |
|---|
| 107 | string "GNU build hostname suffix" |
|---|
| 108 | default "pc-linux-gnu" |
|---|
| 109 | help |
|---|
| 110 | The string used to pass to configure scripts via the |
|---|
| 111 | --build= option. Just specify the suffix here, the leading |
|---|
| 112 | arch will be filled in automatically. |
|---|
| 113 | |
|---|
| 114 | Here's some copy and paste build host options for you: |
|---|
| 115 | linux: pc-linux-gnu |
|---|
| 116 | cygwin: pc-cygwin |
|---|
| 117 | os x: apple-darwin7 / apple-darwin8 |
|---|
| 118 | |
|---|
| 119 | config BR2_GNU_TARGET_SUFFIX |
|---|
| 120 | string "GNU target suffix" |
|---|
| 121 | default "linux-uclibcgnueabi" if BR2_ARM_EABI |
|---|
| 122 | default "linux-uclibc" |
|---|
| 123 | help |
|---|
| 124 | The string used to pass to configure scripts via the |
|---|
| 125 | --target= option. Just specify the suffix here, the leading |
|---|
| 126 | arch will be filled in automatically. |
|---|
| 127 | |
|---|
| 128 | Most users will want to stick with the default setting, though |
|---|
| 129 | other users (most notably ARM EABI) like to add on to this in |
|---|
| 130 | order to stay in line with gcc conventions. |
|---|
| 131 | |
|---|
| 132 | Default options are: |
|---|
| 133 | linux-uclibcgnueabi for ARM EABI |
|---|
| 134 | linux-uclibc for the rest |
|---|
| 135 | |
|---|
| 136 | config BR2_JLEVEL |
|---|
| 137 | int "Number of jobs to run simultaneously" |
|---|
| 138 | default "1" |
|---|
| 139 | help |
|---|
| 140 | Number of jobs to run simultaneously |
|---|
| 141 | |
|---|
| 142 | endmenu |
|---|
| 143 | |
|---|
| 144 | source "package/Config.in" |
|---|
| 145 | |
|---|
| 146 | source "target/Config.in" |
|---|
| 147 | |
|---|
| 148 | choice |
|---|
| 149 | prompt "Target Architecture" |
|---|
| 150 | default BR2_i386 |
|---|
| 151 | help |
|---|
| 152 | Stuff |
|---|
| 153 | |
|---|
| 154 | config BR2_alpha |
|---|
| 155 | bool "alpha" |
|---|
| 156 | config BR2_arm |
|---|
| 157 | bool "arm" |
|---|
| 158 | config BR2_armeb |
|---|
| 159 | bool "armeb" |
|---|
| 160 | config BR2_cris |
|---|
| 161 | bool "cris" |
|---|
| 162 | config BR2_i386 |
|---|
| 163 | bool "i386" |
|---|
| 164 | config BR2_m68k |
|---|
| 165 | bool "m68k" |
|---|
| 166 | config BR2_mips |
|---|
| 167 | bool "mips" |
|---|
| 168 | config BR2_mipsel |
|---|
| 169 | bool "mipsel" |
|---|
| 170 | config BR2_nios2 |
|---|
| 171 | bool "nios2" |
|---|
| 172 | config BR2_powerpc |
|---|
| 173 | bool "powerpc" |
|---|
| 174 | config BR2_sh |
|---|
| 175 | bool "superh" |
|---|
| 176 | config BR2_sh64 |
|---|
| 177 | bool "superh64" |
|---|
| 178 | config BR2_sparc |
|---|
| 179 | bool "sparc" |
|---|
| 180 | config BR2_x86_64 |
|---|
| 181 | bool "x86_64" |
|---|
| 182 | endchoice |
|---|
| 183 | |
|---|