config/companion_libs/ppl.in
author Remy Bohmer <linux@bohmer.net>
Fri Apr 09 21:04:37 2010 +0200 (2010-04-09)
changeset 1926 e6a9a4f36645
parent 1386 7995942261f2
child 2072 72b3996ba3e6
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>
yann@1324
     1
# PPL options
yann@1324
     2
yann@1324
     3
choice
yann@1324
     4
    bool
yann@1324
     5
    prompt "PPL version"
yann@1535
     6
# Don't remove next line
yann@1535
     7
# CT_INSERT_VERSION_BELOW
yann@1324
     8
yann@1324
     9
config PPL_V_0_10_2
yann@1324
    10
    bool
yann@1324
    11
    prompt "0.10.2"
yann@1324
    12
yann@1324
    13
endchoice
yann@1324
    14
yann@1324
    15
config PPL_VERSION
yann@1324
    16
    string
yann@1535
    17
# Don't remove next line
yann@1535
    18
# CT_INSERT_VERSION_STRING_BELOW
yann@1324
    19
    default "0.10.2" if PPL_V_0_10_2