config/arch/sh.in
author Bart vdr. Meulen <bartvdrmeulen@gmail.com>
Mon Jul 19 23:16:02 2010 +0200 (2010-07-19)
branch1.7
changeset 2046 471acb219d77
parent 1716 6bbf206a5b57
child 2114 b1d27d43a825
permissions -rw-r--r--
complibs: fix using static companion libraries

When building a cross-compiler for a target which uses a file extension for
binaries the symbolic link to cc is not created correctly because the lookup
of the gcc binary is done in a incorrect path

Signed-off-by: Bart vdr. Meulen <bartvdrmeulen@gmail.com>
(transplanted from 3917f2dafed1bb189e39f50e8506b3141926d7e1)
     1 # Super-H specific configuration file
     2 
     3 config ARCH_sh
     4     select ARCH_SUPPORTS_32
     5     select ARCH_DEFAULT_32
     6     select ARCH_USE_MMU
     7     select ARCH_SUPPORTS_BOTH_ENDIAN
     8     select ARCH_DEFAULT_LE
     9     help
    10       The Super-H architecture, as defined by:
    11         http://www.renesas.com/fmwk.jsp?cnt=superh_family_landing.jsp&fp=/products/mpumcu/superh_family/
    12 
    13 choice
    14     bool
    15     prompt "Variant"
    16 
    17 config ARCH_SH_SH3
    18     bool
    19     prompt "sh3"
    20 
    21 config ARCH_SH_SH4
    22     bool
    23     prompt "sh4"
    24 
    25 config ARCH_SH_SH4A
    26     bool
    27     prompt "sh4a"
    28 
    29 endchoice
    30 
    31 config ARCH_SH_VARIANT
    32     string
    33     default "sh3"   if ARCH_SH_SH3
    34     default "sh4"   if ARCH_SH_SH4
    35     default "sh4a"  if ARCH_SH_SH4A