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(-)
     1 # Super-H specific configuration file
     2 
     3 comment "Super-H specific configuration"
     4 
     5 choice
     6     bool
     7     prompt "Variant"
     8 
     9 config ARCH_SH_SH3
    10     bool
    11     prompt "sh3"
    12 
    13 config ARCH_SH_SH4
    14     bool
    15     prompt "sh4"
    16 
    17 config ARCH_SH_SH4A
    18     bool
    19     prompt "sh4a"
    20 
    21 endchoice
    22 
    23 config ARCH_SH_VARIANT
    24     string
    25     default "sh3"   if ARCH_SH_SH3
    26     default "sh4"   if ARCH_SH_SH4
    27     default "sh4a"  if ARCH_SH_SH4A