config/arch/sh.in
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Tue Jan 20 19:05:52 2009 +0000 (2009-01-20)
changeset 1147 86930cd9340a
parent 898 fe3eda71a9d0
child 1269 17e37102a037
permissions -rw-r--r--
Fix building ltrace on PowerPC.

On 20090115.0012+0100, "Andy Johnson" <ajohnson@aecno.com> wrote:
ltrace wouldn't build on PowerPC because in the
sysdeps/linux-gnu directory in the ltrace source tree
the powerpc directory is called ppc. I added some code
in 400-ltrace.sh to create a symlink for it so it will
build now.

Patch slightly modified by me before applying.

/trunk/scripts/build/debug/400-ltrace.sh | 5 5 0 0 +++++
1 file changed, 5 insertions(+)
     1 # Super-H specific configuration file
     2 # EXPERIMENTAL
     3 
     4 config ARCH_sh
     5     select ARCH_SUPPORTS_BOTH_ENDIAN
     6     select ARCH_DEFAULT_LE
     7     help
     8       The Super-H architecture, as defined by:
     9         http://www.renesas.com/fmwk.jsp?cnt=superh_family_landing.jsp&fp=/products/mpumcu/superh_family/
    10 
    11 choice
    12     bool
    13     prompt "Variant"
    14 
    15 config ARCH_SH_SH3
    16     bool
    17     prompt "sh3"
    18 
    19 config ARCH_SH_SH4
    20     bool
    21     prompt "sh4"
    22 
    23 config ARCH_SH_SH4A
    24     bool
    25     prompt "sh4a"
    26 
    27 endchoice
    28 
    29 config ARCH_SH_VARIANT
    30     string
    31     default "sh3"   if ARCH_SH_SH3
    32     default "sh4"   if ARCH_SH_SH4
    33     default "sh4a"  if ARCH_SH_SH4A