Config.in.binfmt 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. # This file is part of the OpenADK project. OpenADK is copyrighted
  2. # material, please see the LICENCE file in the top-level directory.
  3. choice
  4. prompt "Binary Format"
  5. depends on ADK_TARGET_ARCH_ARM \
  6. || ADK_TARGET_ARCH_BFIN \
  7. || ADK_TARGET_ARCH_C6X \
  8. || ADK_TARGET_ARCH_FRV \
  9. || ADK_TARGET_ARCH_H8300 \
  10. || ADK_TARGET_ARCH_LM32 \
  11. || ADK_TARGET_ARCH_M68K \
  12. || ADK_TARGET_ARCH_SH \
  13. || ADK_TARGET_ARCH_XTENSA
  14. config ADK_TARGET_BINFMT_ELF
  15. bool "ELF"
  16. depends on (ADK_TARGET_ARCH_ARM || ADK_TARGET_ARCH_M68K || ADK_TARGET_ARCH_SH || ADK_TARGET_ARCH_XTENSA) && ADK_TARGET_WITH_MMU
  17. config ADK_TARGET_BINFMT_FLAT
  18. bool "FLAT"
  19. select ADK_TARGET_UCLINUX if ADK_TARGET_ARCH_BFIN
  20. depends on (ADK_TARGET_ARCH_ARM || ADK_TARGET_ARCH_M68K || ADK_TARGET_ARCH_SH || ADK_TARGET_ARCH_XTENSA) && ADK_TARGET_WITHOUT_MMU \
  21. || ADK_TARGET_ARCH_H8300 || ADK_TARGET_ARCH_LM32 || ADK_TARGET_ARCH_BFIN || ADK_TARGET_ARCH_FRV
  22. config ADK_TARGET_BINFMT_FDPIC
  23. bool "FDPIC"
  24. depends on ADK_TARGET_ARCH_BFIN || ADK_TARGET_ARCH_FRV
  25. config ADK_TARGET_BINFMT_DSBT
  26. bool "DSBT"
  27. depends on ADK_TARGET_ARCH_C6X
  28. endchoice
  29. # Set up flat binary type
  30. choice
  31. prompt "FLAT Binary type"
  32. depends on ADK_TARGET_BINFMT_FLAT && (ADK_TARGET_ARCH_M68K || ADK_TARGET_ARCH_BFIN)
  33. default ADK_TARGET_BINFMT_FLAT_ONE
  34. config ADK_TARGET_BINFMT_FLAT_ONE
  35. bool "One memory region"
  36. depends on ADK_TARGET_ARCH_BFIN
  37. help
  38. All segments are linked into one memory region.
  39. config ADK_TARGET_BINFMT_FLAT_SEP_DATA
  40. bool "Separate data and code region"
  41. help
  42. Allow for the data and text segments to be separated and placed in
  43. different regions of memory.
  44. config ADK_TARGET_BINFMT_FLAT_SHARED
  45. bool "Shared binary"
  46. help
  47. Allow to load and link indiviual FLAT binaries at run time.
  48. endchoice