config/arch/sh.in
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Mon Mar 29 00:15:32 2010 +0200 (2010-03-29)
changeset 1864 758d5137fe87
parent 1716 6bbf206a5b57
child 2114 b1d27d43a825
permissions -rw-r--r--
scripts/populate: optimise search loop

Curently, populate will iterate over all ELF (shared objects|executables)
to look for missing NEEDED DSOs, adding to the list at every iterations
of the search loop.

Instead of looking again at previously handled ELF files, recursively
resolve every ELf files.

Also, in case there are a whole lot of files (more than the shell can
accept as arguments list, or creating a command line longer than the
shell can cope with), use a temporary file with the list of files
to search for missing dependencies.
     1 # Super-H specific configuration file
     2 
     3 config ARCH_sh
     4     select ARCH_SUPPORTS_32
     5     select ARCH_DEFAULT_32
     6     select ARCH_USE_MMU
     7     select ARCH_SUPPORTS_BOTH_ENDIAN
     8     select ARCH_DEFAULT_LE
     9     help
    10       The Super-H architecture, as defined by:
    11         http://www.renesas.com/fmwk.jsp?cnt=superh_family_landing.jsp&fp=/products/mpumcu/superh_family/
    12 
    13 choice
    14     bool
    15     prompt "Variant"
    16 
    17 config ARCH_SH_SH3
    18     bool
    19     prompt "sh3"
    20 
    21 config ARCH_SH_SH4
    22     bool
    23     prompt "sh4"
    24 
    25 config ARCH_SH_SH4A
    26     bool
    27     prompt "sh4a"
    28 
    29 endchoice
    30 
    31 config ARCH_SH_VARIANT
    32     string
    33     default "sh3"   if ARCH_SH_SH3
    34     default "sh4"   if ARCH_SH_SH4
    35     default "sh4a"  if ARCH_SH_SH4A