Config.in 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571
  1. menu "Kernel"
  2. config BR2_LINUX_KERNEL
  3. bool "Linux Kernel"
  4. select BR2_PACKAGE_HOST_KMOD # Unconditional, even if modules not enabled
  5. select BR2_PACKAGE_HOST_IMAGEMAGICK if BR2_LINUX_KERNEL_CUSTOM_LOGO_PATH != ""
  6. help
  7. Enable this option if you want to build a Linux kernel for
  8. your embedded device
  9. if BR2_LINUX_KERNEL
  10. # Packages that need to have a kernel with support for loadable modules,
  11. # but do not use the kernel-modules infrastructure, should select that
  12. # option.
  13. config BR2_LINUX_NEEDS_MODULES
  14. bool
  15. #
  16. # Version selection. We provide the choice between:
  17. #
  18. # 1. A single fairly recent stable kernel version
  19. # 2. A custom stable version
  20. # 3. A custom tarball
  21. # 4. A set of custom repository locations
  22. #
  23. choice
  24. prompt "Kernel version"
  25. config BR2_LINUX_KERNEL_LATEST_VERSION
  26. bool "Latest version (6.18)"
  27. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_6_18 if BR2_KERNEL_HEADERS_AS_KERNEL
  28. # mips always generates an ITB image
  29. select BR2_PACKAGE_HOST_UBOOT_TOOLS if BR2_mips || BR2_mipsel || BR2_mips64 || BR2_mips64el
  30. select BR2_PACKAGE_HOST_UBOOT_TOOLS_FIT_SUPPORT if BR2_mips || BR2_mipsel || BR2_mips64 || BR2_mips64el
  31. config BR2_LINUX_KERNEL_LATEST_CIP_VERSION
  32. bool "Latest CIP SLTS version (5.10.246-cip66)"
  33. # Support was introduced in Linux 5.19
  34. depends on !BR2_loongarch64
  35. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_10 if BR2_KERNEL_HEADERS_AS_KERNEL
  36. help
  37. CIP launched in the spring of 2016 to address the needs of
  38. organizations in industries such as power generation and
  39. distribution, water, oil and gas, transportation, building
  40. automation and more for reliable and secure Linux-based
  41. embedded systems that can be sustained over a period of
  42. 10 to as many as 60 years.
  43. The project's goal is to provide an open source base layer
  44. of industrial-grade software that permits the use and
  45. implementation of software building blocks that meet
  46. these requirements.
  47. The CIP community plans to maintain 5.10 for security and
  48. bug fixes for more than 10 years.
  49. https://www.cip-project.org
  50. config BR2_LINUX_KERNEL_LATEST_CIP_RT_VERSION
  51. bool "Latest CIP RT SLTS version (5.10.246-cip66-rt29)"
  52. # Support was introduced in Linux 5.19
  53. depends on !BR2_loongarch64
  54. select BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_10 if BR2_KERNEL_HEADERS_AS_KERNEL
  55. help
  56. Same as the CIP version, but this is the PREEMPT_RT realtime
  57. variant.
  58. The CIP community plans to maintain 5.10 for security and
  59. bug fixes for more than 10 years.
  60. https://www.cip-project.org
  61. config BR2_LINUX_KERNEL_CUSTOM_VERSION
  62. bool "Custom version"
  63. help
  64. This option allows to use a specific official version from
  65. kernel.org, like 2.6.x, 2.6.x.y, 3.x.y, ...
  66. Note: you cannot use this option to select a _longterm_ 2.6
  67. kernel, because these kernels are not located at the standard
  68. URL at kernel.org. Instead, select "Custom tarball" and
  69. specify the right URL directly.
  70. config BR2_LINUX_KERNEL_CUSTOM_TARBALL
  71. bool "Custom tarball"
  72. help
  73. This option allows to specify a URL pointing to a kernel
  74. source tarball. This URL can use any protocol recognized by
  75. Buildroot, like http://, ftp://, file:// or scp://.
  76. When pointing to a local tarball using file://, you may want
  77. to use a make variable like $(TOPDIR) to reference the root of
  78. the Buildroot tree.
  79. config BR2_LINUX_KERNEL_CUSTOM_GIT
  80. bool "Custom Git repository"
  81. help
  82. This option allows Buildroot to get the Linux kernel source
  83. code from a Git repository.
  84. config BR2_LINUX_KERNEL_CUSTOM_HG
  85. bool "Custom Mercurial repository"
  86. help
  87. This option allows Buildroot to get the Linux kernel source
  88. code from a Mercurial repository.
  89. config BR2_LINUX_KERNEL_CUSTOM_SVN
  90. bool "Custom Subversion repository"
  91. help
  92. This option allows Buildroot to get the Linux kernel source
  93. code from a Subversion repository.
  94. endchoice
  95. config BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE
  96. string "Kernel version"
  97. depends on BR2_LINUX_KERNEL_CUSTOM_VERSION
  98. config BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION
  99. string "URL of custom kernel tarball"
  100. depends on BR2_LINUX_KERNEL_CUSTOM_TARBALL
  101. if BR2_LINUX_KERNEL_CUSTOM_GIT || BR2_LINUX_KERNEL_CUSTOM_HG || BR2_LINUX_KERNEL_CUSTOM_SVN
  102. config BR2_LINUX_KERNEL_CUSTOM_REPO_URL
  103. string "URL of custom repository"
  104. config BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION
  105. string "Custom repository version"
  106. help
  107. Revision to use in the typical format used by
  108. Git/Mercurial/Subversion E.G. a sha id, a tag, branch, ..
  109. endif
  110. config BR2_LINUX_KERNEL_CUSTOM_REPO_GIT_SUBMODULES
  111. bool "Download also git submodules"
  112. depends on BR2_LINUX_KERNEL_CUSTOM_GIT
  113. help
  114. Include git submodules in the kernel source tree.
  115. config BR2_LINUX_KERNEL_VERSION
  116. string
  117. default "6.18.3" if BR2_LINUX_KERNEL_LATEST_VERSION
  118. default "5.10.246-cip66" if BR2_LINUX_KERNEL_LATEST_CIP_VERSION
  119. default "5.10.246-cip66-rt29" if BR2_LINUX_KERNEL_LATEST_CIP_RT_VERSION
  120. default BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE \
  121. if BR2_LINUX_KERNEL_CUSTOM_VERSION
  122. default "custom" if BR2_LINUX_KERNEL_CUSTOM_TARBALL
  123. default BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION \
  124. if BR2_LINUX_KERNEL_CUSTOM_GIT || BR2_LINUX_KERNEL_CUSTOM_HG || BR2_LINUX_KERNEL_CUSTOM_SVN
  125. #
  126. # Patch selection
  127. #
  128. config BR2_LINUX_KERNEL_PATCH
  129. string "Custom kernel patches"
  130. help
  131. A space-separated list of patches to apply to the
  132. kernel. Each patch can be described as an URL, a local file
  133. path, or a directory. In the case of a directory, all files
  134. matching *.patch in the directory will be applied.
  135. #
  136. # Configuration selection
  137. #
  138. choice
  139. prompt "Kernel configuration"
  140. default BR2_LINUX_KERNEL_USE_DEFCONFIG
  141. config BR2_LINUX_KERNEL_USE_DEFCONFIG
  142. bool "Using an in-tree defconfig file"
  143. config BR2_LINUX_KERNEL_USE_ARCH_DEFAULT_CONFIG
  144. bool "Use the architecture default configuration"
  145. # We know that the default configuration on many architectures
  146. # requires host-openssl, so select it for the latest kernel
  147. # version. This is mainly needed to fix autobuilder testing.
  148. select BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL if \
  149. BR2_LINUX_KERNEL_LATEST_VERSION
  150. help
  151. This option will use the default configuration for the
  152. selected architecture. I.e, it is equivalent to running
  153. "make ARCH=<foo> defconfig". This is useful on architectures
  154. that have a single defconfig file, such as ARM64.
  155. config BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG
  156. bool "Using a custom (def)config file"
  157. endchoice
  158. config BR2_LINUX_KERNEL_DEFCONFIG
  159. string "Defconfig name"
  160. depends on BR2_LINUX_KERNEL_USE_DEFCONFIG
  161. help
  162. Name of the kernel defconfig file to use, without the
  163. trailing _defconfig. The defconfig is located in
  164. arch/<arch>/configs in the kernel tree.
  165. config BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE
  166. string "Configuration file path"
  167. depends on BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG
  168. help
  169. Path to the kernel configuration file
  170. Note: this can be a defconfig file or a complete .config file,
  171. which can later be saved back with make
  172. linux-update-(def)config.
  173. config BR2_LINUX_KERNEL_CONFIG_FRAGMENT_FILES
  174. string "Additional configuration fragment files"
  175. help
  176. A space-separated list of kernel configuration fragment files,
  177. that will be merged to the main kernel configuration file.
  178. config BR2_LINUX_KERNEL_CUSTOM_LOGO_PATH
  179. string "Custom boot logo file path"
  180. help
  181. Use a custom Linux framebuffer boot logo.
  182. Custom logo should be in PNG or JPEG format, it will be
  183. converted to the linux kernel format (224 colors only)
  184. and copied over the original logo file.
  185. #
  186. # Binary format
  187. #
  188. choice
  189. prompt "Kernel binary format"
  190. default BR2_LINUX_KERNEL_ZIMAGE if BR2_arm || BR2_armeb
  191. config BR2_LINUX_KERNEL_UIMAGE
  192. bool "uImage"
  193. depends on BR2_arc || BR2_arm || BR2_armeb || \
  194. BR2_powerpc || BR2_powerpc64 || BR2_powerpc64le || \
  195. BR2_sh || BR2_mips || BR2_mipsel || \
  196. BR2_mips64 || BR2_mips64el || BR2_xtensa
  197. select BR2_PACKAGE_HOST_UBOOT_TOOLS
  198. config BR2_LINUX_KERNEL_APPENDED_UIMAGE
  199. bool "uImage with appended DT"
  200. depends on BR2_arm || BR2_armeb
  201. select BR2_LINUX_KERNEL_DTS_SUPPORT
  202. select BR2_LINUX_KERNEL_APPENDED_DTB
  203. select BR2_PACKAGE_HOST_UBOOT_TOOLS
  204. config BR2_LINUX_KERNEL_BZIMAGE
  205. bool "bzImage"
  206. depends on BR2_i386 || BR2_x86_64 || BR2_s390x
  207. config BR2_LINUX_KERNEL_ZIMAGE
  208. bool "zImage"
  209. depends on BR2_arm || BR2_armeb || BR2_powerpc || \
  210. BR2_powerpc64 || BR2_powerpc64le || BR2_sparc || \
  211. BR2_sh || BR2_xtensa
  212. config BR2_LINUX_KERNEL_ZIMAGE_EPAPR
  213. bool "zImage.epapr"
  214. depends on BR2_powerpc64 || BR2_powerpc64le
  215. config BR2_LINUX_KERNEL_APPENDED_ZIMAGE
  216. bool "zImage with appended DT"
  217. depends on BR2_arm || BR2_armeb
  218. select BR2_LINUX_KERNEL_DTS_SUPPORT
  219. select BR2_LINUX_KERNEL_APPENDED_DTB
  220. config BR2_LINUX_KERNEL_CUIMAGE
  221. bool "cuImage"
  222. depends on BR2_powerpc
  223. select BR2_PACKAGE_HOST_UBOOT_TOOLS
  224. select BR2_LINUX_KERNEL_DTS_SUPPORT
  225. select BR2_LINUX_KERNEL_DTB_IS_SELF_BUILT
  226. config BR2_LINUX_KERNEL_SIMPLEIMAGE
  227. bool "simpleImage"
  228. depends on BR2_microblaze
  229. select BR2_PACKAGE_HOST_UBOOT_TOOLS
  230. select BR2_LINUX_KERNEL_DTS_SUPPORT
  231. select BR2_LINUX_KERNEL_DTB_IS_SELF_BUILT
  232. config BR2_LINUX_KERNEL_IMAGE
  233. bool "Image"
  234. depends on BR2_aarch64 || BR2_aarch64_be || BR2_riscv
  235. config BR2_LINUX_KERNEL_IMAGEGZ
  236. bool "Image.gz"
  237. depends on BR2_aarch64 || BR2_aarch64_be || BR2_riscv
  238. config BR2_LINUX_KERNEL_LINUX_BIN
  239. bool "linux.bin"
  240. depends on BR2_microblaze
  241. select BR2_PACKAGE_HOST_UBOOT_TOOLS
  242. config BR2_LINUX_KERNEL_VMLINUX_BIN
  243. bool "vmlinux.bin"
  244. depends on BR2_mips || BR2_mipsel || BR2_sh
  245. config BR2_LINUX_KERNEL_VMLINUX_EFI
  246. bool "vmlinux.efi"
  247. depends on BR2_loongarch64
  248. config BR2_LINUX_KERNEL_VMLINUX
  249. bool "vmlinux"
  250. config BR2_LINUX_KERNEL_VMLINUZ
  251. bool "vmlinuz"
  252. depends on BR2_mips || BR2_mipsel
  253. config BR2_LINUX_KERNEL_VMLINUZ_BIN
  254. bool "vmlinuz.bin"
  255. depends on BR2_mips || BR2_mipsel
  256. config BR2_LINUX_KERNEL_VMLINUZ_EFI
  257. bool "vmlinuz.efi"
  258. depends on BR2_loongarch64
  259. config BR2_LINUX_KERNEL_IMAGE_TARGET_CUSTOM
  260. bool "custom target"
  261. help
  262. For certain cases a board-specific target image must be
  263. used. For example, on powerPC where the OpenFirmware
  264. description is attached in a board-specific kernel image
  265. target like 'cuImage.mpc8379_rdb'.
  266. Select this option and specify the make target in "Kernel
  267. image target name".
  268. endchoice
  269. #
  270. # Kernel compression format
  271. #
  272. choice
  273. prompt "Kernel compression format"
  274. help
  275. This selection will just ensure that the correct host tools
  276. are built. The actual compression for the kernel should be
  277. selected in the kernel configuration menu.
  278. config BR2_LINUX_KERNEL_GZIP
  279. bool "gzip compression"
  280. config BR2_LINUX_KERNEL_LZ4
  281. bool "lz4 compression"
  282. config BR2_LINUX_KERNEL_LZMA
  283. bool "lzma compression"
  284. config BR2_LINUX_KERNEL_LZO
  285. bool "lzo compression"
  286. config BR2_LINUX_KERNEL_XZ
  287. bool "xz compression"
  288. config BR2_LINUX_KERNEL_ZSTD
  289. bool "zstd compression"
  290. config BR2_LINUX_KERNEL_UNCOMPRESSED
  291. bool "uncompressed"
  292. depends on BR2_s390x
  293. endchoice
  294. config BR2_LINUX_KERNEL_IMAGE_TARGET_NAME
  295. string "Kernel image target name"
  296. depends on BR2_LINUX_KERNEL_IMAGE_TARGET_CUSTOM
  297. help
  298. Specify the kernel make target to build the kernel that you
  299. need.
  300. config BR2_LINUX_KERNEL_IMAGE_NAME
  301. string "Kernel image name"
  302. depends on BR2_LINUX_KERNEL_IMAGE_TARGET_CUSTOM
  303. help
  304. The filename of the kernel image, if it is different from
  305. the make target (above). Defaults to
  306. BR2_LINUX_KERNEL_IMAGE_TARGET_NAME. If specified, the
  307. filename is relative to arch/ARCH/boot/.
  308. If unsure, leave it empty.
  309. config BR2_LINUX_KERNEL_UIMAGE_LOADADDR
  310. string "load address (for 3.7+ multi-platform image)"
  311. depends on BR2_arm || BR2_armeb
  312. depends on BR2_LINUX_KERNEL_UIMAGE || BR2_LINUX_KERNEL_APPENDED_UIMAGE
  313. help
  314. If your ARM system's Linux kernel is configured with the new
  315. (3.7+) multi-architecture support (CONFIG_ARCH_MULTIPLATFORM=y
  316. in your kernel config), then it is necessary to specify a
  317. kernel load address when building the uImage. This should be a
  318. hexadecimal string beginning with 0x, for example: 0x00008000.
  319. If unsure, let this option empty.
  320. config BR2_LINUX_KERNEL_DTS_SUPPORT
  321. bool "Build a Device Tree Blob (DTB)"
  322. help
  323. Compile one or more device tree sources into device tree
  324. blobs.
  325. Select the dts files to compile in the options below.
  326. if BR2_LINUX_KERNEL_DTS_SUPPORT
  327. # We have mainly three cases when it comes to device tree support:
  328. # 1) We don't want any support at all. Then the ..DTS_SUPPORT
  329. # variable won't be set
  330. # 2) We want device tree support, so we need the user to enter the
  331. # device tree name or the path to the custom device he uses, but
  332. # the kernel abstracts this from us and only build an image that
  333. # looks like a regular kernel image. In this case, we only need
  334. # to derive the kernel image name from the given device tree
  335. # name, and all the rest is as usual
  336. # 3) We want device tree support, but the kernel requires us to
  337. # build the device tree blob separately. In this case, some
  338. # more logic will be needed.
  339. # The variable below address the second case, were you only want
  340. # limited actions from buildroot.
  341. config BR2_LINUX_KERNEL_DTB_IS_SELF_BUILT
  342. bool "DTB is built by kernel itself"
  343. help
  344. Normally, the device tree(s) to be built have to be passed
  345. explicitly to the kernel build system. For some binary
  346. formats, however, the kernel build system links in the
  347. device tree directly in the kernel binary. Select this option
  348. if you have such a kernel binary format.
  349. config BR2_LINUX_KERNEL_APPENDED_DTB
  350. bool
  351. config BR2_LINUX_KERNEL_INTREE_DTS_NAME
  352. string "In-tree Device Tree Source file names"
  353. help
  354. Name of in-tree device tree source file, without
  355. the trailing .dts. You can provide a list of
  356. dts files to build, separated by spaces.
  357. config BR2_LINUX_KERNEL_INTREE_DTSO_NAMES
  358. string "In-tree Device Tree Overlay file names"
  359. help
  360. Names of in-tree device tree overlay, without the trailing
  361. .dtso which should be built and installed into the target
  362. system, separated by spaces.
  363. config BR2_LINUX_KERNEL_CUSTOM_DTS_PATH
  364. string "Out-of-tree Device Tree Source file paths"
  365. depends on BR2_LINUX_KERNEL_CUSTOM_DTS_DIR = ""
  366. help
  367. Paths to out-of-tree Device Tree Source (.dts), Device Tree
  368. Source Include (.dtsi) and Device Tree Overlay Source (.dtso)
  369. files, separated by spaces. These files will be copied to the
  370. kernel sources and the .dts files will
  371. be compiled from there.
  372. Due to a kernel build system changes in 6.12,
  373. BR2_LINUX_KERNEL_CUSTOM_DTS_PATH is now deprecated and
  374. replaced by BR2_LINUX_KERNEL_CUSTOM_DTS_DIR
  375. config BR2_LINUX_KERNEL_CUSTOM_DTS_DIR
  376. string "Out-of-tree Device Tree Source overlay directories"
  377. help
  378. Specify a list of directories that are copied as-is over the
  379. arch/<arch>/boot/dts/ directory before building the device
  380. tree blob.
  381. This overlay can contain dts, dtso and dtsi files.
  382. BR2_LINUX_KERNEL_CUSTOM_DTS_DIR should point to one or more
  383. directories containing a vendor subdirectory (e.g. rockchip)
  384. which contains the dts files. This vendor subdirectory should
  385. match the vendor subdirectory used by the board in the kernel
  386. (e.g. arch/arm64/boot/dts/rockchip/).
  387. While most architechtures make use of vendor subdirectories,
  388. like arm, arm64 and riscv, some architectures like powerpc
  389. and xtensa do not.
  390. In this case, BR2_LINUX_KERNEL_CUSTOM_DTS_DIR should point to
  391. a directory containing the dts files directly.
  392. Since the 6.12 release, each out-of-tree Device Tree Source
  393. file must be copied into their corresponding sub-directory.
  394. config BR2_LINUX_KERNEL_DTB_KEEP_DIRNAME
  395. bool "Keep the directory name of the Device Tree"
  396. help
  397. If enabled, the device tree blobs keep their
  398. directory prefixes when they get copied to the
  399. output image directory or the target directory.
  400. config BR2_LINUX_KERNEL_DTB_OVERLAY_SUPPORT
  401. bool "Build Device Tree with overlay support"
  402. help
  403. If enabled, pass the "-@" option to dtc, such that
  404. symbols are generated in the compiled Device Tree.
  405. Choose this option to support Device Tree overlays
  406. on the target system.
  407. endif
  408. config BR2_LINUX_KERNEL_INSTALL_TARGET
  409. bool "Install kernel image to /boot in target"
  410. depends on !BR2_TARGET_ROOTFS_INITRAMFS
  411. help
  412. Select this option to have the kernel image installed to
  413. /boot in the target root filesystem, as is typically done on
  414. x86/x86_64 systems.
  415. Note that this option also installs the Device Tree Blobs to
  416. /boot if DTBs have been generated by the kernel build
  417. process.
  418. config BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL
  419. bool "Needs host OpenSSL"
  420. help
  421. Some Linux kernel configuration options (such as
  422. CONFIG_SYSTEM_TRUSTED_KEYRING) require building a host
  423. program called extract-cert, which itself needs
  424. OpenSSL. Enabling this option will ensure host-openssl gets
  425. built before the Linux kernel.
  426. Enable this option if you get a Linux kernel build failure
  427. such as "scripts/extract-cert.c:21:25: fatal error:
  428. openssl/bio.h: No such file or directory".
  429. config BR2_LINUX_KERNEL_NEEDS_HOST_LIBELF
  430. bool "Needs host libelf"
  431. help
  432. Some Linux kernel configuration options (such as
  433. CONFIG_UNWINDER_ORC) require building a host program that
  434. needs libelf. Enabling this option will ensure host-elfutils
  435. (which provides libelf) gets built before the Linux kernel.
  436. Enable this option if you get a Linux kernel build failure
  437. such as "Cannot generate ORC metadata for
  438. CONFIG_UNWINDER_ORC=y, please install libelf-dev,
  439. libelf-devel or elfutils-libelf-devel".
  440. config BR2_LINUX_KERNEL_NEEDS_HOST_PAHOLE
  441. bool "Needs host pahole"
  442. help
  443. Some Linux kernel configuration options (such as
  444. CONFIG_DEBUG_INFO_BTF) require building a host program
  445. called pahole. Enabling this option will ensure host-pahole
  446. gets built before the Linux kernel.
  447. Enable this option if you get a Linux kernel build failure
  448. such as "BTF: .tmp_vmlinux.btf: pahole (pahole) is not
  449. available".
  450. config BR2_LINUX_KERNEL_NEEDS_HOST_PYTHON3
  451. bool "Needs host python3"
  452. help
  453. Some Linux kernel configuration options (such as the
  454. CONFIG_DRM_MSM in v6.10 and greater) require a host python3
  455. interpreter. Enabling this option will ensure host-python3
  456. gets built before the Linux kernel.
  457. Enable this option if you get a Linux kernel build failure
  458. such as "python3: not found".
  459. # Linux extensions
  460. source "linux/Config.ext.in"
  461. # Linux tools
  462. source "package/linux-tools/Config.in"
  463. endif # BR2_LINUX_KERNEL
  464. endmenu