Config.in.binfmt 1.9 KB

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