Config.in.endian 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  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_NDS32 \
  13. || ADK_TARGET_ARCH_PPC64 \
  14. || ADK_TARGET_ARCH_SH \
  15. || ADK_TARGET_ARCH_XTENSA
  16. config ADK_TARGET_LITTLE_ENDIAN
  17. bool "Little endian"
  18. depends on !ADK_TARGET_SYSTEM_NUMATO_MIMASV2
  19. depends on !ADK_TARGET_SYSTEM_DRAGINO_MS14S
  20. depends on !ADK_TARGET_SYSTEM_LINKSYS_NSLU2
  21. depends on !ADK_TARGET_SYSTEM_MIKROTIK_RB4XX
  22. depends on !ADK_CPU_SH2A
  23. config ADK_TARGET_BIG_ENDIAN
  24. bool "Big endian"
  25. depends on !ADK_TARGET_SYSTEM_MIKROTIK_RB532
  26. depends on !ADK_TARGET_SYSTEM_LEMOTE_YEELONG
  27. depends on !ADK_TARGET_SYSTEM_RASPBERRY_PI
  28. depends on !ADK_TARGET_SYSTEM_RASPBERRY_PI2
  29. depends on !ADK_TARGET_SYSTEM_SOLIDRUN_IMX6
  30. depends on !ADK_TARGET_SYSTEM_QEMU_ARM
  31. depends on !ADK_TARGET_SYSTEM_QEMU_XTENSA
  32. depends on !ADK_TARGET_SYSTEM_BEAGLEBONE_BLACK
  33. depends on !ADK_TARGET_SYSTEM_KINETIS_K70
  34. endchoice
  35. config ADK_TARGET_ENDIAN
  36. string
  37. default "little" if ADK_TARGET_LITTLE_ENDIAN
  38. default "big" if ADK_TARGET_BIG_ENDIAN
  39. config ADK_JFFS2_OPTS
  40. string
  41. default "-l" if ADK_TARGET_LITTLE_ENDIAN
  42. default "-b" if ADK_TARGET_BIG_ENDIAN