Config.in.binfmt 1.7 KB

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