arch/sh/config.in
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Wed May 21 22:00:52 2008 +0000 (2008-05-21)
changeset 527 4ac12179ef23
child 628 87802cb25a0f
permissions -rw-r--r--
Introduce target-specific LDFLAGS, the same way we have CFLAGS for the target.
It seems to be helping gcc somewhat into telling the correct endianness to ld that sticks with little endian even when the target is big (eg armeb-unknown-linux-uclibcgnueabi).
There's still work to do, especially finish the gcc part that is not in this commit.

/trunk/scripts/functions | 9 7 2 0 +++++++--
1 file changed, 7 insertions(+), 2 deletions(-)
yann@413
     1
# Super-H specific configuration file
yann@413
     2
yann@413
     3
comment "Super-H specific configuration"
yann@413
     4
yann@413
     5
choice
yann@413
     6
    bool
yann@413
     7
    prompt "Variant"
yann@413
     8
yann@413
     9
config ARCH_SH_SH3
yann@413
    10
    bool
yann@413
    11
    prompt "sh3"
yann@413
    12
yann@413
    13
config ARCH_SH_SH4
yann@413
    14
    bool
yann@413
    15
    prompt "sh4"
yann@413
    16
yann@413
    17
config ARCH_SH_SH4A
yann@413
    18
    bool
yann@413
    19
    prompt "sh4a"
yann@413
    20
yann@413
    21
endchoice
yann@413
    22
yann@413
    23
config ARCH_SH_VARIANT
yann@413
    24
    string
yann@413
    25
    default "sh3"   if ARCH_SH_SH3
yann@413
    26
    default "sh4"   if ARCH_SH_SH4
yann@413
    27
    default "sh4a"  if ARCH_SH_SH4A