config/binutils.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 1346 fee8feeba8ac
child 1870 a4c4e51aa541
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 # Binary utilities menu
     2 
     3 menu "Binary utilities"
     4 
     5 choice
     6     bool
     7     prompt "Binary format:"
     8 
     9 if ARCH_USE_MMU
    10 
    11 config ARCH_BINFMT_ELF
    12     bool
    13     prompt "ELF"
    14     help
    15       This will make your system build ELF exectubales,
    16       suitable for architectures with an MMU.
    17 
    18 endif # ARCH_USE_MMU
    19 
    20 if ! ARCH_USE_MMU
    21 
    22 config ARCH_BINFMT_FLAT
    23     bool
    24     prompt "Flat"
    25     help
    26       This will build flat binaries, suitable for
    27       MMU-less architectures.
    28 
    29 #config ARCH_BINFMT_FDPIC
    30 #    bool
    31 #    prompt "FD_PIC ELF"
    32 #    help
    33 #      This will build FD_PIC ELF binaries, suitable for
    34 #      MMU-less architectures that still require to use
    35 #      shared libraries (FIXME).
    36 
    37 endif # ! ARCH_USE_MMU
    38 
    39 endchoice
    40 
    41 source config/binutils/binutils.in
    42 source config/binutils/elf2flt.in
    43 source config/binutils/sstrip.in
    44 
    45 endmenu