config/kernel/mingw32.in
author Bart vdr Meulen <bartvdrmeulen@gmail.com>
Sun Jul 11 21:36:20 2010 +0200 (2010-07-11)
changeset 2017 f637b6c2162b
child 2027 38cc05a621f0
permissions -rw-r--r--
kernel: add mingw

Add the option to build a cross-compiler for kernel type 'mingw'.
The resulting cross-compiler can be used to build applications on a Linux host
that can be run on a Windows target.

Compiler is build using the mingwrt and w32-api packages aviable from the
MinGW project (http://sourceforge.net/projects/mingw).

The windows headers (w32-api package) are extracting with the kernel_headers
step The libraries and other headers from both packages are build and
installed in the various steps of libc

Signed-off-by: Bart vdr Meulen <bartvdrmeulen@gmail.com>
[yann.morin.1998@anciens.enib.fr: fix kernel headers comment, don't "return 0"]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
     1 # mingw32 config options
     2 
     3 config KERNEL_mingw32
     4     select MINGW32
     5     help
     6       Build a toolchain targeting systems running Windows as host
     7 
     8 choice
     9     bool
    10     prompt "Windows api version"
    11 
    12 # Don't remove next line
    13 # CT_INSERT_VERSION_BELOW
    14 config W32API_V_3_14
    15     bool
    16     prompt "3.14"
    17 
    18 config W32API_V_select
    19     bool
    20     prompt "Other version"
    21 
    22 endchoice
    23 
    24 config W32API_VERSION
    25     string
    26     prompt "W32 api version" if W32API_V_select
    27 # Don't remove next line
    28 # CT_INSERT_VERSION_STRING_BELOW
    29     default "3.14" if W32API_V_3_14
    30     help
    31       Enter the version number of the windows api files to use
    32