config/toolchain.in
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Sat May 24 22:10:51 2008 +0000 (2008-05-24)
changeset 530 010a5f732a6f
parent 425 548b7aa23385
child 802 4c6b50e0021a
permissions -rw-r--r--
Building multi-lib aware toolchains is not supported, and won'yt be before a loooong time. Remove the associated config entry.

/trunk/config/toolchain.in | 18 0 18 0 ------------------
1 file changed, 18 deletions(-)
     1 menu "Toolchain options"
     2 
     3 comment "General toolchain options"
     4 
     5 config USE_SYSROOT
     6     bool
     7     prompt "Use sysroot'ed toolchain"
     8     default y
     9     help
    10       Use the 'shinny new' sysroot feature of gcc: libraries split between
    11       prefix/target/sys-root/lib and prefix/target/sys-root/usr/lib
    12       
    13       You definitely want to say 'Y' here. Yes you do. I know you do. Say 'Y'.
    14 
    15 config SHARED_LIBS
    16     bool
    17     prompt "Build shared libraries"
    18     default y
    19     help
    20       Say 'y' here, unless you don't want shared libraries.
    21       
    22       You might not want shared librries if you're building for a target that
    23       don't support it (maybe some nommu targets, for example, or bare metal).
    24 
    25 choice
    26     bool
    27     prompt "Threading implementation to use:"
    28     default THREADS_NPTL           if LIBC_SUPPORT_NPTL
    29     default THREADS_LINUXTHREADS   if LIBC_SUPPORT_LINUXTHREADS && ! LIBC_SUPPORT_NPTL
    30     default THREADS_NONE           if ! LIBC_SUPPORT_LINUXTHREADS && ! LIBC_SUPPORT_NPTL
    31 
    32 config THREADS_NPTL
    33     bool
    34     prompt "nptl"
    35     depends on LIBC_SUPPORT_NPTL
    36 
    37 config THREADS_LINUXTHREADS
    38     bool
    39     prompt "linuxthreads"
    40     depends on LIBC_SUPPORT_LINUXTHREADS
    41 
    42 config THREADS_NONE
    43     bool
    44     prompt "none"
    45 
    46 endchoice
    47 
    48 config THREADS
    49     string
    50     default "nptl"          if THREADS_NPTL
    51     default "linuxthreads"  if THREADS_LINUXTHREADS
    52     default "none"          if THREADS_NONE
    53 
    54 config TARGET_VENDOR
    55     string
    56     prompt "Vendor string"
    57     default "unknown"
    58     help
    59       Vendor part of the target tuple.
    60       
    61       A tuple is of the form arch-vendor-kernel-system.
    62       You can set the second part, vendor, to whatever you see fit.
    63       Use a single word, or use underscores "_" to separate words.
    64       
    65       Keep the default (unkown) if you don't know better.
    66 
    67 config TARGET_ALIAS_SED_EXPR
    68     string
    69     prompt "Target sed transform"
    70     default ""
    71     help
    72       Normaly, you'd call your toolchain components (especially gcc) by
    73       prefixing the target tuple followed by a dash and the component name
    74       (eg. armeb-unknown-linux-uclibc-gcc).
    75       
    76       You can enter here a sed expression to be applied to ${CT_TARGET} to
    77       create an alias for your toolchain.
    78       
    79       For example, "s/${CT_TARGET_VENDOR}/foobar/" (without the double quotes)
    80       will create the armeb-foobar-linux-uclibc alias to the above-mentioned
    81       toolchain.
    82       
    83       You shouldn't need to enter anything here, unless you plan to manually
    84       call the tools (autotools-based ./configure will use the standard name).
    85 
    86 config TARGET_ALIAS
    87     string
    88     prompt "Target alias"
    89     default ""
    90     help
    91       Normaly, you'd call your toolchain components (especially gcc) by
    92       prefixing the target tuple followed by a dash and the component name
    93       (eg. armeb-unknown-linux-uclibc-gcc).
    94       
    95       You can enter a shortcut here. This string will be used to create
    96       symbolic links to the toolchain tools (eg. if you enter "foo-bar" here,
    97       then gcc for your toolchain will also be available as "foo-bar-gcc" along
    98       with the original name).
    99       
   100       You shouldn't need to enter anything here, unless you plan to manually
   101       call the tools (autotools-based ./configure will use the standard name).
   102 
   103 comment "Toolchain type"
   104 
   105 choice
   106     bool
   107     prompt "Type"
   108     default CROSS
   109 
   110 config NATIVE
   111     bool
   112     prompt "Native (EXPERIMENTAL)"
   113     depends on EXPERIMENTAL
   114     help
   115       Build a native toolchain.
   116       See docs/overview.txt
   117 
   118 config CROSS
   119     bool
   120     prompt "Cross"
   121     help
   122       Build a cross-toolchain.
   123       See docs/overview.txt
   124 
   125 config CROSS_NATIVE
   126     bool
   127     prompt "Cross-native (EXPERIMENTAL)"
   128     depends on EXPERIMENTAL
   129     help
   130       Build a cross-native toolchain.
   131       See docs/overview.txt
   132 
   133 config CANADIAN
   134     bool
   135     prompt "Canadian (EXPERIMENTAL)"
   136     depends on EXPERIMENTAL
   137     help
   138       Build a canadian-toolchain.
   139       See docs/overview.txt
   140 
   141 endchoice
   142 
   143 config TOOLCHAIN_TYPE
   144     string
   145     default "native"        if NATIVE
   146     default "cross"         if CROSS
   147     default "cross-native"  if CROSS_NATIVE
   148     default "canadian"      if CANADIAN
   149 
   150 config BUILD 
   151     string
   152     prompt "Build system tuple"
   153     default ""
   154     help
   155       Canonical name of the machine building the toolchain.
   156       You should leave empty, unless you really now what you're doing.
   157 
   158 config CC_NATIVE
   159     string
   160     prompt "Native gcc"
   161     default "gcc"
   162     help
   163       The native C compiler.
   164       
   165       You can set this to an alternative compiler if you have more than one
   166       installed (eg. gcc is gcc-4.1.1 and you want to use gcc-3.4.6).
   167       
   168       You can leave this empty as well, in which case gcc will be used.
   169 
   170 config HOST
   171     string
   172     prompt "Host system tuple"
   173     default ""
   174     depends on NATIVE || CANADIAN
   175     help
   176       Canonical name of the machine running the toolchain.
   177 
   178 config HOST_CC
   179     string
   180     prompt "Cross-compiler prefix for host system"
   181     default "${CT_HOST}-"
   182     depends on NATIVE || CANADIAN
   183     help
   184       C compiler targeting the host system.
   185 
   186 config TARGET_CC
   187     string
   188     prompt "Cross-compiler prefix for target system"
   189     default "${CT_TARGET}-"
   190     depends on CANADIAN
   191     help
   192       C compiler targeting the target system.
   193 
   194 endmenu