samples/sh4-unknown-linux-gnu/crosstool.config
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Sat Jun 04 17:43:49 2011 +0200 (2011-06-04)
changeset 2505 f87f02b00cc7
parent 2290 ba82eb173bd4
child 2581 181206f4bdbc
permissions -rw-r--r--
Makefile: make it work for auto-completion

The latest autocompletion calls 'make -qp' to get all the possible
targets. This currently fails, as our makefile is calling itself
again and again ad-libitum.

Fix it by detecting that the recursion level is not 0, and bail out
if so. It works so well that it has the side effect of showing only
the 'public' target, and hide our internal ones! :-)

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
     1 #
     2 # Automatically generated make config: don't edit
     3 # crosstool-NG version: hg_default@2421_9a6bc21d4387
     4 # Thu Apr 28 19:36:03 2011
     5 #
     6 # CT_BACKEND is not set
     7 CT_MODULES=y
     8 
     9 #
    10 # Paths and misc options
    11 #
    12 
    13 #
    14 # crosstool-NG behavior
    15 #
    16 CT_OBSOLETE=y
    17 # CT_EXPERIMENTAL is not set
    18 # CT_DEBUG_CT is not set
    19 
    20 #
    21 # Paths
    22 #
    23 CT_LOCAL_TARBALLS_DIR="${HOME}/src"
    24 CT_SAVE_TARBALLS=y
    25 CT_WORK_DIR="${CT_TOP_DIR}/.build"
    26 CT_PREFIX_DIR="${HOME}/x-tools/${CT_TARGET}"
    27 CT_INSTALL_DIR="${CT_PREFIX_DIR}"
    28 CT_RM_RF_PREFIX_DIR=y
    29 CT_REMOVE_DOCS=y
    30 CT_INSTALL_DIR_RO=y
    31 CT_STRIP_ALL_TOOLCHAIN_EXECUTABLES=y
    32 
    33 #
    34 # Downloading
    35 #
    36 # CT_FORBID_DOWNLOAD is not set
    37 # CT_FORCE_DOWNLOAD is not set
    38 CT_USE_MIRROR=y
    39 # CT_PREFER_MIRROR is not set
    40 CT_MIRROR_BASE_URL="http://ymorin.is-a-geek.org/mirrors/"
    41 CT_CONNECT_TIMEOUT=10
    42 # CT_ONLY_DOWNLOAD is not set
    43 
    44 #
    45 # Extracting
    46 #
    47 # CT_FORCE_EXTRACT is not set
    48 CT_OVERIDE_CONFIG_GUESS_SUB=y
    49 # CT_ONLY_EXTRACT is not set
    50 CT_PATCH_BUNDLED=y
    51 # CT_PATCH_LOCAL is not set
    52 # CT_PATCH_BUNDLED_LOCAL is not set
    53 # CT_PATCH_LOCAL_BUNDLED is not set
    54 # CT_PATCH_BUNDLED_FALLBACK_LOCAL is not set
    55 # CT_PATCH_LOCAL_FALLBACK_BUNDLED is not set
    56 # CT_PATCH_NONE is not set
    57 CT_PATCH_ORDER="bundled"
    58 # CT_PATCH_SINGLE is not set
    59 # CT_PATCH_USE_LOCAL is not set
    60 
    61 #
    62 # Build behavior
    63 #
    64 CT_PARALLEL_JOBS=1
    65 CT_LOAD=0
    66 CT_USE_PIPES=y
    67 # CT_CONFIG_SHELL_SH is not set
    68 # CT_CONFIG_SHELL_ASH is not set
    69 CT_CONFIG_SHELL_BASH=y
    70 # CT_CONFIG_SHELL_CUSTOM is not set
    71 CT_CONFIG_SHELL="bash"
    72 
    73 #
    74 # Logging
    75 #
    76 # CT_LOG_ERROR is not set
    77 # CT_LOG_WARN is not set
    78 # CT_LOG_INFO is not set
    79 CT_LOG_EXTRA=y
    80 # CT_LOG_ALL is not set
    81 # CT_LOG_DEBUG is not set
    82 CT_LOG_LEVEL_MAX="EXTRA"
    83 # CT_LOG_SEE_TOOLS_WARN is not set
    84 CT_LOG_PROGRESS_BAR=y
    85 CT_LOG_TO_FILE=y
    86 CT_LOG_FILE_COMPRESS=y
    87 
    88 #
    89 # Target options
    90 #
    91 CT_ARCH="sh"
    92 # CT_ARCH_SUPPORTS_BOTH_MMU is not set
    93 CT_ARCH_SUPPORTS_BOTH_ENDIAN=y
    94 CT_ARCH_SUPPORTS_32=y
    95 # CT_ARCH_SUPPORTS_64 is not set
    96 # CT_ARCH_SUPPORT_ARCH is not set
    97 # CT_ARCH_SUPPORT_ABI is not set
    98 # CT_ARCH_SUPPORT_CPU is not set
    99 # CT_ARCH_SUPPORT_TUNE is not set
   100 # CT_ARCH_SUPPORT_FPU is not set
   101 # CT_ARCH_DEFAULT_HAS_MMU is not set
   102 # CT_ARCH_DEFAULT_BE is not set
   103 CT_ARCH_DEFAULT_LE=y
   104 CT_ARCH_DEFAULT_32=y
   105 # CT_ARCH_DEFAULT_64 is not set
   106 # CT_ARCH_BE is not set
   107 CT_ARCH_LE=y
   108 CT_ARCH_32=y
   109 # CT_ARCH_64 is not set
   110 CT_ARCH_BITNESS=32
   111 CT_ARCH_FLOAT_HW=y
   112 # CT_ARCH_FLOAT_SW is not set
   113 CT_TARGET_CFLAGS=""
   114 CT_TARGET_LDFLAGS=""
   115 # CT_ARCH_alpha is not set
   116 # CT_ARCH_arm is not set
   117 # CT_ARCH_avr32 is not set
   118 # CT_ARCH_blackfin is not set
   119 # CT_ARCH_m68k is not set
   120 # CT_ARCH_mips is not set
   121 # CT_ARCH_powerpc is not set
   122 # CT_ARCH_s390 is not set
   123 CT_ARCH_sh=y
   124 # CT_ARCH_sparc is not set
   125 # CT_ARCH_x86 is not set
   126 CT_ARCH_alpha_AVAILABLE=y
   127 CT_ARCH_arm_AVAILABLE=y
   128 CT_ARCH_avr32_AVAILABLE=y
   129 CT_ARCH_blackfin_AVAILABLE=y
   130 CT_ARCH_m68k_AVAILABLE=y
   131 CT_ARCH_mips_AVAILABLE=y
   132 CT_ARCH_powerpc_AVAILABLE=y
   133 CT_ARCH_s390_AVAILABLE=y
   134 CT_ARCH_sh_AVAILABLE=y
   135 CT_ARCH_sparc_AVAILABLE=y
   136 CT_ARCH_x86_AVAILABLE=y
   137 
   138 #
   139 # Generic target options
   140 #
   141 CT_ARCH_USE_MMU=y
   142 
   143 #
   144 # Target optimisations
   145 #
   146 
   147 #
   148 # sh other options
   149 #
   150 # CT_ARCH_SH_SH3 is not set
   151 CT_ARCH_SH_SH4=y
   152 # CT_ARCH_SH_SH4A is not set
   153 CT_ARCH_SH_VARIANT="sh4"
   154 
   155 #
   156 # Toolchain options
   157 #
   158 
   159 #
   160 # General toolchain options
   161 #
   162 # CT_FORCE_SYSROOT is not set
   163 CT_USE_SYSROOT=y
   164 CT_SYSROOT_NAME="sysroot"
   165 CT_SYSROOT_DIR_PREFIX=""
   166 
   167 #
   168 # Tuple completion and aliasing
   169 #
   170 CT_TARGET_VENDOR=""
   171 CT_TARGET_ALIAS_SED_EXPR=""
   172 CT_TARGET_ALIAS=""
   173 
   174 #
   175 # Toolchain type
   176 #
   177 # CT_NATIVE is not set
   178 CT_CROSS=y
   179 # CT_CROSS_NATIVE is not set
   180 # CT_CANADIAN is not set
   181 CT_TOOLCHAIN_TYPE="cross"
   182 
   183 #
   184 # Build system
   185 #
   186 CT_BUILD=""
   187 CT_BUILD_PREFIX=""
   188 CT_BUILD_SUFFIX=""
   189 
   190 #
   191 # Operating System
   192 #
   193 # CT_BARE_METAL is not set
   194 # CT_MINGW32 is not set
   195 CT_KERNEL_SUPPORTS_SHARED_LIBS=y
   196 CT_KERNEL="linux"
   197 CT_KERNEL_VERSION="2.6.27.58"
   198 # CT_KERNEL_bare_metal is not set
   199 CT_KERNEL_linux=y
   200 # CT_KERNEL_mingw32 is not set
   201 CT_KERNEL_bare_metal_AVAILABLE=y
   202 CT_KERNEL_linux_AVAILABLE=y
   203 CT_KERNEL_mingw32_AVAILABLE=y
   204 
   205 #
   206 # Common kernel options
   207 #
   208 CT_SHARED_LIBS=y
   209 
   210 #
   211 # linux other options
   212 #
   213 CT_KERNEL_LINUX_INSTALL=y
   214 # CT_KERNEL_LINUX_USE_CUSTOM_HEADERS is not set
   215 # CT_KERNEL_V_2_6_38_4 is not set
   216 # CT_KERNEL_V_2_6_38_3 is not set
   217 # CT_KERNEL_V_2_6_38_2 is not set
   218 # CT_KERNEL_V_2_6_38_1 is not set
   219 # CT_KERNEL_V_2_6_38 is not set
   220 # CT_KERNEL_V_2_6_37_6 is not set
   221 # CT_KERNEL_V_2_6_36_4 is not set
   222 # CT_KERNEL_V_2_6_35_13 is not set
   223 # CT_KERNEL_V_2_6_34_9 is not set
   224 # CT_KERNEL_V_2_6_33_12 is not set
   225 # CT_KERNEL_V_2_6_32_39 is not set
   226 # CT_KERNEL_V_2_6_31_14 is not set
   227 CT_KERNEL_V_2_6_27_58=y
   228 # CT_KERNEL_LINUX_CUSTOM is not set
   229 CT_KERNEL_LINUX_VERBOSITY_0=y
   230 # CT_KERNEL_LINUX_VERBOSITY_1 is not set
   231 # CT_KERNEL_LINUX_VERBOSITY_2 is not set
   232 CT_KERNEL_LINUX_VERBOSE_LEVEL=0
   233 CT_KERNEL_LINUX_INSTALL_CHECK=y
   234 
   235 #
   236 # Binary utilities
   237 #
   238 CT_ARCH_BINFMT_ELF=y
   239 # CT_ARCH_BINFMT_FLAT is not set
   240 # CT_ARCH_BINFMT_FDPIC is not set
   241 
   242 #
   243 # GNU binutils
   244 #
   245 # CT_BINUTILS_V_2_21 is not set
   246 # CT_BINUTILS_V_2_20_1 is not set
   247 # CT_BINUTILS_V_2_20 is not set
   248 # CT_BINUTILS_V_2_19_1 is not set
   249 CT_BINUTILS_V_2_19=y
   250 # CT_BINUTILS_V_2_18 is not set
   251 # CT_BINUTILS_V_2_17 is not set
   252 # CT_BINUTILS_V_2_16_1 is not set
   253 CT_BINUTILS_VERSION="2.19"
   254 CT_BINUTILS_FORCE_LD_BFD=y
   255 CT_BINUTILS_LINKER_LD=y
   256 # CT_BINUTILS_LINKER_GOLD is not set
   257 # CT_BINUTILS_LINKER_LD_GOLD is not set
   258 # CT_BINUTILS_LINKER_GOLD_LD is not set
   259 CT_BINUTILS_LINKERS_LIST="ld"
   260 CT_BINUTILS_LINKER_DEFAULT="bfd"
   261 CT_BINUTILS_EXTRA_CONFIG=""
   262 # CT_BINUTILS_FOR_TARGET is not set
   263 
   264 #
   265 # sstrip
   266 #
   267 # CT_SSTRIP is not set
   268 
   269 #
   270 # C compiler
   271 #
   272 CT_CC="gcc"
   273 CT_CC_VERSION="4.3.2"
   274 CT_CC_gcc=y
   275 # CT_CC_V_linaro_4_6_2011_04_0 is not set
   276 # CT_CC_V_4_6_0 is not set
   277 # CT_CC_V_linaro_4_5_2011_04_0 is not set
   278 # CT_CC_V_4_5_2 is not set
   279 # CT_CC_V_4_5_1 is not set
   280 # CT_CC_V_4_5_0 is not set
   281 # CT_CC_V_linaro_4_4_2011_02_0 is not set
   282 # CT_CC_V_4_4_6 is not set
   283 # CT_CC_V_4_4_5 is not set
   284 # CT_CC_V_4_4_4 is not set
   285 # CT_CC_V_4_4_3 is not set
   286 # CT_CC_V_4_4_2 is not set
   287 # CT_CC_V_4_4_1 is not set
   288 # CT_CC_V_4_4_0 is not set
   289 # CT_CC_V_4_3_5 is not set
   290 # CT_CC_V_4_3_4 is not set
   291 # CT_CC_V_4_3_3 is not set
   292 CT_CC_V_4_3_2=y
   293 # CT_CC_V_4_3_1 is not set
   294 # CT_CC_V_4_2_4 is not set
   295 # CT_CC_V_4_2_3 is not set
   296 # CT_CC_V_4_2_2 is not set
   297 # CT_CC_V_4_2_1 is not set
   298 # CT_CC_V_4_2_0 is not set
   299 # CT_CC_V_4_1_2 is not set
   300 # CT_CC_V_4_0_4 is not set
   301 # CT_CC_V_3_4_6 is not set
   302 # CT_CC_GCC_4_2 is not set
   303 CT_CC_GCC_4_2_or_later=y
   304 CT_CC_GCC_4_3=y
   305 CT_CC_GCC_4_3_or_later=y
   306 # CT_CC_GCC_4_4 is not set
   307 # CT_CC_GCC_4_4_or_later is not set
   308 # CT_CC_GCC_4_5 is not set
   309 # CT_CC_GCC_4_5_or_later is not set
   310 # CT_CC_GCC_4_6 is not set
   311 # CT_CC_GCC_4_6_or_later is not set
   312 # CT_CC_GCC_HAS_GRAPHITE is not set
   313 # CT_CC_GCC_HAS_LTO is not set
   314 CT_CC_GCC_USE_GMP_MPFR=y
   315 # CT_CC_GCC_USE_PPL_CLOOG is not set
   316 # CT_CC_GCC_USE_MPC is not set
   317 # CT_CC_GCC_USE_LIBELF is not set
   318 CT_CC_SUPPORT_CXX=y
   319 CT_CC_SUPPORT_FORTRAN=y
   320 CT_CC_SUPPORT_JAVA=y
   321 CT_CC_SUPPORT_ADA=y
   322 CT_CC_SUPPORT_OBJC=y
   323 CT_CC_SUPPORT_OBJCXX=y
   324 
   325 #
   326 # Additional supported languages:
   327 #
   328 CT_CC_LANG_CXX=y
   329 # CT_CC_LANG_FORTRAN is not set
   330 # CT_CC_LANG_JAVA is not set
   331 
   332 #
   333 # gcc other options
   334 #
   335 CT_CC_PKGVERSION="crosstool-NG-${CT_VERSION}"
   336 CT_CC_BUGURL=""
   337 CT_CC_ENABLE_CXX_FLAGS=""
   338 CT_CC_CORE_EXTRA_CONFIG=""
   339 CT_CC_EXTRA_CONFIG=""
   340 
   341 #
   342 # Optimisation features
   343 #
   344 
   345 #
   346 # Settings for libraries running on target
   347 #
   348 CT_CC_GCC_ENABLE_TARGET_OPTSPACE=y
   349 # CT_CC_GCC_LIBMUDFLAP is not set
   350 # CT_CC_GCC_LIBGOMP is not set
   351 # CT_CC_GCC_LIBSSP is not set
   352 
   353 #
   354 # Misc. obscure options.
   355 #
   356 CT_CC_CXA_ATEXIT=y
   357 # CT_CC_GCC_DISABLE_PCH is not set
   358 CT_CC_GCC_SJLJ_EXCEPTIONS=m
   359 CT_CC_GCC_LDBL_128=m
   360 
   361 #
   362 # C-library
   363 #
   364 CT_LIBC="glibc"
   365 CT_LIBC_VERSION="2.9"
   366 # CT_LIBC_eglibc is not set
   367 CT_LIBC_glibc=y
   368 # CT_LIBC_mingw is not set
   369 # CT_LIBC_newlib is not set
   370 # CT_LIBC_none is not set
   371 # CT_LIBC_uClibc is not set
   372 CT_LIBC_eglibc_AVAILABLE=y
   373 CT_LIBC_glibc_AVAILABLE=y
   374 CT_LIBC_GLIBC_TARBALL=y
   375 # CT_LIBC_GLIBC_V_2_12_2 is not set
   376 # CT_LIBC_GLIBC_V_2_12_1 is not set
   377 # CT_LIBC_GLIBC_V_2_11_1 is not set
   378 # CT_LIBC_GLIBC_V_2_11 is not set
   379 # CT_LIBC_GLIBC_V_2_10_1 is not set
   380 CT_LIBC_GLIBC_V_2_9=y
   381 # CT_LIBC_GLIBC_V_2_8 is not set
   382 # CT_LIBC_GLIBC_V_2_7 is not set
   383 # CT_LIBC_GLIBC_V_2_6_1 is not set
   384 # CT_LIBC_GLIBC_V_2_6 is not set
   385 # CT_LIBC_GLIBC_V_2_5_1 is not set
   386 # CT_LIBC_GLIBC_V_2_5 is not set
   387 CT_LIBC_mingw_AVAILABLE=y
   388 CT_LIBC_newlib_AVAILABLE=y
   389 CT_LIBC_none_AVAILABLE=y
   390 CT_LIBC_uClibc_AVAILABLE=y
   391 CT_LIBC_glibc_familly=y
   392 
   393 #
   394 # glibc/eglibc common options
   395 #
   396 CT_LIBC_GLIBC_EXTRA_CONFIG=""
   397 CT_LIBC_GLIBC_CONFIGPARMS="no-z-defs=yes"
   398 CT_LIBC_GLIBC_EXTRA_CFLAGS=""
   399 CT_LIBC_EXTRA_CC_ARGS=""
   400 # CT_LIBC_DISABLE_VERSIONING is not set
   401 CT_LIBC_OLDEST_ABI=""
   402 # CT_LIBC_GLIBC_FORCE_UNWIND is not set
   403 # CT_LIBC_GLIBC_USE_PORTS is not set
   404 CT_LIBC_ADDONS_LIST=""
   405 # CT_LIBC_GLIBC_KERNEL_VERSION_NONE is not set
   406 CT_LIBC_GLIBC_KERNEL_VERSION_AS_HEADERS=y
   407 # CT_LIBC_GLIBC_KERNEL_VERSION_CHOSEN is not set
   408 CT_LIBC_GLIBC_MIN_KERNEL="2.6.27.58"
   409 CT_LIBC_SUPPORT_THREADS_ANY=y
   410 CT_LIBC_SUPPORT_NPTL=y
   411 # CT_LIBC_SUPPORT_LINUXTHREADS is not set
   412 # CT_LIBC_SUPPORT_WIN32THREADS is not set
   413 # CT_LIBC_SUPPORT_THREADS_NONE is not set
   414 CT_THREADS="nptl"
   415 
   416 #
   417 # Common C library options
   418 #
   419 CT_THREADS_NPTL=y
   420 # CT_THREADS_LINUXTHREADS is not set
   421 # CT_THREADS_WIN32THREADS is not set
   422 # CT_THREADS_NONE is not set
   423 CT_LIBC_XLDD=y
   424 
   425 #
   426 # Debug facilities
   427 #
   428 # CT_DEBUG_dmalloc is not set
   429 # CT_DEBUG_duma is not set
   430 # CT_DEBUG_gdb is not set
   431 # CT_DEBUG_ltrace is not set
   432 # CT_DEBUG_strace is not set
   433 
   434 #
   435 # Companion libraries
   436 #
   437 CT_COMPLIBS_NEEDED=y
   438 CT_GMP_NEEDED=y
   439 CT_MPFR_NEEDED=y
   440 # CT_PPL_NEEDED is not set
   441 # CT_CLOOG_NEEDED is not set
   442 # CT_MPC_NEEDED is not set
   443 # CT_LIBELF_NEEDED is not set
   444 CT_COMPLIBS=y
   445 CT_GMP=y
   446 CT_MPFR=y
   447 # CT_GMP_V_5_0_1 is not set
   448 CT_GMP_V_4_3_2=y
   449 # CT_GMP_V_4_3_1 is not set
   450 # CT_GMP_V_4_3_0 is not set
   451 # CT_GMP_V_4_2_4 is not set
   452 # CT_GMP_V_4_2_2 is not set
   453 CT_GMP_VERSION="4.3.2"
   454 # CT_MPFR_V_3_0_0 is not set
   455 CT_MPFR_V_2_4_2=y
   456 # CT_MPFR_V_2_4_1 is not set
   457 # CT_MPFR_V_2_4_0 is not set
   458 # CT_MPFR_V_2_3_2 is not set
   459 # CT_MPFR_V_2_3_1 is not set
   460 CT_MPFR_VERSION="2.4.2"
   461 
   462 #
   463 # Companion libraries common options
   464 #
   465 # CT_COMPLIBS_CHECK is not set