Config.in.binfmt 1.8 KB

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