arch: define dependencies for the binfmt flat formats
authorWaldemar Brodkorb <wbx@openadk.org>
Mon, 4 Jul 2016 18:51:39 +0000 (20:51 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Tue, 5 Jul 2016 07:48:19 +0000 (09:48 +0200)
commit49d97993d83f92bb975110a7ff49ea75a84ee2c2
tree01e6a77e0e1cabfef741fb8d0136b576f752e9e2
parent4b4ed7a7f9f11d3bb180045b2d907f30edb8280e
arch: define dependencies for the binfmt flat formats

The situation looks like following for elf2flt and binfmt FLAT:

 * Only gcc for bfin/m68k implements
   -msep-data (BR2_BINFMT_FLAT_SEP_DATA) and
   -mid-shared-library (BR2_BINFMT_FLAT_SHARED), so the corresponding
   options are made only visible on those architectures.

 * When the default of BR2_BINFMT_FLAT_ONE is used on m68k, broken
   binaries are produced, which mainly end up in SIGILL, so do not use
   it for m68k.

Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
[Thomas:
 - also add the dependencies on m68k/bfin to BR2_BINFMT_FLAT_SHARED
 - rework commit log.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
arch/Config.in