samples/i586-geode-linux-uclibc/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 1791 160fc94ed49f
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:55:33 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 is not set
    16 # CT_DEBUG_CT is not set
    17 
    18 #
    19 # Paths
    20 #
    21 CT_LOCAL_TARBALLS_DIR="${HOME}/src"
    22 CT_SAVE_TARBALLS=y
    23 CT_WORK_DIR="${CT_TOP_DIR}/targets"
    24 CT_PREFIX_DIR="${HOME}/x-tools/${CT_TARGET}"
    25 CT_INSTALL_DIR="${CT_PREFIX_DIR}"
    26 CT_REMOVE_DOCS=y
    27 CT_INSTALL_DIR_RO=y
    28 
    29 #
    30 # Downloading
    31 #
    32 # CT_FORBID_DOWNLOAD is not set
    33 # CT_FORCE_DOWNLOAD is not set
    34 CT_USE_MIRROR=y
    35 # CT_PREFER_MIRROR is not set
    36 CT_MIRROR_BASE_URL="http://ymorin.is-a-geek.org/mirrors/"
    37 CT_CONNECT_TIMEOUT=10
    38 CT_DOWNLOAD_MAX_CHUNKS=5
    39 # CT_ONLY_DOWNLOAD is not set
    40 
    41 #
    42 # Extracting
    43 #
    44 # CT_FORCE_EXTRACT is not set
    45 CT_OVERIDE_CONFIG_GUESS_SUB=y
    46 # CT_ONLY_EXTRACT is not set
    47 CT_PATCH_BUNDLED=y
    48 # CT_PATCH_LOCAL is not set
    49 # CT_PATCH_BUNDLED_LOCAL is not set
    50 # CT_PATCH_LOCAL_BUNDLED is not set
    51 # CT_PATCH_BUNDLED_FALLBACK_LOCAL is not set
    52 # CT_PATCH_LOCAL_FALLBACK_BUNDLED is not set
    53 # CT_PATCH_NONE is not set
    54 CT_PATCH_ORDER="bundled"
    55 # CT_PATCH_SINGLE is not set
    56 # CT_PATCH_USE_LOCAL is not set
    57 
    58 #
    59 # Build behavior
    60 #
    61 CT_PARALLEL_JOBS=1
    62 CT_LOAD=0
    63 CT_USE_PIPES=y
    64 # CT_CONFIG_SHELL_SH is not set
    65 # CT_CONFIG_SHELL_ASH is not set
    66 CT_CONFIG_SHELL_BASH=y
    67 # CT_CONFIG_SHELL_CUSTOM is not set
    68 CT_CONFIG_SHELL="bash"
    69 
    70 #
    71 # Logging
    72 #
    73 # CT_LOG_ERROR is not set
    74 # CT_LOG_WARN is not set
    75 # CT_LOG_INFO is not set
    76 CT_LOG_EXTRA=y
    77 # CT_LOG_ALL is not set
    78 # CT_LOG_DEBUG is not set
    79 CT_LOG_LEVEL_MAX="EXTRA"
    80 # CT_LOG_SEE_TOOLS_WARN is not set
    81 CT_LOG_PROGRESS_BAR=y
    82 CT_LOG_TO_FILE=y
    83 CT_LOG_FILE_COMPRESS=y
    84 
    85 #
    86 # Target options
    87 #
    88 CT_ARCH="x86"
    89 # CT_ARCH_SUPPORTS_BOTH_MMU is not set
    90 # CT_ARCH_SUPPORTS_BOTH_ENDIAN is not set
    91 CT_ARCH_SUPPORTS_32=y
    92 CT_ARCH_SUPPORTS_64=y
    93 CT_ARCH_SUPPORT_ARCH=y
    94 # CT_ARCH_SUPPORT_ABI is not set
    95 CT_ARCH_SUPPORT_CPU=y
    96 CT_ARCH_SUPPORT_TUNE=y
    97 # CT_ARCH_SUPPORT_FPU is not set
    98 # CT_ARCH_DEFAULT_HAS_MMU is not set
    99 # CT_ARCH_DEFAULT_BE is not set
   100 # CT_ARCH_DEFAULT_LE is not set
   101 CT_ARCH_DEFAULT_32=y
   102 # CT_ARCH_DEFAULT_64 is not set
   103 CT_ARCH_ARCH="pentium-mmx"
   104 CT_ARCH_CPU=""
   105 CT_ARCH_TUNE=""
   106 CT_ARCH_32=y
   107 # CT_ARCH_64 is not set
   108 CT_ARCH_BITNESS=32
   109 CT_ARCH_FLOAT_HW=y
   110 # CT_ARCH_FLOAT_SW is not set
   111 CT_TARGET_CFLAGS=""
   112 CT_TARGET_LDFLAGS=""
   113 
   114 #
   115 # General target options
   116 #
   117 # CT_ARCH_alpha is not set
   118 # CT_ARCH_arm is not set
   119 # CT_ARCH_avr32 is not set
   120 # CT_ARCH_ia64 is not set
   121 # CT_ARCH_m68k is not set
   122 # CT_ARCH_mips is not set
   123 # CT_ARCH_powerpc is not set
   124 # CT_ARCH_s390 is not set
   125 # CT_ARCH_sh is not set
   126 CT_ARCH_x86=y
   127 CT_ARCH_USE_MMU=y
   128 
   129 #
   130 # Target optimisations
   131 #
   132 
   133 #
   134 # Toolchain options
   135 #
   136 
   137 #
   138 # General toolchain options
   139 #
   140 CT_USE_SYSROOT=y
   141 CT_SYSROOT_DIR_PREFIX=""
   142 
   143 #
   144 # Tuple completion and aliasing
   145 #
   146 CT_TARGET_VENDOR="geode"
   147 CT_TARGET_ALIAS_SED_EXPR=""
   148 CT_TARGET_ALIAS=""
   149 
   150 #
   151 # Toolchain type
   152 #
   153 # CT_NATIVE is not set
   154 CT_CROSS=y
   155 # CT_CROSS_NATIVE is not set
   156 # CT_CANADIAN is not set
   157 CT_TOOLCHAIN_TYPE="cross"
   158 
   159 #
   160 # Build system
   161 #
   162 CT_BUILD=""
   163 CT_BUILD_PREFIX=""
   164 CT_BUILD_SUFFIX=""
   165 
   166 #
   167 # Operating System
   168 #
   169 # CT_BARE_METAL is not set
   170 CT_KERNEL_SUPPORTS_SHARED_LIBS=y
   171 CT_KERNEL="linux"
   172 CT_KERNEL_VERSION="2.6.31.12"
   173 # CT_KERNEL_bare_metal is not set
   174 CT_KERNEL_linux=y
   175 CT_KERNEL_LINUX_INSTALL=y
   176 CT_KERNEL_LINUX_INSTALL_CHECK=y
   177 # CT_KERNEL_V_2_6_33_1 is not set
   178 # CT_KERNEL_V_2_6_33 is not set
   179 # CT_KERNEL_V_2_6_32_10 is not set
   180 CT_KERNEL_V_2_6_31_12=y
   181 # CT_KERNEL_V_2_6_30_10 is not set
   182 # CT_KERNEL_V_2_6_29_6 is not set
   183 # CT_KERNEL_V_2_6_28_10 is not set
   184 # CT_KERNEL_V_2_6_27_45 is not set
   185 CT_KERNEL_LINUX_VERBOSITY_0=y
   186 # CT_KERNEL_LINUX_VERBOSITY_1 is not set
   187 # CT_KERNEL_LINUX_VERBOSITY_2 is not set
   188 CT_KERNEL_LINUX_VERBOSE_LEVEL=0
   189 # CT_KERNEL_LINUX_USE_CUSTOM_HEADERS is not set
   190 
   191 #
   192 # Common kernel options
   193 #
   194 CT_SHARED_LIBS=y
   195 
   196 #
   197 # Binary utilities
   198 #
   199 CT_ARCH_BINFMT_ELF=y
   200 # CT_ARCH_BINFMT_FLAT is not set
   201 
   202 #
   203 # GNU binutils
   204 #
   205 # CT_BINUTILS_V_2_20 is not set
   206 CT_BINUTILS_V_2_19_1=y
   207 # CT_BINUTILS_V_2_19 is not set
   208 # CT_BINUTILS_V_2_18 is not set
   209 # CT_BINUTILS_V_2_17 is not set
   210 # CT_BINUTILS_V_2_16_1 is not set
   211 CT_BINUTILS_VERSION="2.19.1"
   212 CT_BINUTILS_EXTRA_CONFIG=""
   213 CT_BINUTILS_FOR_TARGET=y
   214 CT_BINUTILS_FOR_TARGET_IBERTY=y
   215 CT_BINUTILS_FOR_TARGET_BFD=y
   216 # CT_BINUTILS_TARGET_USE_GMP_MPFR is not set
   217 
   218 #
   219 # C compiler
   220 #
   221 CT_CC="gcc"
   222 CT_CC_VERSION="4.3.2"
   223 CT_CC_gcc=y
   224 # CT_CC_V_4_4_3 is not set
   225 # CT_CC_V_4_4_2 is not set
   226 # CT_CC_V_4_4_1 is not set
   227 # CT_CC_V_4_4_0 is not set
   228 # CT_CC_V_4_3_4 is not set
   229 # CT_CC_V_4_3_3 is not set
   230 CT_CC_V_4_3_2=y
   231 # CT_CC_V_4_3_1 is not set
   232 # CT_CC_V_4_2_4 is not set
   233 # CT_CC_V_4_2_3 is not set
   234 # CT_CC_V_4_2_2 is not set
   235 # CT_CC_V_4_2_1 is not set
   236 # CT_CC_V_4_2_0 is not set
   237 # CT_CC_V_4_1_2 is not set
   238 # CT_CC_V_4_0_4 is not set
   239 # CT_CC_V_3_4_6 is not set
   240 CT_CC_GCC_4_3_or_later=y
   241 # CT_CC_GCC_4_4_or_later is not set
   242 CT_CC_CXA_ATEXIT=y
   243 CT_CC_SJLJ_EXCEPTIONS_CONFIGURE=y
   244 # CT_CC_SJLJ_EXCEPTIONS_USE is not set
   245 # CT_CC_SJLJ_EXCEPTIONS_DONT_USE is not set
   246 CT_CC_ENABLE_CXX_FLAGS=""
   247 CT_CC_CORE_EXTRA_CONFIG=""
   248 CT_CC_EXTRA_CONFIG=""
   249 CT_CC_PKGVERSION="crosstool-NG-${CT_VERSION}"
   250 CT_CC_BUGURL=""
   251 CT_CC_LANG_JAVA_USE_ECJ=y
   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=y
   264 CT_CC_LANG_JAVA=y
   265 
   266 #
   267 # C-library
   268 #
   269 CT_LIBC="uClibc"
   270 CT_LIBC_VERSION="0.9.30.1"
   271 # CT_LIBC_eglibc is not set
   272 # CT_LIBC_glibc is not set
   273 # CT_LIBC_newlib is not set
   274 # CT_LIBC_none is not set
   275 CT_LIBC_uClibc=y
   276 # CT_LIBC_UCLIBC_V_0_9_30_2 is not set
   277 CT_LIBC_V_0_9_30_1=y
   278 # CT_LIBC_V_0_9_30 is not set
   279 # CT_LIBC_V_0_9_29 is not set
   280 # CT_LIBC_V_0_9_28_3 is not set
   281 # CT_LIBC_V_snapshot is not set
   282 # CT_LIBC_V_specific_date is not set
   283 CT_LIBC_UCLIBC_0_9_30_or_later=y
   284 CT_LIBC_UCLIBC_PARALLEL=y
   285 CT_LIBC_UCLIBC_VERBOSITY_0=y
   286 # CT_LIBC_UCLIBC_VERBOSITY_1 is not set
   287 CT_LIBC_UCLIBC_VERBOSITY=""
   288 CT_LIBC_UCLIBC_DEBUG_LEVEL_0=y
   289 # CT_LIBC_UCLIBC_DEBUG_LEVEL_1 is not set
   290 # CT_LIBC_UCLIBC_DEBUG_LEVEL_2 is not set
   291 CT_LIBC_UCLIBC_DEBUG_LEVEL=0
   292 CT_LIBC_UCLIBC_BUILD_CROSS_LDD=y
   293 CT_LIBC_UCLIBC_CONFIG_FILE="${CT_LIB_DIR}/samples/${CT_TARGET}/${CT_LIBC}-${CT_LIBC_VERSION}.config"
   294 # CT_LIBC_UCLIBC_LOCALES is not set
   295 # CT_LIBC_UCLIBC_WCHAR is not set
   296 # CT_LIBC_SUPPORT_NPTL is not set
   297 CT_LIBC_SUPPORT_LINUXTHREADS=y
   298 CT_THREADS="linuxthreads"
   299 
   300 #
   301 # Common C library options
   302 #
   303 # CT_THREADS_NPTL is not set
   304 CT_THREADS_LINUXTHREADS=y
   305 # CT_THREADS_NONE is not set
   306 
   307 #
   308 # Debug facilities
   309 #
   310 CT_DEBUG_dmalloc=y
   311 CT_DMALLOC_V_5_5_2=y
   312 CT_DMALLOC_VERSION="5.5.2"
   313 CT_DEBUG_duma=y
   314 CT_DUMA_A=y
   315 CT_DUMA_SO=y
   316 CT_DUMA_V_2_5_15=y
   317 # CT_DUMA_V_2_5_14 is not set
   318 # CT_DUMA_V_2_5_12 is not set
   319 # CT_DUMA_V_2_5_8 is not set
   320 # CT_DUMA_V_2_5_1 is not set
   321 CT_DUMA_VERSION="2_5_15"
   322 CT_DEBUG_gdb=y
   323 CT_GDB_CROSS=y
   324 # CT_GDB_CROSS_STATIC is not set
   325 CT_GDB_NATIVE=y
   326 # CT_GDB_NATIVE_STATIC is not set
   327 CT_GDB_NATIVE_USE_GMP_MPFR=y
   328 CT_GDB_GDBSERVER=y
   329 CT_GDB_GDBSERVER_STATIC=y
   330 # CT_GDB_V_7_0_1 is not set
   331 # CT_GDB_V_7_0 is not set
   332 CT_GDB_V_6_8=y
   333 # CT_GDB_V_snapshot is not set
   334 CT_GDB_VERSION="6.8"
   335 CT_DEBUG_ltrace=y
   336 CT_LTRACE_V_0_5_3=y
   337 # CT_LTRACE_V_0_5_2 is not set
   338 # CT_LTRACE_V_0_5 is not set
   339 # CT_LTRACE_V_0_4 is not set
   340 CT_LTRACE_VERSION="0.5.3"
   341 CT_LTRACE_0_5_3_or_later=y
   342 CT_DEBUG_strace=y
   343 CT_STRACE_V_4_5_19=y
   344 # CT_STRACE_V_4_5_18 is not set
   345 # CT_STRACE_V_4_5_17 is not set
   346 # CT_STRACE_V_4_5_16 is not set
   347 # CT_STRACE_V_4_5_15 is not set
   348 CT_STRACE_VERSION="4.5.19"
   349 
   350 #
   351 # Tools facilities
   352 #
   353 CT_TOOL_sstrip=y
   354 CT_SSTRIP_BUILDROOT=y
   355 # CT_SSTRIP_ELFKICKERS is not set
   356 CT_SSTRIP_FROM="buildroot"
   357 
   358 #
   359 # Companion libraries
   360 #
   361 
   362 #
   363 # FIXME: check real dependencies!!!
   364 #
   365 CT_COMPLIBS=y
   366 CT_WRAPPER_NEEDED=y
   367 CT_GMP=y
   368 CT_MPFR=y
   369 # CT_PPL is not set
   370 # CT_CLOOG is not set
   371 # CT_MPC is not set
   372 CT_GMP_TARGET=y
   373 CT_MPFR_TARGET=y
   374 CT_LIBELF_TARGET=y
   375 CT_GMP_V_4_3_1=y
   376 # CT_GMP_V_4_3_0 is not set
   377 # CT_GMP_V_4_2_4 is not set
   378 # CT_GMP_V_4_2_2 is not set
   379 CT_GMP_VERSION="4.3.1"
   380 CT_MPFR_V_2_4_2=y
   381 # CT_MPFR_V_2_4_1 is not set
   382 # CT_MPFR_V_2_4_0 is not set
   383 # CT_MPFR_V_2_3_2 is not set
   384 # CT_MPFR_V_2_3_1 is not set
   385 CT_MPFR_VERSION="2.4.2"
   386 
   387 #
   388 # libelf version needed to build for target
   389 #
   390 CT_LIBELF_V_0_8_12=y
   391 # CT_LIBELF_V_0_8_11 is not set
   392 # CT_LIBELF_V_0_8_10 is not set
   393 CT_LIBELF_VERSION="0.8.12"
   394 
   395 #
   396 # Companion libraries common options
   397 #
   398 # CT_COMP_LIBS_CHECK is not set
   399 CT_TOOLS_WRAPPER_SCRIPT=y
   400 # CT_TOOLS_WRAPPER_EXEC is not set
   401 CT_TOOLS_WRAPPER="script"