1
0

Config.in.endian 1.4 KB

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