config/kernel/mingw32.in
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Tue Jul 12 23:52:24 2011 +0200 (2011-07-12)
branch1.11
changeset 2558 b7317d2fe0e9
parent 2027 38cc05a621f0
child 2444 896cb0d36c1a
permissions -rw-r--r--
scripts, cc/gcc: do not fail on existing symlinks or build.log

If the user builds a toolchain over an existing one, so, without removing
CT_PREFIX_DIR, the build fails as the symlinks already exist, as does the
build.log.

This can also happen (for build.log) if the user first ran in download-
or extract-only.

Patch (with no SoB) originally from:
Phil Wilshire <phil.wilshire@overturenetworks.com>

Modified by me as it did not apply cleanly.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
(transplanted from 1ebc2248cc60230cd53ff94ae8f8f1e3261461a3)
     1 # mingw32 config options
     2 # depends on EXPERIMENTAL && ( ARCH_x86 && ARCH_32 )
     3 
     4 config KERNEL_mingw32
     5     select MINGW32
     6     help
     7       Build a toolchain targeting systems running Windows as host
     8 
     9 choice
    10     bool
    11     prompt "Windows api version"
    12 
    13 # Don't remove next line
    14 # CT_INSERT_VERSION_BELOW
    15 config W32API_V_3_14
    16     bool
    17     prompt "3.14"
    18 
    19 config W32API_V_select
    20     bool
    21     prompt "Other version"
    22 
    23 endchoice
    24 
    25 config W32API_VERSION
    26     string
    27     prompt "W32 api version" if W32API_V_select
    28 # Don't remove next line
    29 # CT_INSERT_VERSION_STRING_BELOW
    30     default "3.14" if W32API_V_3_14
    31     help
    32       Enter the version number of the windows api files to use
    33