config/arch/sh.in
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Thu Oct 23 13:45:48 2008 +0000 (2008-10-23)
changeset 965 45ddf096def1
parent 898 fe3eda71a9d0
child 1269 17e37102a037
permissions -rw-r--r--
Push the calculation of the tuple's kernel part down to kernel's build scripts:
- update the kernel script's API with the function CT_DiKernelTupleValues
- update doc accordingly (also with the architecture change, missing in the previous commit)
- small clean-up in the main script, remove useless test

/trunk/scripts/build/kernel/bare-metal.sh | 5 5 0 0 +++++
/trunk/scripts/build/kernel/linux.sh | 5 5 0 0 +++++
/trunk/scripts/crosstool.sh | 31 13 18 0 +++++++++++++------------------
/trunk/scripts/functions | 15 8 7 0 ++++++++-------
/trunk/docs/overview.txt | 13 9 4 0 +++++++++----
5 files changed, 40 insertions(+), 29 deletions(-)
     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