config/toolchain.in
changeset 41 fd6ad5721f77
child 47 7e2539937b6e
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/config/toolchain.in	Tue Apr 17 22:24:42 2007 +0000
     1.3 @@ -0,0 +1,164 @@
     1.4 +menu "Toolchain options"
     1.5 +
     1.6 +comment "General toolchain options"
     1.7 +
     1.8 +config USE_SYSROOT
     1.9 +    bool
    1.10 +    prompt "Use sysroot'ed toolchain"
    1.11 +    default y
    1.12 +    help
    1.13 +      Use the 'shinny new' sysroot feature of gcc: libraries split between
    1.14 +      prefix/target/sys-root/lib and prefix/target/sys-root/usr/lib
    1.15 +      
    1.16 +      You definitely want to say 'Y' here. Yes you do. I know you do. Say 'Y'.
    1.17 +
    1.18 +config SHARED_LIBS
    1.19 +    bool
    1.20 +    prompt "Build shared libraries"
    1.21 +    default y
    1.22 +    help
    1.23 +      Say 'y' here, unless you don't want shared libraries.
    1.24 +      
    1.25 +      You might not want shared librries if you're building for a target that
    1.26 +      don't support it (maybe some nommu targets, for example, or bare metal).
    1.27 +
    1.28 +config TARGET_MULTILIB
    1.29 +    bool
    1.30 +#    prompt "Enable 'multilib' support (EXPERIMENTAL)"
    1.31 +    default n
    1.32 +    help
    1.33 +      Enable the so-called 'multilib' support.
    1.34 +      
    1.35 +      With the same toolchain, and on some architectures, you will be able to
    1.36 +      build big and little endian binaries, soft- and hard-float, etc...
    1.37 +      
    1.38 +      See the gcc configure manual at http://gcc.gnu.org/install/configure.html
    1.39 +      to see what multilib your target supports.
    1.40 +      
    1.41 +      It's preferable for now to build two (or more) toolchains, one for each
    1.42 +      configuration you need to support (eg. one for thumb and one for ARM,
    1.43 +      etc...). You can use the vendor string to diferentiate those toolchains.
    1.44 +
    1.45 +config TARGET_VENDOR
    1.46 +    string
    1.47 +    prompt "Vendor string"
    1.48 +    default "unknown"
    1.49 +    help
    1.50 +      Vendor part of the machine triplet.
    1.51 +      
    1.52 +      A triplet is of the form arch-vendor-kernel-system.
    1.53 +      You can set the second part, vendor, to whatever you see fit.
    1.54 +      Use a single word, or use underscores "_" to separate words.
    1.55 +      
    1.56 +      Keep the default (unkown) if you don't know better.
    1.57 +
    1.58 +config TARGET_ALIAS
    1.59 +    string
    1.60 +    prompt "Target alias"
    1.61 +    default ""
    1.62 +    help
    1.63 +      Normaly, you'd call your toolchain component (especially gcc) by
    1.64 +      prefixing the target triplet followed by a dash and the component name
    1.65 +      (eg. armeb-unknown-linux-uclibc-gcc).
    1.66 +      
    1.67 +      You can enter a shortcut here. This string will be used to create
    1.68 +      symbolic links to the toolchain tools (eg. if you enter "foo-bar" here,
    1.69 +      then gcc for your toolchain will also be available as "foo-bar-gcc" along
    1.70 +      with the original name).
    1.71 +      
    1.72 +      You shouldn't need to enter anything here, unless you plan to manually
    1.73 +      call the tools (autotools-based ./configure will use the standard name).
    1.74 +
    1.75 +config ARCH
    1.76 +    string
    1.77 +    default "arm"     if ARCH_ARM
    1.78 +    default "mips"    if ARCH_MIPS
    1.79 +    default "x86"     if ARCH_x86
    1.80 +    default "x86_64"  if ARCH_x86_64
    1.81 +
    1.82 +comment "Toolchain type"
    1.83 +
    1.84 +choice
    1.85 +    bool
    1.86 +    prompt "Type"
    1.87 +    default CROSS
    1.88 +
    1.89 +config NATIVE
    1.90 +    bool
    1.91 +    prompt "Native (EXPERIMENTAL)"
    1.92 +    depends on EXPERIMENTAL
    1.93 +    help
    1.94 +      Build a native toolchain.
    1.95 +      See docs/overview.txt
    1.96 +
    1.97 +config CROSS
    1.98 +    bool
    1.99 +    prompt "Cross"
   1.100 +    help
   1.101 +      Build a cross-toolchain.
   1.102 +      See docs/overview.txt
   1.103 +
   1.104 +config CROSS_NATIVE
   1.105 +    bool
   1.106 +    prompt "Croos-native (EXPERIMENTAL)"
   1.107 +    depends on EXPERIMENTAL
   1.108 +    help
   1.109 +      Build a cross-native toolchain.
   1.110 +      See docs/overview.txt
   1.111 +
   1.112 +config CANADIAN
   1.113 +    bool
   1.114 +    prompt "Canadian (EXPERIMENTAL)"
   1.115 +    depends on EXPERIMENTAL
   1.116 +    default n
   1.117 +    help
   1.118 +      Build a canadian-toolchain.
   1.119 +      See docs/overview.txt
   1.120 +
   1.121 +endchoice
   1.122 +
   1.123 +config BUILD 
   1.124 +    string
   1.125 +    prompt "Build system triplet"
   1.126 +    default ""
   1.127 +    help
   1.128 +      Canonical name of the machine building the toolchain.
   1.129 +      You should leave empty, unless you really now what you're doing.
   1.130 +
   1.131 +config CC_NATIVE
   1.132 +    string
   1.133 +    prompt "Native gcc"
   1.134 +    default "gcc"
   1.135 +    help
   1.136 +      The native C compiler.
   1.137 +      
   1.138 +      You can set this to an alternative compiler if you have more than one
   1.139 +      installed (eg. gcc is gcc-4.1.1 and you want to use gcc-3.4.6).
   1.140 +      
   1.141 +      You can leave this empty as well, in which case gcc will be used.
   1.142 +
   1.143 +config HOST
   1.144 +    string
   1.145 +    prompt "Host system triplet"
   1.146 +    default ""
   1.147 +    depends on NATIVE || CANADIAN
   1.148 +    help
   1.149 +      Canonical name of the machine running the toolchain.
   1.150 +
   1.151 +config HOST_CC
   1.152 +    string
   1.153 +    prompt "Cross-compiler prefix for host system"
   1.154 +    default "${CT_HOST}-"
   1.155 +    depends on NATIVE || CANADIAN
   1.156 +    help
   1.157 +      C compiler targeting the host system.
   1.158 +
   1.159 +config TARGET_CC
   1.160 +    string
   1.161 +    prompt "Cross-compiler prefix for target system"
   1.162 +    default "${CT_TARGET}-"
   1.163 +    depends on CANADIAN
   1.164 +    help
   1.165 +      C compiler targeting the target system.
   1.166 +
   1.167 +endmenu