1
0

Config.in.binfmt 1.8 KB

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