config/kernel/mingw32.in
author Anthony Foiani <anthony.foiani@gmail.com>
Thu Oct 07 22:37:06 2010 +0200 (2010-10-07)
changeset 2138 2242d87c5404
parent 2027 38cc05a621f0
child 2444 896cb0d36c1a
permissions -rw-r--r--
scripts: always create lib32 and lib64 symlinks

Unconditionally create the lib32 -> lib/ and lib64 -> lib/ symlinks.

This is reportedly a fix to build a toolchain for a 32-bit target on
a 'pure' 64-bit host (eg. on Fedora FC12, host libs are in lib64/,
and there is no lib -> lib64 symlink, as we can see on other distors,
as Debian). As gcc only puts static host lib in lib64/ (along with
target files in subdirs), we can safely create the symlinks.

Also note that the symlinks are summarily removed at the end
of the build.

Signed-off-by: Anthony Foiani <anthony.foiani@gmail.com>
[Yann E. MORIN: fix a comment, rephrase the commit log]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
     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