samples/x86_64-unknown-linux-gnu/crosstool.config
author Michael Hope <michael.hope@linaro.org>
Thu Sep 29 12:40:42 2011 +1300 (2011-09-29)
changeset 2695 f2495884ca3e
parent 2581 181206f4bdbc
child 2724 a32156bd31c0
permissions -rw-r--r--
config: add a 'auto' value for the number of parallel jobs

When CT_PARALLEL_JOBS is -1, set the number of parallel jobs to the
number of online CPUs + 1. Update documentation to match.

I find this useful when building in the cloud. You can use the same
.config file and have the build adapt to the number of processors
available. Limited testing shows that NCPUS+1 is faster than NCPUS+0
or NCPUS+2.

Signed-off-by: Michael Hope <michael.hope@linaro.org>
     1 #
     2 # Automatically generated make config: don't edit
     3 # The crosstool-NG configuration menu
     4 # Sun Jul 31 01:22:17 2011
     5 #
     6 CT_CONFIGURE_has_cvs=y
     7 CT_CONFIGURE_has_svn=y
     8 CT_CONFIGURE_static_link_ok=y
     9 CT_CONFIGURE_has_static_libstdcxx=y
    10 CT_CONFIGURE_has_expat=y
    11 CT_CONFIGURE_has_static_expat=y
    12 CT_MODULES=y
    13 
    14 #
    15 # Paths and misc options
    16 #
    17 
    18 #
    19 # crosstool-NG behavior
    20 #
    21 # CT_OBSOLETE is not set
    22 # CT_EXPERIMENTAL is not set
    23 # CT_DEBUG_CT is not set
    24 
    25 #
    26 # Paths
    27 #
    28 CT_LOCAL_TARBALLS_DIR="${HOME}/src"
    29 CT_SAVE_TARBALLS=y
    30 CT_WORK_DIR="${CT_TOP_DIR}/.build"
    31 CT_PREFIX_DIR="${HOME}/x-tools/${CT_TARGET}"
    32 CT_INSTALL_DIR="${CT_PREFIX_DIR}"
    33 CT_RM_RF_PREFIX_DIR=y
    34 CT_REMOVE_DOCS=y
    35 CT_INSTALL_DIR_RO=y
    36 CT_STRIP_ALL_TOOLCHAIN_EXECUTABLES=y
    37 
    38 #
    39 # Downloading
    40 #
    41 # CT_FORBID_DOWNLOAD is not set
    42 # CT_FORCE_DOWNLOAD is not set
    43 # CT_USE_MIRROR is not set
    44 # CT_PREFER_MIRROR is not set
    45 CT_CONNECT_TIMEOUT=10
    46 # CT_ONLY_DOWNLOAD is not set
    47 
    48 #
    49 # Extracting
    50 #
    51 # CT_FORCE_EXTRACT is not set
    52 CT_OVERIDE_CONFIG_GUESS_SUB=y
    53 # CT_ONLY_EXTRACT is not set
    54 CT_PATCH_BUNDLED=y
    55 # CT_PATCH_LOCAL is not set
    56 # CT_PATCH_BUNDLED_LOCAL is not set
    57 # CT_PATCH_LOCAL_BUNDLED is not set
    58 # CT_PATCH_BUNDLED_FALLBACK_LOCAL is not set
    59 # CT_PATCH_LOCAL_FALLBACK_BUNDLED is not set
    60 # CT_PATCH_NONE is not set
    61 CT_PATCH_ORDER="bundled"
    62 
    63 #
    64 # Build behavior
    65 #
    66 CT_PARALLEL_JOBS=1
    67 CT_LOAD=0
    68 CT_USE_PIPES=y
    69 # CT_CONFIG_SHELL_SH is not set
    70 # CT_CONFIG_SHELL_ASH is not set
    71 CT_CONFIG_SHELL_BASH=y
    72 # CT_CONFIG_SHELL_CUSTOM is not set
    73 CT_CONFIG_SHELL="bash"
    74 
    75 #
    76 # Logging
    77 #
    78 # CT_LOG_ERROR is not set
    79 # CT_LOG_WARN is not set
    80 # CT_LOG_INFO is not set
    81 CT_LOG_EXTRA=y
    82 # CT_LOG_ALL is not set
    83 # CT_LOG_DEBUG is not set
    84 CT_LOG_LEVEL_MAX="EXTRA"
    85 # CT_LOG_SEE_TOOLS_WARN is not set
    86 CT_LOG_PROGRESS_BAR=y
    87 CT_LOG_TO_FILE=y
    88 CT_LOG_FILE_COMPRESS=y
    89 
    90 #
    91 # Target options
    92 #
    93 CT_ARCH="x86"
    94 CT_ARCH_SUPPORTS_32=y
    95 CT_ARCH_SUPPORTS_64=y
    96 CT_ARCH_SUPPORT_ARCH=y
    97 CT_ARCH_SUPPORT_CPU=y
    98 CT_ARCH_SUPPORT_TUNE=y
    99 CT_ARCH_DEFAULT_32=y
   100 CT_ARCH_ARCH=""
   101 CT_ARCH_CPU=""
   102 CT_ARCH_TUNE=""
   103 # CT_ARCH_32 is not set
   104 CT_ARCH_64=y
   105 CT_ARCH_BITNESS=64
   106 CT_ARCH_FLOAT_HW=y
   107 # CT_ARCH_FLOAT_SW is not set
   108 CT_TARGET_CFLAGS=""
   109 CT_TARGET_LDFLAGS=""
   110 # CT_ARCH_alpha is not set
   111 # CT_ARCH_arm is not set
   112 # CT_ARCH_avr32 is not set
   113 # CT_ARCH_blackfin is not set
   114 # CT_ARCH_mips is not set
   115 # CT_ARCH_powerpc is not set
   116 # CT_ARCH_sh is not set
   117 # CT_ARCH_sparc is not set
   118 CT_ARCH_x86=y
   119 CT_ARCH_alpha_AVAILABLE=y
   120 CT_ARCH_arm_AVAILABLE=y
   121 CT_ARCH_avr32_AVAILABLE=y
   122 CT_ARCH_blackfin_AVAILABLE=y
   123 CT_ARCH_m68k_AVAILABLE=y
   124 CT_ARCH_mips_AVAILABLE=y
   125 CT_ARCH_powerpc_AVAILABLE=y
   126 CT_ARCH_s390_AVAILABLE=y
   127 CT_ARCH_sh_AVAILABLE=y
   128 CT_ARCH_sparc_AVAILABLE=y
   129 CT_ARCH_x86_AVAILABLE=y
   130 
   131 #
   132 # Generic target options
   133 #
   134 CT_ARCH_USE_MMU=y
   135 
   136 #
   137 # Target optimisations
   138 #
   139 
   140 #
   141 # Toolchain options
   142 #
   143 
   144 #
   145 # General toolchain options
   146 #
   147 CT_FORCE_SYSROOT=y
   148 CT_USE_SYSROOT=y
   149 CT_SYSROOT_NAME="sysroot"
   150 CT_SYSROOT_DIR_PREFIX=""
   151 CT_STATIC_TOOLCHAIN_POSSIBLE=y
   152 CT_TOOLCHAIN_PKGVERSION=""
   153 CT_TOOLCHAIN_BUGURL=""
   154 
   155 #
   156 # Tuple completion and aliasing
   157 #
   158 CT_TARGET_VENDOR="unknown"
   159 CT_TARGET_ALIAS_SED_EXPR=""
   160 CT_TARGET_ALIAS=""
   161 
   162 #
   163 # Toolchain type
   164 #
   165 CT_CROSS=y
   166 CT_TOOLCHAIN_TYPE="cross"
   167 
   168 #
   169 # Build system
   170 #
   171 CT_BUILD=""
   172 CT_BUILD_PREFIX=""
   173 CT_BUILD_SUFFIX=""
   174 
   175 #
   176 # Operating System
   177 #
   178 CT_KERNEL_SUPPORTS_SHARED_LIBS=y
   179 CT_KERNEL="linux"
   180 CT_KERNEL_VERSION="2.6.33.16"
   181 # CT_KERNEL_bare_metal is not set
   182 CT_KERNEL_linux=y
   183 CT_KERNEL_bare_metal_AVAILABLE=y
   184 CT_KERNEL_linux_AVAILABLE=y
   185 CT_KERNEL_LINUX_INSTALL=y
   186 # CT_KERNEL_LINUX_USE_CUSTOM_HEADERS is not set
   187 # CT_KERNEL_V_3_0 is not set
   188 # CT_KERNEL_V_2_6_39_3 is not set
   189 # CT_KERNEL_V_2_6_39_2 is not set
   190 # CT_KERNEL_V_2_6_39_1 is not set
   191 # CT_KERNEL_V_2_6_39 is not set
   192 # CT_KERNEL_V_2_6_38_8 is not set
   193 # CT_KERNEL_V_2_6_37_6 is not set
   194 # CT_KERNEL_V_2_6_36_4 is not set
   195 # CT_KERNEL_V_2_6_35_13 is not set
   196 # CT_KERNEL_V_2_6_34_10 is not set
   197 CT_KERNEL_V_2_6_33_16=y
   198 # CT_KERNEL_V_2_6_32_43 is not set
   199 # CT_KERNEL_V_2_6_31_14 is not set
   200 # CT_KERNEL_V_2_6_27_59 is not set
   201 # CT_KERNEL_LINUX_CUSTOM is not set
   202 CT_KERNEL_mingw32_AVAILABLE=y
   203 
   204 #
   205 # Common kernel options
   206 #
   207 CT_SHARED_LIBS=y
   208 
   209 #
   210 # linux other options
   211 #
   212 CT_KERNEL_LINUX_VERBOSITY_0=y
   213 # CT_KERNEL_LINUX_VERBOSITY_1 is not set
   214 # CT_KERNEL_LINUX_VERBOSITY_2 is not set
   215 CT_KERNEL_LINUX_VERBOSE_LEVEL=0
   216 CT_KERNEL_LINUX_INSTALL_CHECK=y
   217 
   218 #
   219 # Binary utilities
   220 #
   221 CT_ARCH_BINFMT_ELF=y
   222 
   223 #
   224 # GNU binutils
   225 #
   226 # CT_BINUTILS_V_2_20_1 is not set
   227 CT_BINUTILS_V_2_20=y
   228 # CT_BINUTILS_V_2_19_1 is not set
   229 # CT_BINUTILS_V_2_19 is not set
   230 # CT_BINUTILS_V_2_18 is not set
   231 CT_BINUTILS_VERSION="2.20"
   232 CT_BINUTILS_2_20_or_later=y
   233 CT_BINUTILS_2_19_or_later=y
   234 CT_BINUTILS_2_18_or_later=y
   235 CT_BINUTILS_GOLD_SUPPORTS_ARCH=y
   236 CT_BINUTILS_HAS_PKGVERSION_BUGURL=y
   237 CT_BINUTILS_FORCE_LD_BFD=y
   238 CT_BINUTILS_LINKER_LD=y
   239 CT_BINUTILS_LINKERS_LIST="ld"
   240 CT_BINUTILS_LINKER_DEFAULT="bfd"
   241 CT_BINUTILS_EXTRA_CONFIG_ARRAY=""
   242 CT_BINUTILS_FOR_TARGET=y
   243 CT_BINUTILS_FOR_TARGET_IBERTY=y
   244 CT_BINUTILS_FOR_TARGET_BFD=y
   245 
   246 #
   247 # C compiler
   248 #
   249 CT_CC="gcc"
   250 CT_CC_VERSION="4.4.3"
   251 CT_CC_gcc=y
   252 # CT_CC_V_4_4_6 is not set
   253 # CT_CC_V_4_4_5 is not set
   254 # CT_CC_V_4_4_4 is not set
   255 CT_CC_V_4_4_3=y
   256 # CT_CC_V_4_4_2 is not set
   257 # CT_CC_V_4_4_1 is not set
   258 # CT_CC_V_4_4_0 is not set
   259 # CT_CC_V_4_3_6 is not set
   260 # CT_CC_V_4_3_5 is not set
   261 # CT_CC_V_4_3_4 is not set
   262 # CT_CC_V_4_3_3 is not set
   263 # CT_CC_V_4_3_2 is not set
   264 # CT_CC_V_4_3_1 is not set
   265 # CT_CC_V_4_2_4 is not set
   266 # CT_CC_V_4_2_2 is not set
   267 CT_CC_GCC_4_2_or_later=y
   268 CT_CC_GCC_4_3_or_later=y
   269 CT_CC_GCC_4_4=y
   270 CT_CC_GCC_4_4_or_later=y
   271 CT_CC_GCC_HAS_GRAPHITE=y
   272 CT_CC_GCC_HAS_PKGVERSION_BUGURL=y
   273 CT_CC_GCC_USE_GMP_MPFR=y
   274 CT_CC_GCC_USE_PPL_CLOOG=y
   275 CT_CC_LANG_JAVA_USE_ECJ=y
   276 CT_CC_SUPPORT_CXX=y
   277 CT_CC_SUPPORT_FORTRAN=y
   278 CT_CC_SUPPORT_JAVA=y
   279 CT_CC_SUPPORT_ADA=y
   280 CT_CC_SUPPORT_OBJC=y
   281 CT_CC_SUPPORT_OBJCXX=y
   282 
   283 #
   284 # Additional supported languages:
   285 #
   286 CT_CC_LANG_CXX=y
   287 CT_CC_LANG_FORTRAN=y
   288 CT_CC_LANG_JAVA=y
   289 
   290 #
   291 # gcc other options
   292 #
   293 CT_CC_ENABLE_CXX_FLAGS=""
   294 CT_CC_CORE_EXTRA_CONFIG_ARRAY=""
   295 CT_CC_EXTRA_CONFIG_ARRAY=""
   296 CT_CC_STATIC_LIBSTDCXX=y
   297 
   298 #
   299 # Optimisation features
   300 #
   301 CT_CC_GCC_USE_GRAPHITE=y
   302 
   303 #
   304 # Settings for libraries running on target
   305 #
   306 CT_CC_GCC_ENABLE_TARGET_OPTSPACE=y
   307 # CT_CC_GCC_LIBMUDFLAP is not set
   308 # CT_CC_GCC_LIBGOMP is not set
   309 # CT_CC_GCC_LIBSSP is not set
   310 
   311 #
   312 # Misc. obscure options.
   313 #
   314 CT_CC_CXA_ATEXIT=y
   315 # CT_CC_GCC_DISABLE_PCH is not set
   316 CT_CC_GCC_SJLJ_EXCEPTIONS=m
   317 CT_CC_GCC_LDBL_128=m
   318 
   319 #
   320 # C-library
   321 #
   322 CT_LIBC="glibc"
   323 CT_LIBC_VERSION="2.9"
   324 # CT_LIBC_eglibc is not set
   325 CT_LIBC_glibc=y
   326 # CT_LIBC_uClibc is not set
   327 CT_LIBC_eglibc_AVAILABLE=y
   328 CT_LIBC_glibc_AVAILABLE=y
   329 CT_LIBC_GLIBC_TARBALL=y
   330 CT_LIBC_GLIBC_V_2_9=y
   331 # CT_LIBC_GLIBC_V_2_8 is not set
   332 CT_LIBC_mingw_AVAILABLE=y
   333 CT_LIBC_newlib_AVAILABLE=y
   334 CT_LIBC_none_AVAILABLE=y
   335 CT_LIBC_uClibc_AVAILABLE=y
   336 CT_LIBC_SUPPORT_THREADS_ANY=y
   337 CT_LIBC_SUPPORT_NPTL=y
   338 CT_THREADS="nptl"
   339 
   340 #
   341 # Common C library options
   342 #
   343 CT_THREADS_NPTL=y
   344 CT_LIBC_XLDD=y
   345 CT_LIBC_glibc_familly=y
   346 CT_LIBC_GLIBC_EXTRA_CONFIG_ARRAY=""
   347 CT_LIBC_GLIBC_CONFIGPARMS=""
   348 CT_LIBC_GLIBC_EXTRA_CFLAGS=""
   349 CT_LIBC_EXTRA_CC_ARGS=""
   350 # CT_LIBC_DISABLE_VERSIONING is not set
   351 CT_LIBC_OLDEST_ABI=""
   352 CT_LIBC_GLIBC_FORCE_UNWIND=y
   353 # CT_LIBC_GLIBC_USE_PORTS is not set
   354 CT_LIBC_ADDONS_LIST=""
   355 # CT_LIBC_GLIBC_KERNEL_VERSION_NONE is not set
   356 CT_LIBC_GLIBC_KERNEL_VERSION_AS_HEADERS=y
   357 # CT_LIBC_GLIBC_KERNEL_VERSION_CHOSEN is not set
   358 CT_LIBC_GLIBC_MIN_KERNEL="2.6.33.16"
   359 
   360 #
   361 # glibc other options
   362 #
   363 
   364 #
   365 # Debug facilities
   366 #
   367 CT_DEBUG_dmalloc=y
   368 CT_DMALLOC_V_5_5_2=y
   369 CT_DMALLOC_VERSION="5.5.2"
   370 CT_DEBUG_duma=y
   371 CT_DUMA_A=y
   372 CT_DUMA_SO=y
   373 CT_DUMA_V_2_5_15=y
   374 CT_DUMA_VERSION="2_5_15"
   375 CT_DEBUG_gdb=y
   376 CT_GDB_CROSS=y
   377 # CT_GDB_CROSS_STATIC is not set
   378 CT_GDB_NATIVE=y
   379 # CT_GDB_NATIVE_STATIC is not set
   380 CT_GDB_GDBSERVER=y
   381 CT_GDB_GDBSERVER_STATIC=y
   382 
   383 #
   384 # gdb version
   385 #
   386 CT_GDB_V_6_8=y
   387 CT_GDB_VERSION="6.8"
   388 CT_DEBUG_ltrace=y
   389 CT_LTRACE_V_0_5_3=y
   390 # CT_LTRACE_V_0_5_2 is not set
   391 CT_LTRACE_VERSION="0.5.3"
   392 CT_LTRACE_0_5_3_or_later=y
   393 CT_DEBUG_strace=y
   394 CT_STRACE_V_4_5_19=y
   395 # CT_STRACE_V_4_5_18 is not set
   396 CT_STRACE_VERSION="4.5.19"
   397 
   398 #
   399 # Companion libraries
   400 #
   401 CT_COMPLIBS_NEEDED=y
   402 CT_GMP_NEEDED=y
   403 CT_MPFR_NEEDED=y
   404 CT_PPL_NEEDED=y
   405 CT_CLOOG_NEEDED=y
   406 CT_COMPLIBS=y
   407 CT_GMP=y
   408 CT_MPFR=y
   409 CT_PPL=y
   410 CT_CLOOG=y
   411 CT_LIBELF_TARGET=y
   412 CT_GMP_V_4_3_2=y
   413 # CT_GMP_V_4_3_1 is not set
   414 # CT_GMP_V_4_3_0 is not set
   415 CT_GMP_VERSION="4.3.2"
   416 # CT_MPFR_V_3_0_0 is not set
   417 CT_MPFR_V_2_4_2=y
   418 # CT_MPFR_V_2_4_1 is not set
   419 # CT_MPFR_V_2_4_0 is not set
   420 CT_MPFR_VERSION="2.4.2"
   421 CT_PPL_V_0_10_2=y
   422 CT_PPL_VERSION="0.10.2"
   423 # CT_CLOOG_V_0_15_10 is not set
   424 CT_CLOOG_V_0_15_9=y
   425 # CT_CLOOG_V_0_15_8 is not set
   426 # CT_CLOOG_V_0_15_7 is not set
   427 # CT_CLOOG_V_0_15_6 is not set
   428 CT_CLOOG_VERSION="0.15.9"
   429 
   430 #
   431 # libelf version needed to build for target
   432 #
   433 CT_LIBELF_V_0_8_13=y
   434 # CT_LIBELF_V_0_8_12 is not set
   435 CT_LIBELF_VERSION="0.8.13"
   436 
   437 #
   438 # Companion libraries common options
   439 #
   440 # CT_COMPLIBS_CHECK is not set