config/companion_libs/mpc.in
author Remy Bohmer <linux@bohmer.net>
Fri Apr 09 21:04:37 2010 +0200 (2010-04-09)
changeset 1926 e6a9a4f36645
parent 1695 a86fcf9e4fcd
child 1985 f04a1f18c2bb
permissions -rw-r--r--
cc/gcc: use proper host compiler for canadian bare-metal

While compiling a canadian toolchain for host=mingw32, build=linux,
target=m68k-elf the build fails because in this step of the gcc build
the Host compiler is used in this stage with the build-flags for the
build system. This results in an error where the header <sys/wait.h>
cannot be found.
This problem happens at least in the GCC-4.3.x and GCC-4.4.x range.

This is solved by passing the proper compilers on the Make cmd-line

Signed-off-by: Remy Bohmer <linux@bohmer.net>
     1 # MPC options
     2 
     3 choice
     4     bool
     5     prompt "MPC version"
     6 # Don't remove next line
     7 # CT_INSERT_VERSION_BELOW
     8 
     9 config MPC_V_0_8_1
    10     bool
    11     prompt "0.8.1"
    12 
    13 config MPC_V_0_7
    14     bool
    15     prompt "0.7"
    16 
    17 config MPC_V_0_6
    18     bool
    19     prompt "0.6 (OBSOLETE)"
    20     depends on OBSOLETE
    21 
    22 endchoice
    23 
    24 config MPC_VERSION
    25     string
    26 # Don't remove next line
    27 # CT_INSERT_VERSION_STRING_BELOW
    28     default "0.8.1" if MPC_V_0_8_1
    29     default "0.7" if MPC_V_0_7
    30     default "0.6" if MPC_V_0_6