samples/arm-davinci-linux-gnueabi/crosstool.config
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Sun Jan 03 17:36:54 2010 +0100 (2010-01-03)
changeset 1681 cc8ac5ca65aa
child 1791 160fc94ed49f
permissions -rw-r--r--
samples: add a new samples for the TI DaVinci processors.

Dragan Marinkovic <marinkovic.dragan@gmail.com> wrote:
I finally had the time (and board) to spend some time with
crosstool-NG version 1.5.2 and TMS320DM6446 (DaVinci Digital Media
System-on-Chip,
http://focus.ti.com/docs/prod/folders/print/tms320dm6446.html).

I was able to successfully build and run v2.6.27-davinci1 kernel
(Kevin Hilman's branch) with busybox based initramfs on it. I don't
believe that any later kernel would represent any challenge (it just
happens that I'm currently working with this version). What a thrill
:).

crosstool-NG/toolchain config is attached. It may be useful to someone
using crosstool-NG ...
     1 #
     2 # Automatically generated make config: don't edit
     3 # crosstool-NG version: hg_default@1679_6b1e8a28dc60
     4 # Sun Jan  3 16:16:27 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_NICE=0
    64 CT_USE_PIPES=y
    65 # CT_CONFIG_SHELL_SH is not set
    66 # CT_CONFIG_SHELL_ASH is not set
    67 CT_CONFIG_SHELL_BASH=y
    68 # CT_CONFIG_SHELL_CUSTOM is not set
    69 CT_CONFIG_SHELL="bash"
    70 
    71 #
    72 # Logging
    73 #
    74 # CT_LOG_ERROR is not set
    75 # CT_LOG_WARN is not set
    76 # CT_LOG_INFO is not set
    77 CT_LOG_EXTRA=y
    78 # CT_LOG_DEBUG is not set
    79 # CT_LOG_ALL is not set
    80 CT_LOG_LEVEL_MAX="EXTRA"
    81 # CT_LOG_SEE_TOOLS_WARN is not set
    82 CT_LOG_PROGRESS_BAR=y
    83 CT_LOG_TO_FILE=y
    84 CT_LOG_FILE_COMPRESS=y
    85 
    86 #
    87 # Target options
    88 #
    89 CT_ARCH="arm"
    90 CT_ARCH_SUPPORTS_BOTH_MMU=y
    91 CT_ARCH_SUPPORTS_BOTH_ENDIAN=y
    92 # CT_ARCH_SUPPORTS_32 is not set
    93 # CT_ARCH_SUPPORTS_64 is not set
    94 CT_ARCH_SUPPORT_ARCH=y
    95 # CT_ARCH_SUPPORT_ABI is not set
    96 CT_ARCH_SUPPORT_CPU=y
    97 CT_ARCH_SUPPORT_TUNE=y
    98 CT_ARCH_SUPPORT_FPU=y
    99 CT_ARCH_DEFAULT_HAS_MMU=y
   100 # CT_ARCH_DEFAULT_BE is not set
   101 CT_ARCH_DEFAULT_LE=y
   102 # CT_ARCH_DEFAULT_32 is not set
   103 # CT_ARCH_DEFAULT_64 is not set
   104 CT_ARCH_ARCH="armv5te"
   105 CT_ARCH_CPU="arm926ej-s"
   106 CT_ARCH_TUNE="arm926ej-s"
   107 CT_ARCH_FPU=""
   108 # CT_ARCH_BE is not set
   109 CT_ARCH_LE=y
   110 # CT_ARCH_32 is not set
   111 # CT_ARCH_64 is not set
   112 # CT_ARCH_FLOAT_HW is not set
   113 CT_ARCH_FLOAT_SW=y
   114 CT_TARGET_CFLAGS=""
   115 CT_TARGET_LDFLAGS=""
   116 
   117 #
   118 # General target options
   119 #
   120 # CT_ARCH_alpha is not set
   121 CT_ARCH_arm=y
   122 # CT_ARCH_avr32 is not set
   123 # CT_ARCH_ia64 is not set
   124 # CT_ARCH_mips is not set
   125 # CT_ARCH_powerpc is not set
   126 # CT_ARCH_s390 is not set
   127 # CT_ARCH_sh is not set
   128 # CT_ARCH_x86 is not set
   129 CT_ARCH_ARM_MODE="arm"
   130 CT_ARCH_ARM_MODE_ARM=y
   131 # CT_ARCH_ARM_MODE_THUMB is not set
   132 CT_ARCH_ARM_EABI=y
   133 CT_ARCH_USE_MMU=y
   134 
   135 #
   136 # Target optimisations
   137 #
   138 
   139 #
   140 # Toolchain options
   141 #
   142 
   143 #
   144 # General toolchain options
   145 #
   146 CT_USE_SYSROOT=y
   147 CT_SYSROOT_DIR_PREFIX=""
   148 
   149 #
   150 # Tuple completion and aliasing
   151 #
   152 CT_TARGET_VENDOR="davinci"
   153 CT_TARGET_ALIAS_SED_EXPR=""
   154 CT_TARGET_ALIAS=""
   155 
   156 #
   157 # Toolchain type
   158 #
   159 # CT_NATIVE is not set
   160 CT_CROSS=y
   161 # CT_CROSS_NATIVE is not set
   162 # CT_CANADIAN is not set
   163 CT_TOOLCHAIN_TYPE="cross"
   164 
   165 #
   166 # Build system
   167 #
   168 CT_BUILD=""
   169 CT_BUILD_PREFIX=""
   170 CT_BUILD_SUFFIX=""
   171 
   172 #
   173 # Operating System
   174 #
   175 # CT_BARE_METAL is not set
   176 CT_KERNEL_SUPPORTS_SHARED_LIBS=y
   177 CT_KERNEL="linux"
   178 CT_KERNEL_VERSION="2.6.27.42"
   179 # CT_KERNEL_bare_metal is not set
   180 CT_KERNEL_linux=y
   181 CT_KERNEL_LINUX_INSTALL=y
   182 CT_KERNEL_LINUX_INSTALL_CHECK=y
   183 # CT_KERNEL_V_2_6_32_2 is not set
   184 # CT_KERNEL_V_2_6_32_1 is not set
   185 # CT_KERNEL_V_2_6_32 is not set
   186 # CT_KERNEL_V_2_6_31_9 is not set
   187 # CT_KERNEL_V_2_6_31_8 is not set
   188 # CT_KERNEL_V_2_6_31_7 is not set
   189 # CT_KERNEL_V_2_6_31_6 is not set
   190 # CT_KERNEL_V_2_6_31_5 is not set
   191 # CT_KERNEL_V_2_6_31_4 is not set
   192 # CT_KERNEL_V_2_6_31_3 is not set
   193 # CT_KERNEL_V_2_6_31_2 is not set
   194 # CT_KERNEL_V_2_6_31_1 is not set
   195 # CT_KERNEL_V_2_6_31 is not set
   196 # CT_KERNEL_V_2_6_30_10 is not set
   197 # CT_KERNEL_V_2_6_30_9 is not set
   198 # CT_KERNEL_V_2_6_30_8 is not set
   199 # CT_KERNEL_V_2_6_30_7 is not set
   200 # CT_KERNEL_V_2_6_30_6 is not set
   201 # CT_KERNEL_V_2_6_30_5 is not set
   202 # CT_KERNEL_V_2_6_30_4 is not set
   203 # CT_KERNEL_V_2_6_30_3 is not set
   204 # CT_KERNEL_V_2_6_30_2 is not set
   205 # CT_KERNEL_V_2_6_30_1 is not set
   206 # CT_KERNEL_V_2_6_30 is not set
   207 # CT_KERNEL_V_2_6_29_6 is not set
   208 # CT_KERNEL_V_2_6_28_10 is not set
   209 CT_KERNEL_V_2_6_27_42=y
   210 CT_KERNEL_LINUX_VERBOSITY_0=y
   211 # CT_KERNEL_LINUX_VERBOSITY_1 is not set
   212 # CT_KERNEL_LINUX_VERBOSITY_2 is not set
   213 CT_KERNEL_LINUX_VERBOSE_LEVEL=0
   214 # CT_KERNEL_LINUX_USE_CUSTOM_HEADERS is not set
   215 
   216 #
   217 # Common kernel options
   218 #
   219 CT_SHARED_LIBS=y
   220 
   221 #
   222 # Binary utilities
   223 #
   224 CT_ARCH_BINFMT_ELF=y
   225 # CT_ARCH_BINFMT_FLAT is not set
   226 
   227 #
   228 # GNU binutils
   229 #
   230 # CT_BINUTILS_V_2_20 is not set
   231 # CT_BINUTILS_V_2_19_1 is not set
   232 CT_BINUTILS_V_2_19=y
   233 # CT_BINUTILS_V_2_18 is not set
   234 # CT_BINUTILS_V_2_17 is not set
   235 # CT_BINUTILS_V_2_16_1 is not set
   236 CT_BINUTILS_VERSION="2.19"
   237 CT_BINUTILS_EXTRA_CONFIG=""
   238 CT_BINUTILS_FOR_TARGET=y
   239 CT_BINUTILS_FOR_TARGET_IBERTY=y
   240 CT_BINUTILS_FOR_TARGET_BFD=y
   241 
   242 #
   243 # C compiler
   244 #
   245 CT_CC="gcc"
   246 CT_CC_VERSION="4.3.2"
   247 CT_CC_gcc=y
   248 # CT_CC_V_4_4_2 is not set
   249 # CT_CC_V_4_4_1 is not set
   250 # CT_CC_V_4_4_0 is not set
   251 # CT_CC_V_4_3_4 is not set
   252 # CT_CC_V_4_3_3 is not set
   253 CT_CC_V_4_3_2=y
   254 # CT_CC_V_4_3_1 is not set
   255 # CT_CC_V_4_3_0 is not set
   256 # CT_CC_V_4_2_4 is not set
   257 # CT_CC_V_4_2_3 is not set
   258 # CT_CC_V_4_2_2 is not set
   259 # CT_CC_V_4_2_1 is not set
   260 # CT_CC_V_4_2_0 is not set
   261 # CT_CC_V_4_1_2 is not set
   262 # CT_CC_V_4_0_4 is not set
   263 # CT_CC_V_3_4_6 is not set
   264 CT_CC_GCC_4_3_or_later=y
   265 # CT_CC_GCC_4_4_or_later is not set
   266 CT_CC_CXA_ATEXIT=y
   267 # CT_CC_SJLJ_EXCEPTIONS_CONFIGURE is not set
   268 # CT_CC_SJLJ_EXCEPTIONS_USE is not set
   269 CT_CC_SJLJ_EXCEPTIONS_DONT_USE=y
   270 CT_CC_ENABLE_CXX_FLAGS=""
   271 CT_CC_CORE_EXTRA_CONFIG=""
   272 CT_CC_EXTRA_CONFIG=""
   273 CT_CC_PKGVERSION="crosstool-NG-${CT_VERSION}"
   274 CT_CC_BUGURL=""
   275 CT_CC_SUPPORT_CXX=y
   276 CT_CC_SUPPORT_FORTRAN=y
   277 CT_CC_SUPPORT_JAVA=y
   278 CT_CC_SUPPORT_ADA=y
   279 CT_CC_SUPPORT_OBJC=y
   280 CT_CC_SUPPORT_OBJCXX=y
   281 
   282 #
   283 # Additional supported languages:
   284 #
   285 CT_CC_LANG_CXX=y
   286 # CT_CC_LANG_FORTRAN is not set
   287 # CT_CC_LANG_JAVA is not set
   288 
   289 #
   290 # C-library
   291 #
   292 CT_LIBC="glibc"
   293 CT_LIBC_VERSION="2.8"
   294 # CT_LIBC_eglibc is not set
   295 CT_LIBC_glibc=y
   296 # CT_LIBC_newlib is not set
   297 # CT_LIBC_none is not set
   298 # CT_LIBC_uClibc is not set
   299 # CT_LIBC_V_2_10_1 is not set
   300 # CT_LIBC_V_2_9 is not set
   301 CT_LIBC_V_2_8=y
   302 # CT_LIBC_V_2_7 is not set
   303 # CT_LIBC_V_2_6_1 is not set
   304 # CT_LIBC_V_2_6 is not set
   305 # CT_LIBC_V_2_5_1 is not set
   306 # CT_LIBC_V_2_5 is not set
   307 # CT_LIBC_V_2_3_6 is not set
   308 CT_LIBC_GLIBC_2_8_or_later=y
   309 # CT_LIBC_GLIBC_TARBALL is not set
   310 CT_LIBC_GLIBC_CVS=y
   311 CT_LIBC_GLIBC_CVS_date=""
   312 
   313 #
   314 # glibc/eglibc common options
   315 #
   316 CT_LIBC_GLIBC_EXTRA_CONFIG=""
   317 CT_LIBC_GLIBC_CONFIGPARMS=""
   318 CT_LIBC_GLIBC_EXTRA_CFLAGS=""
   319 CT_LIBC_EXTRA_CC_ARGS=""
   320 CT_LIBC_GLIBC_USE_PORTS=y
   321 CT_LIBC_ADDONS_LIST=""
   322 
   323 #
   324 # WARNING!!!
   325 #
   326 
   327 #
   328 # For glibc >= 2.8, addons are only available via a CVS checkout.
   329 #
   330 
   331 #
   332 # Be sure to review the associated options, above.
   333 #
   334 # CT_LIBC_GLIBC_KERNEL_VERSION_NONE is not set
   335 CT_LIBC_GLIBC_KERNEL_VERSION_AS_HEADERS=y
   336 # CT_LIBC_GLIBC_KERNEL_VERSION_CHOSEN is not set
   337 CT_LIBC_GLIBC_MIN_KERNEL="2.6.27.42"
   338 CT_LIBC_SUPPORT_NPTL=y
   339 CT_LIBC_SUPPORT_LINUXTHREADS=y
   340 CT_THREADS="nptl"
   341 
   342 #
   343 # Common C library options
   344 #
   345 CT_THREADS_NPTL=y
   346 # CT_THREADS_LINUXTHREADS is not set
   347 # CT_THREADS_NONE is not set
   348 
   349 #
   350 # Debug facilities
   351 #
   352 CT_DEBUG_dmalloc=y
   353 CT_DMALLOC_V_5_5_2=y
   354 CT_DMALLOC_VERSION="5.5.2"
   355 CT_DEBUG_duma=y
   356 CT_DUMA_A=y
   357 CT_DUMA_SO=y
   358 CT_DUMA_V_2_5_15=y
   359 # CT_DUMA_V_2_5_14 is not set
   360 # CT_DUMA_V_2_5_12 is not set
   361 # CT_DUMA_V_2_5_8 is not set
   362 # CT_DUMA_V_2_5_1 is not set
   363 CT_DUMA_VERSION="2_5_15"
   364 CT_DEBUG_gdb=y
   365 CT_GDB_CROSS=y
   366 # CT_GDB_CROSS_STATIC is not set
   367 CT_GDB_NATIVE=y
   368 # CT_GDB_NATIVE_STATIC is not set
   369 CT_GDB_NATIVE_USE_GMP_MPFR=y
   370 CT_GDB_GDBSERVER=y
   371 CT_GDB_GDBSERVER_STATIC=y
   372 # CT_GDB_V_7_0 is not set
   373 CT_GDB_V_6_8=y
   374 # CT_GDB_V_snapshot is not set
   375 CT_GDB_VERSION="6.8"
   376 
   377 #
   378 # Native gdb needs a native ncurses library
   379 #
   380 CT_NCURSES_V_5_7=y
   381 # CT_NCURSES_V_5_6 is not set
   382 CT_NCURSES_VERSION="5.7"
   383 CT_DEBUG_ltrace=y
   384 CT_LTRACE_V_0_5_2=y
   385 # CT_LTRACE_V_0_5_1 is not set
   386 # CT_LTRACE_V_0_5 is not set
   387 # CT_LTRACE_V_0_4 is not set
   388 CT_LTRACE_VERSION="0.5.2"
   389 CT_DEBUG_strace=y
   390 # CT_STRACE_V_4_5_19 is not set
   391 CT_STRACE_V_4_5_18=y
   392 # CT_STRACE_V_4_5_17 is not set
   393 # CT_STRACE_V_4_5_16 is not set
   394 # CT_STRACE_V_4_5_15 is not set
   395 CT_STRACE_VERSION="4.5.18"
   396 
   397 #
   398 # Tools facilities
   399 #
   400 CT_TOOL_libelf=y
   401 CT_LIBELF_V_0_8_12=y
   402 # CT_LIBELF_V_0_8_11 is not set
   403 # CT_LIBELF_V_0_8_10 is not set
   404 CT_LIBELF_VERSION="0.8.12"
   405 CT_TOOL_sstrip=y
   406 CT_SSTRIP_BUILDROOT=y
   407 # CT_SSTRIP_ELFKICKERS is not set
   408 CT_SSTRIP_FROM="buildroot"
   409 
   410 #
   411 # Companion libraries
   412 #
   413 CT_WRAPPER_NEEDED=y
   414 CT_GMP_MPFR=y
   415 CT_GMP_V_4_3_1=y
   416 # CT_GMP_V_4_3_0 is not set
   417 # CT_GMP_V_4_2_4 is not set
   418 # CT_GMP_V_4_2_2 is not set
   419 CT_GMP_VERSION="4.3.1"
   420 CT_MPFR_V_2_4_1=y
   421 # CT_MPFR_V_2_4_0 is not set
   422 # CT_MPFR_V_2_3_2 is not set
   423 # CT_MPFR_V_2_3_1 is not set
   424 CT_MPFR_VERSION="2.4.1"
   425 # CT_PPL_CLOOG_MPC is not set
   426 
   427 #
   428 # Companion libraries common options
   429 #
   430 # CT_COMP_LIBS_CHECK is not set
   431 CT_COMP_LIBS_TARGET=y
   432 CT_TOOLS_WRAPPER_SCRIPT=y
   433 # CT_TOOLS_WRAPPER_EXEC is not set
   434 CT_TOOLS_WRAPPER="script"