samples/mips-ar2315-linux-gnu/crosstool.config
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Mon Mar 29 00:15:32 2010 +0200 (2010-03-29)
changeset 1864 758d5137fe87
parent 1812 9c3bfbb46b19
child 1941 591a6de0f04d
permissions -rw-r--r--
scripts/populate: optimise search loop

Curently, populate will iterate over all ELF (shared objects|executables)
to look for missing NEEDED DSOs, adding to the list at every iterations
of the search loop.

Instead of looking again at previously handled ELF files, recursively
resolve every ELf files.

Also, in case there are a whole lot of files (more than the shell can
accept as arguments list, or creating a command line longer than the
shell can cope with), use a temporary file with the list of files
to search for missing dependencies.
     1 #
     2 # Automatically generated make config: don't edit
     3 # crosstool-NG version: hg_default@1841_37d55cfe1262
     4 # Fri Mar 19 18:57:41 2010
     5 #
     6 
     7 #
     8 # Paths and misc options
     9 #
    10 
    11 #
    12 # crosstool-NG behavior
    13 #
    14 # CT_OBSOLETE is not set
    15 CT_EXPERIMENTAL=y
    16 CT_DEBUG_CT=y
    17 # CT_DEBUG_PAUSE_STEPS is not set
    18 CT_DEBUG_CT_SAVE_STEPS=y
    19 CT_DEBUG_CT_SAVE_STEPS_GZIP=y
    20 # CT_NO_OVERIDE_LC_MESSAGES is not set
    21 
    22 #
    23 # Paths
    24 #
    25 CT_LOCAL_TARBALLS_DIR="${HOME}/src"
    26 CT_SAVE_TARBALLS=y
    27 CT_WORK_DIR="${CT_TOP_DIR}/targets"
    28 CT_PREFIX_DIR="${HOME}/x-tools/${CT_TARGET}"
    29 CT_INSTALL_DIR="${CT_PREFIX_DIR}"
    30 CT_REMOVE_DOCS=y
    31 CT_INSTALL_DIR_RO=y
    32 
    33 #
    34 # Downloading
    35 #
    36 # CT_FORBID_DOWNLOAD is not set
    37 # CT_FORCE_DOWNLOAD is not set
    38 # CT_USE_MIRROR is not set
    39 CT_CONNECT_TIMEOUT=10
    40 CT_DOWNLOAD_MAX_CHUNKS=5
    41 # CT_ONLY_DOWNLOAD is not set
    42 
    43 #
    44 # Extracting
    45 #
    46 # CT_FORCE_EXTRACT is not set
    47 CT_OVERIDE_CONFIG_GUESS_SUB=y
    48 # CT_ONLY_EXTRACT is not set
    49 CT_PATCH_BUNDLED=y
    50 # CT_PATCH_LOCAL is not set
    51 # CT_PATCH_BUNDLED_LOCAL is not set
    52 # CT_PATCH_LOCAL_BUNDLED is not set
    53 # CT_PATCH_BUNDLED_FALLBACK_LOCAL is not set
    54 # CT_PATCH_LOCAL_FALLBACK_BUNDLED is not set
    55 # CT_PATCH_NONE is not set
    56 CT_PATCH_ORDER="bundled"
    57 # CT_PATCH_SINGLE is not set
    58 # CT_PATCH_USE_LOCAL is not set
    59 
    60 #
    61 # Build behavior
    62 #
    63 CT_PARALLEL_JOBS=1
    64 CT_LOAD=0
    65 CT_USE_PIPES=y
    66 # CT_CONFIG_SHELL_SH is not set
    67 # CT_CONFIG_SHELL_ASH is not set
    68 CT_CONFIG_SHELL_BASH=y
    69 # CT_CONFIG_SHELL_CUSTOM is not set
    70 CT_CONFIG_SHELL="bash"
    71 
    72 #
    73 # Logging
    74 #
    75 # CT_LOG_ERROR is not set
    76 # CT_LOG_WARN is not set
    77 # CT_LOG_INFO is not set
    78 CT_LOG_EXTRA=y
    79 # CT_LOG_ALL is not set
    80 # CT_LOG_DEBUG is not set
    81 CT_LOG_LEVEL_MAX="EXTRA"
    82 # CT_LOG_SEE_TOOLS_WARN is not set
    83 CT_LOG_PROGRESS_BAR=y
    84 CT_LOG_TO_FILE=y
    85 CT_LOG_FILE_COMPRESS=y
    86 
    87 #
    88 # Target options
    89 #
    90 CT_ARCH="mips"
    91 # CT_ARCH_SUPPORTS_BOTH_MMU is not set
    92 CT_ARCH_SUPPORTS_BOTH_ENDIAN=y
    93 CT_ARCH_SUPPORTS_32=y
    94 CT_ARCH_SUPPORTS_64=y
    95 CT_ARCH_SUPPORT_ARCH=y
    96 CT_ARCH_SUPPORT_ABI=y
    97 # CT_ARCH_SUPPORT_CPU is not set
    98 CT_ARCH_SUPPORT_TUNE=y
    99 # CT_ARCH_SUPPORT_FPU is not set
   100 # CT_ARCH_DEFAULT_HAS_MMU is not set
   101 CT_ARCH_DEFAULT_BE=y
   102 # CT_ARCH_DEFAULT_LE is not set
   103 CT_ARCH_DEFAULT_32=y
   104 # CT_ARCH_DEFAULT_64 is not set
   105 CT_ARCH_ARCH="4kc"
   106 CT_ARCH_ABI=""
   107 CT_ARCH_TUNE="4kc"
   108 CT_ARCH_BE=y
   109 # CT_ARCH_LE is not set
   110 CT_ARCH_32=y
   111 # CT_ARCH_64 is not set
   112 CT_ARCH_BITNESS=32
   113 # CT_ARCH_FLOAT_HW is not set
   114 CT_ARCH_FLOAT_SW=y
   115 CT_TARGET_CFLAGS=""
   116 CT_TARGET_LDFLAGS=""
   117 
   118 #
   119 # General target options
   120 #
   121 # CT_ARCH_alpha is not set
   122 # CT_ARCH_arm is not set
   123 # CT_ARCH_avr32 is not set
   124 # CT_ARCH_ia64 is not set
   125 # CT_ARCH_m68k is not set
   126 CT_ARCH_mips=y
   127 # CT_ARCH_powerpc is not set
   128 # CT_ARCH_s390 is not set
   129 # CT_ARCH_sh is not set
   130 # CT_ARCH_x86 is not set
   131 CT_ARCH_USE_MMU=y
   132 
   133 #
   134 # Target optimisations
   135 #
   136 
   137 #
   138 # Toolchain options
   139 #
   140 
   141 #
   142 # General toolchain options
   143 #
   144 CT_USE_SYSROOT=y
   145 CT_SYSROOT_DIR_PREFIX=""
   146 
   147 #
   148 # Tuple completion and aliasing
   149 #
   150 CT_TARGET_VENDOR="ar2315"
   151 CT_TARGET_ALIAS_SED_EXPR=""
   152 CT_TARGET_ALIAS=""
   153 
   154 #
   155 # Toolchain type
   156 #
   157 # CT_NATIVE is not set
   158 CT_CROSS=y
   159 # CT_CROSS_NATIVE is not set
   160 # CT_CANADIAN is not set
   161 CT_TOOLCHAIN_TYPE="cross"
   162 
   163 #
   164 # Build system
   165 #
   166 CT_BUILD=""
   167 CT_BUILD_PREFIX=""
   168 CT_BUILD_SUFFIX=""
   169 
   170 #
   171 # Operating System
   172 #
   173 # CT_BARE_METAL is not set
   174 CT_KERNEL_SUPPORTS_SHARED_LIBS=y
   175 CT_KERNEL="linux"
   176 CT_KERNEL_VERSION="2.6.31.12"
   177 # CT_KERNEL_bare_metal is not set
   178 CT_KERNEL_linux=y
   179 CT_KERNEL_LINUX_INSTALL=y
   180 CT_KERNEL_LINUX_INSTALL_CHECK=y
   181 # CT_KERNEL_V_2_6_33_1 is not set
   182 # CT_KERNEL_V_2_6_33 is not set
   183 # CT_KERNEL_V_2_6_32_10 is not set
   184 CT_KERNEL_V_2_6_31_12=y
   185 # CT_KERNEL_V_2_6_30_10 is not set
   186 # CT_KERNEL_V_2_6_29_6 is not set
   187 # CT_KERNEL_V_2_6_28_10 is not set
   188 # CT_KERNEL_V_2_6_27_45 is not set
   189 CT_KERNEL_LINUX_VERBOSITY_0=y
   190 # CT_KERNEL_LINUX_VERBOSITY_1 is not set
   191 # CT_KERNEL_LINUX_VERBOSITY_2 is not set
   192 CT_KERNEL_LINUX_VERBOSE_LEVEL=0
   193 # CT_KERNEL_LINUX_USE_CUSTOM_HEADERS is not set
   194 
   195 #
   196 # Common kernel options
   197 #
   198 CT_SHARED_LIBS=y
   199 
   200 #
   201 # Binary utilities
   202 #
   203 CT_ARCH_BINFMT_ELF=y
   204 # CT_ARCH_BINFMT_FLAT is not set
   205 
   206 #
   207 # GNU binutils
   208 #
   209 # CT_BINUTILS_V_2_20 is not set
   210 CT_BINUTILS_V_2_19_1=y
   211 # CT_BINUTILS_V_2_19 is not set
   212 # CT_BINUTILS_V_2_18 is not set
   213 # CT_BINUTILS_V_2_17 is not set
   214 # CT_BINUTILS_V_2_16_1 is not set
   215 CT_BINUTILS_VERSION="2.19.1"
   216 CT_BINUTILS_EXTRA_CONFIG=""
   217 # CT_BINUTILS_FOR_TARGET is not set
   218 
   219 #
   220 # C compiler
   221 #
   222 CT_CC="gcc"
   223 CT_CC_VERSION="4.3.2"
   224 CT_CC_gcc=y
   225 # CT_CC_V_4_4_3 is not set
   226 # CT_CC_V_4_4_2 is not set
   227 # CT_CC_V_4_4_1 is not set
   228 # CT_CC_V_4_4_0 is not set
   229 # CT_CC_V_4_3_4 is not set
   230 # CT_CC_V_4_3_3 is not set
   231 CT_CC_V_4_3_2=y
   232 # CT_CC_V_4_3_1 is not set
   233 # CT_CC_V_4_2_4 is not set
   234 # CT_CC_V_4_2_3 is not set
   235 # CT_CC_V_4_2_2 is not set
   236 # CT_CC_V_4_2_1 is not set
   237 # CT_CC_V_4_2_0 is not set
   238 # CT_CC_V_4_1_2 is not set
   239 # CT_CC_V_4_0_4 is not set
   240 # CT_CC_V_3_4_6 is not set
   241 CT_CC_GCC_4_3_or_later=y
   242 # CT_CC_GCC_4_4_or_later is not set
   243 CT_CC_CXA_ATEXIT=y
   244 CT_CC_SJLJ_EXCEPTIONS_CONFIGURE=y
   245 # CT_CC_SJLJ_EXCEPTIONS_USE is not set
   246 # CT_CC_SJLJ_EXCEPTIONS_DONT_USE is not set
   247 CT_CC_ENABLE_CXX_FLAGS=""
   248 CT_CC_CORE_EXTRA_CONFIG=""
   249 CT_CC_EXTRA_CONFIG=""
   250 CT_CC_PKGVERSION="crosstool-NG-${CT_VERSION}"
   251 CT_CC_BUGURL=""
   252 CT_CC_SUPPORT_CXX=y
   253 CT_CC_SUPPORT_FORTRAN=y
   254 CT_CC_SUPPORT_JAVA=y
   255 CT_CC_SUPPORT_ADA=y
   256 CT_CC_SUPPORT_OBJC=y
   257 CT_CC_SUPPORT_OBJCXX=y
   258 
   259 #
   260 # Additional supported languages:
   261 #
   262 CT_CC_LANG_CXX=y
   263 # CT_CC_LANG_FORTRAN is not set
   264 # CT_CC_LANG_JAVA is not set
   265 # CT_CC_LANG_ADA is not set
   266 # CT_CC_LANG_OBJC is not set
   267 # CT_CC_LANG_OBJCXX is not set
   268 CT_CC_LANG_OTHERS=""
   269 
   270 #
   271 # C-library
   272 #
   273 CT_LIBC="eglibc"
   274 CT_LIBC_VERSION="2_9"
   275 CT_LIBC_eglibc=y
   276 # CT_LIBC_glibc is not set
   277 # CT_LIBC_newlib is not set
   278 # CT_LIBC_none is not set
   279 # CT_LIBC_uClibc is not set
   280 # CT_LIBC_V_2_10 is not set
   281 CT_EGLIBC_V_2_9=y
   282 # CT_EGLIBC_V_2_8 is not set
   283 # CT_EGLIBC_V_2_7 is not set
   284 # CT_EGLIBC_V_2_6 is not set
   285 # CT_EGLIBC_V_2_5 is not set
   286 # CT_EGLIBC_V_TRUNK is not set
   287 CT_EGLIBC_REVISION="{2009-07-21}"
   288 # CT_EGLIBC_CHECKOUT is not set
   289 # CT_EGLIBC_OPT_SIZE is not set
   290 # CT_EGLIBC_CUSTOM_CONFIG is not set
   291 
   292 #
   293 # glibc/eglibc common options
   294 #
   295 CT_LIBC_GLIBC_EXTRA_CONFIG=""
   296 CT_LIBC_GLIBC_CONFIGPARMS=""
   297 CT_LIBC_GLIBC_EXTRA_CFLAGS=""
   298 CT_LIBC_EXTRA_CC_ARGS=""
   299 CT_LIBC_GLIBC_USE_PORTS=y
   300 CT_LIBC_ADDONS_LIST=""
   301 
   302 #
   303 # WARNING !!!                                            
   304 #
   305 
   306 #
   307 #   For glibc >= 2.8, it can happen that the tarballs    
   308 #
   309 
   310 #
   311 #   for the addons are not available for download.       
   312 #
   313 
   314 #
   315 #   If that happens, bad luck... Try a previous version  
   316 #
   317 
   318 #
   319 #   or try again later... :-(                            
   320 #
   321 # CT_LIBC_GLIBC_KERNEL_VERSION_NONE is not set
   322 # CT_LIBC_GLIBC_KERNEL_VERSION_AS_HEADERS is not set
   323 CT_LIBC_GLIBC_KERNEL_VERSION_CHOSEN=y
   324 CT_LIBC_GLIBC_MIN_KERNEL_VERSION="2.6.25"
   325 CT_LIBC_GLIBC_MIN_KERNEL="2.6.25"
   326 CT_LIBC_SUPPORT_NPTL=y
   327 CT_LIBC_SUPPORT_LINUXTHREADS=y
   328 CT_THREADS="nptl"
   329 
   330 #
   331 # Common C library options
   332 #
   333 CT_THREADS_NPTL=y
   334 # CT_THREADS_LINUXTHREADS is not set
   335 # CT_THREADS_NONE is not set
   336 
   337 #
   338 # Debug facilities
   339 #
   340 CT_DEBUG_dmalloc=y
   341 CT_DMALLOC_V_5_5_2=y
   342 CT_DMALLOC_VERSION="5.5.2"
   343 # CT_DEBUG_duma is not set
   344 CT_DEBUG_gdb=y
   345 CT_GDB_CROSS=y
   346 # CT_GDB_CROSS_STATIC is not set
   347 # CT_GDB_CROSS_INSIGHT is not set
   348 # CT_GDB_NATIVE is not set
   349 CT_GDB_GDBSERVER=y
   350 CT_GDB_GDBSERVER_STATIC=y
   351 # CT_GDB_V_7_0_1 is not set
   352 # CT_GDB_V_7_0 is not set
   353 CT_GDB_V_6_8=y
   354 # CT_GDB_V_snapshot is not set
   355 CT_GDB_VERSION="6.8"
   356 # CT_DEBUG_ltrace is not set
   357 CT_DEBUG_strace=y
   358 CT_STRACE_V_4_5_19=y
   359 # CT_STRACE_V_4_5_18 is not set
   360 # CT_STRACE_V_4_5_17 is not set
   361 # CT_STRACE_V_4_5_16 is not set
   362 # CT_STRACE_V_4_5_15 is not set
   363 CT_STRACE_VERSION="4.5.19"
   364 
   365 #
   366 # Tools facilities
   367 #
   368 CT_TOOL_sstrip=y
   369 CT_SSTRIP_BUILDROOT=y
   370 # CT_SSTRIP_ELFKICKERS is not set
   371 CT_SSTRIP_FROM="buildroot"
   372 
   373 #
   374 # Companion libraries
   375 #
   376 
   377 #
   378 # FIXME: check real dependencies!!!
   379 #
   380 CT_COMPLIBS=y
   381 CT_WRAPPER_NEEDED=y
   382 CT_GMP=y
   383 CT_MPFR=y
   384 # CT_PPL is not set
   385 # CT_CLOOG is not set
   386 # CT_MPC is not set
   387 CT_GMP_V_4_3_1=y
   388 # CT_GMP_V_4_3_0 is not set
   389 # CT_GMP_V_4_2_4 is not set
   390 # CT_GMP_V_4_2_2 is not set
   391 CT_GMP_VERSION="4.3.1"
   392 CT_MPFR_V_2_4_2=y
   393 # CT_MPFR_V_2_4_1 is not set
   394 # CT_MPFR_V_2_4_0 is not set
   395 # CT_MPFR_V_2_3_2 is not set
   396 # CT_MPFR_V_2_3_1 is not set
   397 CT_MPFR_VERSION="2.4.2"
   398 
   399 #
   400 # Companion libraries common options
   401 #
   402 # CT_COMP_LIBS_CHECK is not set
   403 CT_TOOLS_WRAPPER_SCRIPT=y
   404 # CT_TOOLS_WRAPPER_EXEC is not set
   405 CT_TOOLS_WRAPPER="script"
   406 
   407 #
   408 # Companion tools
   409 #
   410 
   411 #
   412 # READ HELP before you say 'Y' below !!!
   413 #
   414 # CT_COMP_TOOLS is not set