config/binutils.in
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Sun Sep 14 16:21:07 2008 +0000 (2008-09-14)
changeset 850 ef8549b58b6f
parent 647 390c269d3757
child 866 5fec4dba671e
permissions -rw-r--r--
Introduce a new EXPERIMENTAL feature: BARE_METAL.
This should ultimately llow to build bare-metal compilers, for targets that have no kernel and no C library.
Move the C library build script to their own sub-directory; introduce an empty build script for bare-metal.
Move the compiler build script to its own sub-directory.
Move the kernel build script to its own sub-directory; introduce an empty build script for bare-metal.
Update the ARM target tuples to enable bare-metal targets.
Add two ARM bare-metal samples.
Add latest Linux kernel versions.

/trunk/scripts/build/kernel/none.sh | 77 6 71 0 +----
/trunk/scripts/build/cc/gcc.sh | 58 41 17 0 ++-
/trunk/scripts/build/libc/none.sh | 513 9 504 0 +-----------------------------
/trunk/scripts/crosstool.sh | 17 9 8 0 +
/trunk/scripts/functions | 6 4 2 0 +
/trunk/scripts/showSamples.sh | 6 3 3 0
/trunk/samples/arm-unknown-elf/crosstool.config | 225 225 0 0 +++++++++++++
/trunk/samples/arm-unknown-eabi/crosstool.config | 223 223 0 0 +++++++++++++
/trunk/config/kernel/linux_headers_install.in | 64 27 37 0 ++--
/trunk/config/kernel.in | 9 8 1 0 +
/trunk/config/toolchain.in | 1 1 0 0 +
/trunk/config/cc/gcc.in | 3 3 0 0 +
/trunk/config/debug/dmalloc.in | 1 1 0 0 +
/trunk/config/debug/gdb.in | 4 3 1 0 +
/trunk/config/debug/strace.in | 1 1 0 0 +
/trunk/config/debug/duma.in | 1 1 0 0 +
/trunk/config/cc.in | 8 8 0 0 +
/trunk/config/target.in | 13 13 0 0 +
/trunk/config/binutils.in | 1 1 0 0 +
/trunk/config/gmp_mpfr.in | 1 1 0 0 +
/trunk/config/libc.in | 17 11 6 0 +
/trunk/arch/arm/functions | 3 1 2 0 -
22 files changed, 600 insertions(+), 652 deletions(-)
     1 # binutils options
     2 
     3 menu "binutils"
     4 
     5 config BINUTILS_VERSION
     6     string
     7 
     8 choice
     9     bool
    10     prompt "binutils version"
    11 
    12 config BINUTILS_V_2_14
    13     bool
    14     prompt "2.14 (OBSOLETE)"
    15     depends on OBSOLETE
    16 
    17 config BINUTILS_V_2_15
    18     bool
    19     prompt "2.15 (OBSOLETE)"
    20     depends on OBSOLETE
    21 
    22 config BINUTILS_V_2_16_1
    23     bool
    24     prompt "2.16.1"
    25 
    26 config BINUTILS_V_2_17
    27     bool
    28     prompt "2.17"
    29 
    30 config BINUTILS_V_2_18
    31     bool
    32     prompt "2.18"
    33 
    34 config BINUTILS_V_2_18_50_0_4
    35     bool
    36     prompt "2.18.50.0.4 (EXPERIMENTAL)"
    37     depends on EXPERIMENTAL
    38 
    39 config BINUTILS_V_2_18_50_0_6
    40     bool
    41     prompt "2.18.50.0.6 (EXPERIMENTAL)"
    42     depends on EXPERIMENTAL
    43 
    44 config BINUTILS_V_2_18_50_0_7
    45     bool
    46     prompt "2.18.50.0.7 (EXPERIMENTAL)"
    47     depends on EXPERIMENTAL
    48 
    49 config BINUTILS_V_2_18_50_0_8
    50     bool
    51     prompt "2.18.50.0.8 (EXPERIMENTAL)"
    52     depends on EXPERIMENTAL
    53 
    54 # CT_INSERT_VERSION_ABOVE
    55 # Don't remove above line!
    56 endchoice
    57 
    58 config BINUTILS_VERSION
    59     string
    60     default "2.14" if BINUTILS_V_2_14
    61     default "2.15" if BINUTILS_V_2_15
    62     default "2.16.1" if BINUTILS_V_2_16_1
    63     default "2.17" if BINUTILS_V_2_17
    64     default "2.18" if BINUTILS_V_2_18
    65     default "2.18.50.0.4" if BINUTILS_V_2_18_50_0_4
    66     default "2.18.50.0.6" if BINUTILS_V_2_18_50_0_6
    67     default "2.18.50.0.7" if BINUTILS_V_2_18_50_0_7
    68     default "2.18.50.0.8" if BINUTILS_V_2_18_50_0_8
    69 # CT_INSERT_VERSION_STRING_ABOVE
    70 # Don't remove above line!
    71 
    72 config BINUTILS_EXTRA_CONFIG
    73     string
    74     prompt "binutils extra config"
    75     default ""
    76     help
    77       Extra flags passed onto ./configure when configuring
    78 
    79 config BINUTILS_FOR_TARGET
    80     bool
    81     prompt "binutils libraries for the target"
    82     depends on ! BARE_METAL
    83     default n
    84     help
    85       Some utilities may need binutils libraries to be available on
    86       the target, eg. oprofile.
    87 
    88 if BINUTILS_FOR_TARGET
    89 
    90 config BINUTILS_FOR_TARGET_IBERTY
    91     bool
    92     prompt "libiberty"
    93     default y
    94 
    95 config BINUTILS_FOR_TARGET_BFD
    96     bool
    97     prompt "libbfd"
    98     default y
    99 
   100 endif # BINUTILS_FOR_TARGET
   101 
   102 endmenu