samples/mipsel-sde-elf/crosstool.config
author Michael Hope <michael.hope@linaro.org>
Thu Sep 29 12:40:42 2011 +1300 (2011-09-29)
changeset 2695 f2495884ca3e
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 # crosstool-NG hg_default@2677_7df89370f805 Configuration
     4 # Sun Sep 25 14:27:04 2011
     5 #
     6 CT_CONFIGURE_has_xzutils=y
     7 CT_CONFIGURE_has_cvs=y
     8 CT_CONFIGURE_has_svn=y
     9 CT_CONFIGURE_static_link_ok=y
    10 CT_CONFIGURE_has_static_libstdcxx=y
    11 CT_CONFIGURE_has_expat=y
    12 CT_CONFIGURE_has_static_expat=y
    13 CT_MODULES=y
    14 
    15 #
    16 # Paths and misc options
    17 #
    18 
    19 #
    20 # crosstool-NG behavior
    21 #
    22 # CT_OBSOLETE is not set
    23 # CT_EXPERIMENTAL is not set
    24 # CT_DEBUG_CT is not set
    25 
    26 #
    27 # Paths
    28 #
    29 CT_LOCAL_TARBALLS_DIR="${HOME}/src"
    30 CT_SAVE_TARBALLS=y
    31 CT_WORK_DIR="${CT_TOP_DIR}/.build"
    32 CT_PREFIX_DIR="${HOME}/x-tools/${CT_TARGET}"
    33 CT_INSTALL_DIR="${CT_PREFIX_DIR}"
    34 CT_RM_RF_PREFIX_DIR=y
    35 CT_REMOVE_DOCS=y
    36 CT_INSTALL_DIR_RO=y
    37 CT_STRIP_ALL_TOOLCHAIN_EXECUTABLES=y
    38 
    39 #
    40 # Downloading
    41 #
    42 # CT_FORBID_DOWNLOAD is not set
    43 # CT_FORCE_DOWNLOAD is not set
    44 CT_CONNECT_TIMEOUT=10
    45 # CT_ONLY_DOWNLOAD is not set
    46 # CT_USE_MIRROR 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="mips"
    94 CT_ARCH_SUPPORTS_BOTH_ENDIAN=y
    95 CT_ARCH_SUPPORTS_32=y
    96 CT_ARCH_SUPPORT_ARCH=y
    97 CT_ARCH_SUPPORT_TUNE=y
    98 CT_ARCH_DEFAULT_BE=y
    99 CT_ARCH_DEFAULT_32=y
   100 CT_ARCH_ARCH=""
   101 CT_ARCH_TUNE=""
   102 # CT_ARCH_BE is not set
   103 CT_ARCH_LE=y
   104 CT_ARCH_32=y
   105 CT_ARCH_BITNESS=32
   106 # CT_ARCH_FLOAT_HW is not set
   107 CT_ARCH_FLOAT_SW=y
   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=y
   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 is not set
   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 # mips other options
   142 #
   143 CT_ARCH_mips_o32=y
   144 CT_ARCH_mips_ABI="32"
   145 
   146 #
   147 # Toolchain options
   148 #
   149 
   150 #
   151 # General toolchain options
   152 #
   153 CT_FORCE_SYSROOT=y
   154 CT_USE_SYSROOT=y
   155 CT_SYSROOT_NAME="sysroot"
   156 CT_SYSROOT_DIR_PREFIX=""
   157 CT_STATIC_TOOLCHAIN_POSSIBLE=y
   158 CT_TOOLCHAIN_PKGVERSION=""
   159 CT_TOOLCHAIN_BUGURL=""
   160 
   161 #
   162 # Tuple completion and aliasing
   163 #
   164 CT_TARGET_VENDOR="sde"
   165 CT_TARGET_ALIAS_SED_EXPR=""
   166 CT_TARGET_ALIAS=""
   167 
   168 #
   169 # Toolchain type
   170 #
   171 CT_CROSS=y
   172 CT_TOOLCHAIN_TYPE="cross"
   173 
   174 #
   175 # Build system
   176 #
   177 CT_BUILD=""
   178 CT_BUILD_PREFIX=""
   179 CT_BUILD_SUFFIX=""
   180 
   181 #
   182 # Operating System
   183 #
   184 CT_BARE_METAL=y
   185 CT_KERNEL="bare-metal"
   186 CT_KERNEL_bare_metal=y
   187 # CT_KERNEL_linux is not set
   188 CT_KERNEL_bare_metal_AVAILABLE=y
   189 CT_KERNEL_linux_AVAILABLE=y
   190 CT_KERNEL_mingw32_AVAILABLE=y
   191 
   192 #
   193 # Common kernel options
   194 #
   195 
   196 #
   197 # Binary utilities
   198 #
   199 CT_ARCH_BINFMT_ELF=y
   200 
   201 #
   202 # GNU binutils
   203 #
   204 CT_BINUTILS_V_2_21_1a=y
   205 # CT_BINUTILS_V_2_20_1a is not set
   206 # CT_BINUTILS_V_2_19_1a is not set
   207 # CT_BINUTILS_V_2_18a is not set
   208 CT_BINUTILS_VERSION="2.21.1a"
   209 CT_BINUTILS_2_21_or_later=y
   210 CT_BINUTILS_2_20_or_later=y
   211 CT_BINUTILS_2_19_or_later=y
   212 CT_BINUTILS_2_18_or_later=y
   213 CT_BINUTILS_HAS_GOLD=y
   214 CT_BINUTILS_HAS_PLUGINS=y
   215 CT_BINUTILS_HAS_PKGVERSION_BUGURL=y
   216 CT_BINUTILS_LINKER_LD=y
   217 CT_BINUTILS_LINKERS_LIST="ld"
   218 CT_BINUTILS_LINKER_DEFAULT="bfd"
   219 # CT_BINUTILS_PLUGINS is not set
   220 CT_BINUTILS_EXTRA_CONFIG_ARRAY=""
   221 
   222 #
   223 # C compiler
   224 #
   225 CT_CC="gcc"
   226 CT_CC_VERSION="4.4.6"
   227 CT_CC_gcc=y
   228 CT_CC_V_4_4_6=y
   229 # CT_CC_V_4_4_5 is not set
   230 # CT_CC_V_4_4_4 is not set
   231 # CT_CC_V_4_4_3 is not set
   232 # CT_CC_V_4_4_2 is not set
   233 # CT_CC_V_4_4_1 is not set
   234 # CT_CC_V_4_4_0 is not set
   235 # CT_CC_V_4_3_6 is not set
   236 # CT_CC_V_4_3_5 is not set
   237 # CT_CC_V_4_3_4 is not set
   238 # CT_CC_V_4_3_3 is not set
   239 # CT_CC_V_4_3_2 is not set
   240 # CT_CC_V_4_3_1 is not set
   241 # CT_CC_V_4_2_4 is not set
   242 # CT_CC_V_4_2_2 is not set
   243 CT_CC_GCC_4_2_or_later=y
   244 CT_CC_GCC_4_3_or_later=y
   245 CT_CC_GCC_4_4=y
   246 CT_CC_GCC_4_4_or_later=y
   247 CT_CC_GCC_HAS_GRAPHITE=y
   248 CT_CC_GCC_HAS_PKGVERSION_BUGURL=y
   249 CT_CC_GCC_USE_GMP_MPFR=y
   250 CT_CC_GCC_USE_PPL_CLOOG=y
   251 CT_CC_SUPPORT_CXX=y
   252 CT_CC_SUPPORT_FORTRAN=y
   253 CT_CC_SUPPORT_JAVA=y
   254 CT_CC_SUPPORT_ADA=y
   255 CT_CC_SUPPORT_OBJC=y
   256 CT_CC_SUPPORT_OBJCXX=y
   257 
   258 #
   259 # Additional supported languages:
   260 #
   261 # CT_CC_LANG_CXX is not set
   262 
   263 #
   264 # gcc other options
   265 #
   266 CT_CC_ENABLE_CXX_FLAGS=""
   267 CT_CC_CORE_EXTRA_CONFIG_ARRAY=""
   268 CT_CC_STATIC_LIBSTDCXX=y
   269 
   270 #
   271 # Optimisation features
   272 #
   273 CT_CC_GCC_USE_GRAPHITE=y
   274 
   275 #
   276 # Settings for libraries running on target
   277 #
   278 # CT_CC_GCC_ENABLE_TARGET_OPTSPACE is not set
   279 # CT_CC_GCC_LIBMUDFLAP is not set
   280 # CT_CC_GCC_LIBGOMP is not set
   281 # CT_CC_GCC_LIBSSP is not set
   282 
   283 #
   284 # Misc. obscure options.
   285 #
   286 # CT_CC_GCC_DISABLE_PCH is not set
   287 CT_CC_GCC_LDBL_128=m
   288 CT_CC_GCC_HAS_ARCH_OPTIONS=y
   289 
   290 #
   291 # archictecture-specific options
   292 #
   293 CT_CC_GCC_mips_llsc=m
   294 CT_CC_GCC_mips_synci=m
   295 # CT_CC_GCC_mips_plt is not set
   296 
   297 #
   298 # C-library
   299 #
   300 CT_LIBC="none"
   301 # CT_LIBC_newlib is not set
   302 CT_LIBC_none=y
   303 CT_LIBC_eglibc_AVAILABLE=y
   304 CT_LIBC_glibc_AVAILABLE=y
   305 CT_LIBC_mingw_AVAILABLE=y
   306 CT_LIBC_newlib_AVAILABLE=y
   307 CT_LIBC_none_AVAILABLE=y
   308 CT_LIBC_uClibc_AVAILABLE=y
   309 CT_THREADS="none"
   310 
   311 #
   312 # Debug facilities
   313 #
   314 # CT_DEBUG_dmalloc is not set
   315 # CT_DEBUG_duma is not set
   316 CT_DEBUG_gdb=y
   317 CT_GDB_CROSS=y
   318 # CT_GDB_CROSS_STATIC is not set
   319 
   320 #
   321 # In bare-metal, you'll need to   
   322 #
   323 
   324 #
   325 # provide your own gdbserver stub.
   326 #
   327 
   328 #
   329 # gdb version
   330 #
   331 CT_GDB_V_6_8a=y
   332 CT_GDB_VERSION="6.8a"
   333 # CT_DEBUG_ltrace is not set
   334 # CT_DEBUG_strace is not set
   335 
   336 #
   337 # Companion libraries
   338 #
   339 CT_COMPLIBS_NEEDED=y
   340 CT_GMP_NEEDED=y
   341 CT_MPFR_NEEDED=y
   342 CT_PPL_NEEDED=y
   343 CT_CLOOG_NEEDED=y
   344 CT_COMPLIBS=y
   345 CT_GMP=y
   346 CT_MPFR=y
   347 CT_PPL=y
   348 CT_CLOOG=y
   349 CT_GMP_V_4_3_2=y
   350 # CT_GMP_V_4_3_1 is not set
   351 # CT_GMP_V_4_3_0 is not set
   352 CT_GMP_VERSION="4.3.2"
   353 # CT_MPFR_V_3_0_0 is not set
   354 CT_MPFR_V_2_4_2=y
   355 # CT_MPFR_V_2_4_1 is not set
   356 # CT_MPFR_V_2_4_0 is not set
   357 CT_MPFR_VERSION="2.4.2"
   358 CT_PPL_V_0_10_2=y
   359 CT_PPL_VERSION="0.10.2"
   360 CT_CLOOG_V_0_15_10=y
   361 # CT_CLOOG_V_0_15_9 is not set
   362 # CT_CLOOG_V_0_15_8 is not set
   363 # CT_CLOOG_V_0_15_7 is not set
   364 # CT_CLOOG_V_0_15_6 is not set
   365 CT_CLOOG_VERSION="0.15.10"
   366 
   367 #
   368 # Companion libraries common options
   369 #
   370 # CT_COMPLIBS_CHECK is not set