Config.in.binfmt 1.6 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_OS_LINUX
  6. config ADK_TARGET_BINFMT_ELF
  7. bool "ELF"
  8. depends on ADK_TARGET_WITH_MMU
  9. config ADK_TARGET_BINFMT_FLAT
  10. bool "FLAT"
  11. select ADK_TARGET_UCLINUX if ADK_TARGET_ARCH_BFIN
  12. depends on (ADK_TARGET_ARCH_ARM || ADK_TARGET_ARCH_M68K || ADK_TARGET_ARCH_SH || ADK_TARGET_ARCH_XTENSA) && ADK_TARGET_WITHOUT_MMU \
  13. || ADK_TARGET_ARCH_H8300 || ADK_TARGET_ARCH_LM32 || ADK_TARGET_ARCH_BFIN
  14. config ADK_TARGET_BINFMT_FDPIC
  15. bool "FDPIC"
  16. depends on ADK_TARGET_ARCH_BFIN || ADK_TARGET_ARCH_FRV
  17. config ADK_TARGET_BINFMT_DSBT
  18. bool "DSBT"
  19. depends on ADK_TARGET_ARCH_C6X
  20. endchoice
  21. # Set up flat binary type
  22. choice
  23. prompt "FLAT Binary type"
  24. depends on ADK_TARGET_BINFMT_FLAT && (ADK_TARGET_ARCH_M68K || ADK_TARGET_ARCH_BFIN)
  25. default ADK_TARGET_BINFMT_FLAT_ONE
  26. config ADK_TARGET_BINFMT_FLAT_ONE
  27. bool "One memory region"
  28. depends on ADK_TARGET_ARCH_BFIN
  29. help
  30. All segments are linked into one memory region.
  31. config ADK_TARGET_BINFMT_FLAT_SEP_DATA
  32. bool "Separate data and code region"
  33. depends on ADK_TARGET_ARCH_M68K || ADK_TARGET_ARCH_BFIN
  34. help
  35. Allow for the data and text segments to be separated and placed in
  36. different regions of memory.
  37. config ADK_TARGET_BINFMT_FLAT_SHARED
  38. bool "Shared binary"
  39. help
  40. Allow to load and link indiviual FLAT binaries at run time.
  41. endchoice
  42. config ADK_TARGET_BINFMT
  43. string
  44. depends on ADK_TARGET_ARCH_BFIN
  45. default "bflt" if ADK_TARGET_BINFMT_FLAT
  46. default "fdpic" if ADK_TARGET_BINFMT_FDPIC