Config.in.archopts 584 B

12345678910111213141516171819202122
  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 "Instruction set"
  5. config ADK_TARGET_ARCH_ARM_WITH_ARM
  6. bool "arm"
  7. depends on ADK_TARGET_WITH_MMU
  8. config ADK_TARGET_ARCH_ARM_WITH_THUMB
  9. bool "thumb"
  10. select ADK_KERNEL_ARM_THUMB
  11. select ADK_KERNEL_THUMB2_KERNEL
  12. depends on ADK_TARGET_CPU_WITH_THUMB || ADK_TARGET_CPU_WITH_THUMB2
  13. endchoice
  14. config ADK_TARGET_INSTRUCTION_SET
  15. string
  16. default "arm" if ADK_TARGET_ARCH_ARM_WITH_ARM
  17. default "thumb" if ADK_TARGET_ARCH_ARM_WITH_THUMB