2
1

Config.in 18 KB

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