Config.in.endian 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  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 ADK_TARGET_ENDIAN_MODE
  4. prompt "Endianess"
  5. depends on ADK_TARGET_ARCH_ARC \
  6. || ADK_TARGET_ARCH_AARCH64 \
  7. || ADK_TARGET_ARCH_ARM \
  8. || ADK_TARGET_ARCH_C6X \
  9. || ADK_TARGET_ARCH_MICROBLAZE \
  10. || ADK_TARGET_ARCH_MIPS \
  11. || ADK_TARGET_ARCH_MIPS64 \
  12. || ADK_TARGET_ARCH_PPC64 \
  13. || ADK_TARGET_ARCH_SH \
  14. || ADK_TARGET_ARCH_XTENSA
  15. config ADK_TARGET_LITTLE_ENDIAN
  16. bool "Little endian"
  17. depends on !ADK_TARGET_SYSTEM_DRAGINO_MS14S
  18. depends on !ADK_TARGET_SYSTEM_LINKSYS_NSLU2
  19. depends on !ADK_TARGET_SYSTEM_MIKROTIK_RB4XX
  20. depends on !ADK_CPU_SH2A
  21. config ADK_TARGET_BIG_ENDIAN
  22. bool "Big endian"
  23. depends on !ADK_TARGET_SYSTEM_MIKROTIK_RB532
  24. depends on !ADK_TARGET_SYSTEM_LEMOTE_YEELONG
  25. depends on !ADK_TARGET_SYSTEM_RASPBERRY_PI
  26. depends on !ADK_TARGET_SYSTEM_RASPBERRY_PI2
  27. depends on !ADK_TARGET_SYSTEM_SOLIDRUN_IMX6
  28. depends on !ADK_TARGET_SYSTEM_QEMU_ARM
  29. depends on !ADK_TARGET_SYSTEM_QEMU_XTENSA
  30. depends on !ADK_TARGET_SYSTEM_BEAGLEBONE_BLACK
  31. depends on !ADK_TARGET_SYSTEM_KINETIS_K70
  32. endchoice
  33. config ADK_TARGET_ENDIAN
  34. string
  35. default "little" if ADK_TARGET_LITTLE_ENDIAN
  36. default "big" if ADK_TARGET_BIG_ENDIAN
  37. config ADK_JFFS2_OPTS
  38. string
  39. default "-l" if ADK_TARGET_LITTLE_ENDIAN
  40. default "-b" if ADK_TARGET_BIG_ENDIAN