config/binutils.in
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Sun Jan 03 17:36:54 2010 +0100 (2010-01-03)
changeset 1681 cc8ac5ca65aa
parent 1345 27fec561af53
child 1854 02b74bd4373f
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 # Binary utilities menu
     2 
     3 menu "Binary utilities"
     4 
     5 choice
     6     bool
     7     prompt "Binary format:"
     8 
     9 if ARCH_USE_MMU
    10 
    11 config ARCH_BINFMT_ELF
    12     bool
    13     prompt "ELF"
    14     help
    15       This will make your system build ELF exectubales,
    16       suitable for architectures with an MMU.
    17 
    18 endif # ARCH_USE_MMU
    19 
    20 if ! ARCH_USE_MMU
    21 
    22 config ARCH_BINFMT_FLAT
    23     bool
    24     prompt "Flat"
    25     help
    26       This will build flat binaries, suitable for
    27       MMU-less architectures.
    28 
    29 #config ARCH_BINFMT_FDPIC
    30 #    bool
    31 #    prompt "FD_PIC ELF"
    32 #    help
    33 #      This will build FD_PIC ELF binaries, suitable for
    34 #      MMU-less architectures that still require to use
    35 #      shared libraries (FIXME).
    36 
    37 endif # ! ARCH_USE_MMU
    38 
    39 endchoice
    40 
    41 source config/binutils/binutils.in
    42 source config/binutils/elf2flt.in
    43 
    44 endmenu