Config.ext.in 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144
  1. menu "Linux Kernel Extensions"
  2. #-------------------------------------------------------------------------------
  3. # Xenomai
  4. config BR2_LINUX_KERNEL_EXT_XENOMAI
  5. bool "Adeos/Xenomai Real-time patch"
  6. depends on BR2_PACKAGE_XENOMAI_COBALT_ARCH_SUPPORTS
  7. depends on BR2_USE_MMU # xenomai
  8. depends on BR2_TOOLCHAIN_HAS_SYNC_4 # xenomai
  9. depends on BR2_TOOLCHAIN_HAS_THREADS # xenomai
  10. depends on !BR2_TOOLCHAIN_USES_MUSL # xenomai
  11. select BR2_PACKAGE_XENOMAI
  12. help
  13. Xenomai is split in two parts: a kernel part and a userspace
  14. part. Enabling this option automatically selects the Xenomai
  15. package and helps in patching the Linux kernel built by
  16. Buildroot with the Xenomai kernel part (ie Adeos/Ipipe).
  17. You can find the currently supported kernel versions by
  18. looking at the available patches in the Xenomai sources
  19. tree: ksrc/arch/$(ARCH)/patches
  20. However, it is recommended to use the latest version of the
  21. Adeos/Ipipe patch available at
  22. https://xenomai.org/downloads/ipipe/
  23. Xenomai is know to support Blackfin, SH4, x86, ARM, NIOS2
  24. and PowerPC architectures.
  25. config BR2_LINUX_KERNEL_EXT_XENOMAI_ADEOS_PATCH
  26. string "Path/URL for Adeos patch file"
  27. depends on BR2_LINUX_KERNEL_EXT_XENOMAI
  28. help
  29. Optionally, explicitly specify where to find the Adeos
  30. patch to use.
  31. Examples:
  32. https://xenomai.org/downloads/ipipe/v4.x/arm/ipipe-core-4.19.33-arm-2.patch
  33. or /home/foo/ipipe-core-4.19.33-arm-2.patch
  34. Please verify that your kernel version in Buildroot matches.
  35. comment "xenomai needs a uClibc or glibc toolchain w/ threads"
  36. depends on BR2_PACKAGE_XENOMAI_COBALT_ARCH_SUPPORTS
  37. depends on BR2_USE_MMU
  38. depends on BR2_TOOLCHAIN_HAS_SYNC_4
  39. depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_TOOLCHAIN_USES_MUSL
  40. #-------------------------------------------------------------------------------
  41. # RTAI
  42. config BR2_LINUX_KERNEL_EXT_RTAI
  43. bool "RTAI Real-time patch"
  44. depends on !BR2_LINUX_KERNEL_LATEST_VERSION
  45. depends on !BR2_LINUX_KERNEL_LATEST_CIP_VERSION
  46. depends on !BR2_LINUX_KERNEL_LATEST_CIP_RT_VERSION
  47. select BR2_PACKAGE_RTAI
  48. help
  49. RTAI Kernel part.
  50. #-------------------------------------------------------------------------------
  51. # fbtft
  52. config BR2_LINUX_KERNEL_EXT_FBTFT
  53. bool "FB TFT drivers"
  54. select BR2_PACKAGE_FBTFT
  55. help
  56. Linux Framebuffer drivers for small TFT LCD display modules,
  57. e.g. Adafruit PiTFT displays for Raspberry Pi (this extra
  58. package is only needed for linux kernels until v3.19, since
  59. v4.0 the drivers are included in the staging area).
  60. To enable fbtft, e.g. for Adafruit 2.8 PiTFT, enable the
  61. following kernel configurations:
  62. - CONFIG_SPI
  63. - CONFIG_GPIOLIB
  64. - CONFIG_FB
  65. - CONFIG_FB_TFT
  66. - CONFIG_FB_TFT_ILI9341
  67. https://github.com/notro/fbtft
  68. # aufs-standalone
  69. config BR2_LINUX_KERNEL_EXT_AUFS
  70. bool "Aufs Filesystem Module patch"
  71. select BR2_PACKAGE_AUFS
  72. help
  73. Aufs is split in two parts: a kernel part and a userspace
  74. part. Enabling this option automatically selects the aufs
  75. standalone (module) package and patches the Linux kernel
  76. built by Buildroot with the aufs kernel part (ie fs/aufs).
  77. It is important to use the correct branch of aufs-standalone.
  78. if BR2_LINUX_KERNEL_EXT_AUFS
  79. choice
  80. bool "aufs-standalone series"
  81. help
  82. Select the major series of this version. This must match the
  83. major version of your kernel (e.g. for kernels 3.x, select
  84. aufs3.x; for kernels 4.x, select aufs4.x; for kernels 5.x,
  85. select aufs5.x ).
  86. Note: neither aufs1.x nor aufs2.x (both for kernels older than
  87. 3.x) are supported.
  88. config BR2_LINUX_KERNEL_EXT_AUFS_SERIES_3
  89. bool "aufs3.x"
  90. config BR2_LINUX_KERNEL_EXT_AUFS_SERIES_4
  91. bool "aufs4.x"
  92. config BR2_LINUX_KERNEL_EXT_AUFS_SERIES_5
  93. bool "aufs5.x"
  94. endchoice
  95. config BR2_LINUX_KERNEL_EXT_AUFS_SERIES
  96. int
  97. default 3 if BR2_LINUX_KERNEL_EXT_AUFS_SERIES_3
  98. default 4 if BR2_LINUX_KERNEL_EXT_AUFS_SERIES_4
  99. default 5 if BR2_LINUX_KERNEL_EXT_AUFS_SERIES_5
  100. config BR2_LINUX_KERNEL_EXT_AUFS_VERSION
  101. string "aufs-standalone version"
  102. default ""
  103. help
  104. The version you choose must match that of your kernel.
  105. Usually, the sha1 of the cset you want to use; avoid using a
  106. branch name as this yields non-reproducible builds.
  107. See the following resources to see what versions are
  108. available:
  109. For aufs3.x:
  110. https://sourceforge.net/p/aufs/aufs3-standalone/ref/master/branches/
  111. For aufs4.x:
  112. https://github.com/sfjro/aufs4-standalone/branches/all
  113. For aufs5.x:
  114. https://github.com/sfjro/aufs5-standalone/branches/all
  115. endif # aufs
  116. # kernel extensions from br2-external trees, if any
  117. source "$BR2_BASE_DIR/.br2-external.in.linux"
  118. endmenu