Config.ext.in 4.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154
  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. # ev3dev Linux drivers
  52. config BR2_LINUX_KERNEL_EXT_EV3DEV_LINUX_DRIVERS
  53. bool "ev3dev Linux drivers"
  54. select BR2_PACKAGE_EV3DEV_LINUX_DRIVERS
  55. help
  56. Linux drivers for LEGO MINDSTORMS EV3 from the ev3dev project.
  57. https://github.com/ev3dev/lego-linux-drivers
  58. #-------------------------------------------------------------------------------
  59. # fbtft
  60. config BR2_LINUX_KERNEL_EXT_FBTFT
  61. bool "FB TFT drivers"
  62. select BR2_PACKAGE_FBTFT
  63. help
  64. Linux Framebuffer drivers for small TFT LCD display modules,
  65. e.g. Adafruit PiTFT displays for Raspberry Pi (this extra
  66. package is only needed for linux kernels until v3.19, since
  67. v4.0 the drivers are included in the staging area).
  68. To enable fbtft, e.g. for Adafruit 2.8 PiTFT, enable the
  69. following kernel configurations:
  70. - CONFIG_SPI
  71. - CONFIG_GPIOLIB
  72. - CONFIG_FB
  73. - CONFIG_FB_TFT
  74. - CONFIG_FB_TFT_ILI9341
  75. https://github.com/notro/fbtft
  76. # aufs-standalone
  77. config BR2_LINUX_KERNEL_EXT_AUFS
  78. bool "Aufs Filesystem Module patch"
  79. select BR2_PACKAGE_AUFS
  80. help
  81. Aufs is split in two parts: a kernel part and a userspace
  82. part. Enabling this option automatically selects the aufs
  83. standalone (module) package and patches the Linux kernel
  84. built by Buildroot with the aufs kernel part (ie fs/aufs).
  85. It is important to use the correct branch of aufs-standalone.
  86. if BR2_LINUX_KERNEL_EXT_AUFS
  87. choice
  88. bool "aufs-standalone series"
  89. help
  90. Select the major series of this version. This must match the
  91. major version of your kernel (e.g. for kernels 3.x, select
  92. aufs3.x; for kernels 4.x, select aufs4.x; for kernels 5.x,
  93. select aufs5.x ).
  94. Note: neither aufs1.x nor aufs2.x (both for kernels older than
  95. 3.x) are supported.
  96. config BR2_LINUX_KERNEL_EXT_AUFS_SERIES_3
  97. bool "aufs3.x"
  98. config BR2_LINUX_KERNEL_EXT_AUFS_SERIES_4
  99. bool "aufs4.x"
  100. config BR2_LINUX_KERNEL_EXT_AUFS_SERIES_5
  101. bool "aufs5.x"
  102. endchoice
  103. config BR2_LINUX_KERNEL_EXT_AUFS_SERIES
  104. int
  105. default 3 if BR2_LINUX_KERNEL_EXT_AUFS_SERIES_3
  106. default 4 if BR2_LINUX_KERNEL_EXT_AUFS_SERIES_4
  107. default 5 if BR2_LINUX_KERNEL_EXT_AUFS_SERIES_5
  108. config BR2_LINUX_KERNEL_EXT_AUFS_VERSION
  109. string "aufs-standalone version"
  110. default ""
  111. help
  112. The version you choose must match that of your kernel.
  113. Usually, the sha1 of the cset you want to use; avoid using a
  114. branch name as this yields non-reproducible builds.
  115. See the following resources to see what versions are
  116. available:
  117. For aufs3.x:
  118. https://sourceforge.net/p/aufs/aufs3-standalone/ref/master/branches/
  119. For aufs4.x:
  120. https://github.com/sfjro/aufs4-standalone/branches/all
  121. For aufs5.x:
  122. https://github.com/sfjro/aufs5-standalone/branches/all
  123. endif # aufs
  124. # kernel extensions from br2-external trees, if any
  125. source "$BR2_BASE_DIR/.br2-external.in.linux"
  126. endmenu