config/arch/sh.in.2
author Jongsung Kim <neidhard.kim@lge.com>
Thu May 02 23:31:33 2013 +0000 (2013-05-02)
changeset 3209 33f265e3e79d
parent 1782 5eda3399a797
permissions -rw-r--r--
cc/gcc: modify to build gcc-4.8-based cross-tools

Building cross-tool based on gcc-4.8 fails while "Installing
pass-2 core C compiler", because building libgcc.mvars needs
libbacktrace.a that gcc.sh doesn't build. This patch inserts
a few lines configuring, and making libbacktrace into gcc.sh
to build gcc-4.8-based cross-tools successfully.

Reported-by: Plotnikov Dmitry <leitz@ispras.ru>
Signed-off-by: Jongsung Kim <neidhard.kim@lge.com>
Message-Id: <201305031831.33395.neidhard.kim@lge.com>
Patchwork-Id: 241258
     1 # Super-H specific configuration file
     2 
     3 choice
     4     bool
     5     prompt "Variant"
     6 
     7 config ARCH_SH_SH3
     8     bool
     9     prompt "sh3"
    10 
    11 config ARCH_SH_SH4
    12     bool
    13     prompt "sh4"
    14 
    15 config ARCH_SH_SH4A
    16     bool
    17     prompt "sh4a"
    18 
    19 endchoice
    20 
    21 config ARCH_SH_VARIANT
    22     string
    23     default "sh3"   if ARCH_SH_SH3
    24     default "sh4"   if ARCH_SH_SH4
    25     default "sh4a"  if ARCH_SH_SH4A