config/toolchain.in
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Thu Aug 21 13:12:35 2008 +0000 (2008-08-21)
changeset 803 1787813fc62a
parent 802 4c6b50e0021a
child 850 ef8549b58b6f
permissions -rw-r--r--
Typo.

/trunk/config/toolchain.in | 2 1 1 0 +-
1 file changed, 1 insertion(+), 1 deletion(-)
     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 libraries if you're building for a target that
    23       don't support it (maybe some nommu targets, for example, or bare metal).
    24 
    25 config TARGET_VENDOR
    26     string
    27     prompt "Vendor string"
    28     default "unknown"
    29     help
    30       Vendor part of the target tuple.
    31       
    32       A tuple is of the form arch-vendor-kernel-system.
    33       You can set the second part, vendor, to whatever you see fit.
    34       Use a single word, or use underscores "_" to separate words.
    35       
    36       Keep the default (unkown) if you don't know better.
    37 
    38 config TARGET_ALIAS_SED_EXPR
    39     string
    40     prompt "Target sed transform"
    41     default ""
    42     help
    43       Normaly, you'd call your toolchain components (especially gcc) by
    44       prefixing the target tuple followed by a dash and the component name
    45       (eg. armeb-unknown-linux-uclibc-gcc).
    46       
    47       You can enter here a sed expression to be applied to ${CT_TARGET} to
    48       create an alias for your toolchain.
    49       
    50       For example, "s/${CT_TARGET_VENDOR}/foobar/" (without the double quotes)
    51       will create the armeb-foobar-linux-uclibc alias to the above-mentioned
    52       toolchain.
    53       
    54       You shouldn't need to enter anything here, unless you plan to manually
    55       call the tools (autotools-based ./configure will use the standard name).
    56 
    57 config TARGET_ALIAS
    58     string
    59     prompt "Target alias"
    60     default ""
    61     help
    62       Normaly, you'd call your toolchain components (especially gcc) by
    63       prefixing the target tuple followed by a dash and the component name
    64       (eg. armeb-unknown-linux-uclibc-gcc).
    65       
    66       You can enter a shortcut here. This string will be used to create
    67       symbolic links to the toolchain tools (eg. if you enter "foo-bar" here,
    68       then gcc for your toolchain will also be available as "foo-bar-gcc" along
    69       with the original name).
    70       
    71       You shouldn't need to enter anything here, unless you plan to manually
    72       call the tools (autotools-based ./configure will use the standard name).
    73 
    74 comment "Toolchain type"
    75 
    76 choice
    77     bool
    78     prompt "Type"
    79     default CROSS
    80 
    81 config NATIVE
    82     bool
    83     prompt "Native (EXPERIMENTAL)"
    84     depends on EXPERIMENTAL
    85     help
    86       Build a native toolchain.
    87       See docs/overview.txt
    88 
    89 config CROSS
    90     bool
    91     prompt "Cross"
    92     help
    93       Build a cross-toolchain.
    94       See docs/overview.txt
    95 
    96 config CROSS_NATIVE
    97     bool
    98     prompt "Cross-native (EXPERIMENTAL)"
    99     depends on EXPERIMENTAL
   100     help
   101       Build a cross-native toolchain.
   102       See docs/overview.txt
   103 
   104 config CANADIAN
   105     bool
   106     prompt "Canadian (EXPERIMENTAL)"
   107     depends on EXPERIMENTAL
   108     help
   109       Build a canadian-toolchain.
   110       See docs/overview.txt
   111 
   112 endchoice
   113 
   114 config TOOLCHAIN_TYPE
   115     string
   116     default "native"        if NATIVE
   117     default "cross"         if CROSS
   118     default "cross-native"  if CROSS_NATIVE
   119     default "canadian"      if CANADIAN
   120 
   121 config BUILD 
   122     string
   123     prompt "Build system tuple"
   124     default ""
   125     help
   126       Canonical name of the machine building the toolchain.
   127       You should leave empty, unless you really now what you're doing.
   128 
   129 config CC_NATIVE
   130     string
   131     prompt "Native gcc"
   132     default "gcc"
   133     help
   134       The native C compiler.
   135       
   136       You can set this to an alternative compiler if you have more than one
   137       installed (eg. gcc is gcc-4.1.1 and you want to use gcc-3.4.6).
   138       
   139       You can leave this empty as well, in which case gcc will be used.
   140 
   141 config HOST
   142     string
   143     prompt "Host system tuple"
   144     default ""
   145     depends on NATIVE || CANADIAN
   146     help
   147       Canonical name of the machine running the toolchain.
   148 
   149 config HOST_CC
   150     string
   151     prompt "Cross-compiler prefix for host system"
   152     default "${CT_HOST}-"
   153     depends on NATIVE || CANADIAN
   154     help
   155       C compiler targeting the host system.
   156 
   157 config TARGET_CC
   158     string
   159     prompt "Cross-compiler prefix for target system"
   160     default "${CT_TARGET}-"
   161     depends on CANADIAN
   162     help
   163       C compiler targeting the target system.
   164 
   165 endmenu