Config.in 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573
  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. # 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.162-cip24-rt10)"
  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.16.4" if BR2_LINUX_KERNEL_LATEST_VERSION
  118. default "5.10.162-cip24" if BR2_LINUX_KERNEL_LATEST_CIP_VERSION
  119. default "5.10.162-cip24-rt10" 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 some 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. (BR2_aarch64 || BR2_aarch64_be || BR2_arcle || BR2_arceb || \
  151. BR2_or1k || BR2_riscv || BR2_sparc || BR2_x86_64)
  152. help
  153. This option will use the default configuration for the
  154. selected architecture. I.e, it is equivalent to running
  155. "make ARCH=<foo> defconfig". This is useful on architectures
  156. that have a single defconfig file, such as ARM64.
  157. config BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG
  158. bool "Using a custom (def)config file"
  159. endchoice
  160. config BR2_LINUX_KERNEL_DEFCONFIG
  161. string "Defconfig name"
  162. depends on BR2_LINUX_KERNEL_USE_DEFCONFIG
  163. help
  164. Name of the kernel defconfig file to use, without the
  165. trailing _defconfig. The defconfig is located in
  166. arch/<arch>/configs in the kernel tree.
  167. config BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE
  168. string "Configuration file path"
  169. depends on BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG
  170. help
  171. Path to the kernel configuration file
  172. Note: this can be a defconfig file or a complete .config file,
  173. which can later be saved back with make
  174. linux-update-(def)config.
  175. config BR2_LINUX_KERNEL_CONFIG_FRAGMENT_FILES
  176. string "Additional configuration fragment files"
  177. help
  178. A space-separated list of kernel configuration fragment files,
  179. that will be merged to the main kernel configuration file.
  180. config BR2_LINUX_KERNEL_CUSTOM_LOGO_PATH
  181. string "Custom boot logo file path"
  182. help
  183. Use a custom Linux framebuffer boot logo.
  184. Custom logo should be in PNG or JPEG format, it will be
  185. converted to the linux kernel format (224 colors only)
  186. and copied over the original logo file.
  187. #
  188. # Binary format
  189. #
  190. choice
  191. prompt "Kernel binary format"
  192. default BR2_LINUX_KERNEL_ZIMAGE if BR2_arm || BR2_armeb
  193. config BR2_LINUX_KERNEL_UIMAGE
  194. bool "uImage"
  195. depends on BR2_arc || BR2_arm || BR2_armeb || \
  196. BR2_powerpc || BR2_powerpc64 || BR2_powerpc64le || \
  197. BR2_sh || BR2_mips || BR2_mipsel || \
  198. BR2_mips64 || BR2_mips64el || BR2_xtensa
  199. select BR2_PACKAGE_HOST_UBOOT_TOOLS
  200. config BR2_LINUX_KERNEL_APPENDED_UIMAGE
  201. bool "uImage with appended DT"
  202. depends on BR2_arm || BR2_armeb
  203. select BR2_LINUX_KERNEL_DTS_SUPPORT
  204. select BR2_LINUX_KERNEL_APPENDED_DTB
  205. select BR2_PACKAGE_HOST_UBOOT_TOOLS
  206. config BR2_LINUX_KERNEL_BZIMAGE
  207. bool "bzImage"
  208. depends on BR2_i386 || BR2_x86_64 || BR2_s390x
  209. config BR2_LINUX_KERNEL_ZIMAGE
  210. bool "zImage"
  211. depends on BR2_arm || BR2_armeb || BR2_powerpc || \
  212. BR2_powerpc64 || BR2_powerpc64le || BR2_sparc || \
  213. BR2_sh || BR2_xtensa
  214. config BR2_LINUX_KERNEL_ZIMAGE_EPAPR
  215. bool "zImage.epapr"
  216. depends on BR2_powerpc64 || BR2_powerpc64le
  217. config BR2_LINUX_KERNEL_APPENDED_ZIMAGE
  218. bool "zImage with appended DT"
  219. depends on BR2_arm || BR2_armeb
  220. select BR2_LINUX_KERNEL_DTS_SUPPORT
  221. select BR2_LINUX_KERNEL_APPENDED_DTB
  222. config BR2_LINUX_KERNEL_CUIMAGE
  223. bool "cuImage"
  224. depends on BR2_powerpc
  225. select BR2_PACKAGE_HOST_UBOOT_TOOLS
  226. select BR2_LINUX_KERNEL_DTS_SUPPORT
  227. select BR2_LINUX_KERNEL_DTB_IS_SELF_BUILT
  228. config BR2_LINUX_KERNEL_SIMPLEIMAGE
  229. bool "simpleImage"
  230. depends on BR2_microblaze
  231. select BR2_PACKAGE_HOST_UBOOT_TOOLS
  232. select BR2_LINUX_KERNEL_DTS_SUPPORT
  233. select BR2_LINUX_KERNEL_DTB_IS_SELF_BUILT
  234. config BR2_LINUX_KERNEL_IMAGE
  235. bool "Image"
  236. depends on BR2_aarch64 || BR2_aarch64_be || BR2_riscv
  237. config BR2_LINUX_KERNEL_IMAGEGZ
  238. bool "Image.gz"
  239. depends on BR2_aarch64 || BR2_aarch64_be || BR2_riscv
  240. config BR2_LINUX_KERNEL_LINUX_BIN
  241. bool "linux.bin"
  242. depends on BR2_microblaze
  243. select BR2_PACKAGE_HOST_UBOOT_TOOLS
  244. config BR2_LINUX_KERNEL_VMLINUX_BIN
  245. bool "vmlinux.bin"
  246. depends on BR2_mips || BR2_mipsel || BR2_sh
  247. config BR2_LINUX_KERNEL_VMLINUX_EFI
  248. bool "vmlinux.efi"
  249. depends on BR2_loongarch64
  250. config BR2_LINUX_KERNEL_VMLINUX
  251. bool "vmlinux"
  252. config BR2_LINUX_KERNEL_VMLINUZ
  253. bool "vmlinuz"
  254. depends on BR2_mips || BR2_mipsel
  255. config BR2_LINUX_KERNEL_VMLINUZ_BIN
  256. bool "vmlinuz.bin"
  257. depends on BR2_mips || BR2_mipsel
  258. config BR2_LINUX_KERNEL_VMLINUZ_EFI
  259. bool "vmlinuz.efi"
  260. depends on BR2_loongarch64
  261. config BR2_LINUX_KERNEL_IMAGE_TARGET_CUSTOM
  262. bool "custom target"
  263. help
  264. For certain cases a board-specific target image must be
  265. used. For example, on powerPC where the OpenFirmware
  266. description is attached in a board-specific kernel image
  267. target like 'cuImage.mpc8379_rdb'.
  268. Select this option and specify the make target in "Kernel
  269. image target name".
  270. endchoice
  271. #
  272. # Kernel compression format
  273. #
  274. choice
  275. prompt "Kernel compression format"
  276. help
  277. This selection will just ensure that the correct host tools
  278. are built. The actual compression for the kernel should be
  279. selected in the kernel configuration menu.
  280. config BR2_LINUX_KERNEL_GZIP
  281. bool "gzip compression"
  282. config BR2_LINUX_KERNEL_LZ4
  283. bool "lz4 compression"
  284. config BR2_LINUX_KERNEL_LZMA
  285. bool "lzma compression"
  286. config BR2_LINUX_KERNEL_LZO
  287. bool "lzo compression"
  288. config BR2_LINUX_KERNEL_XZ
  289. bool "xz compression"
  290. config BR2_LINUX_KERNEL_ZSTD
  291. bool "zstd compression"
  292. config BR2_LINUX_KERNEL_UNCOMPRESSED
  293. bool "uncompressed"
  294. depends on BR2_s390x
  295. endchoice
  296. config BR2_LINUX_KERNEL_IMAGE_TARGET_NAME
  297. string "Kernel image target name"
  298. depends on BR2_LINUX_KERNEL_IMAGE_TARGET_CUSTOM
  299. help
  300. Specify the kernel make target to build the kernel that you
  301. need.
  302. config BR2_LINUX_KERNEL_IMAGE_NAME
  303. string "Kernel image name"
  304. depends on BR2_LINUX_KERNEL_IMAGE_TARGET_CUSTOM
  305. help
  306. The filename of the kernel image, if it is different from
  307. the make target (above). Defaults to
  308. BR2_LINUX_KERNEL_IMAGE_TARGET_NAME. If specified, the
  309. filename is relative to arch/ARCH/boot/.
  310. If unsure, leave it empty.
  311. config BR2_LINUX_KERNEL_UIMAGE_LOADADDR
  312. string "load address (for 3.7+ multi-platform image)"
  313. depends on BR2_arm || BR2_armeb
  314. depends on BR2_LINUX_KERNEL_UIMAGE || BR2_LINUX_KERNEL_APPENDED_UIMAGE
  315. help
  316. If your ARM system's Linux kernel is configured with the new
  317. (3.7+) multi-architecture support (CONFIG_ARCH_MULTIPLATFORM=y
  318. in your kernel config), then it is necessary to specify a
  319. kernel load address when building the uImage. This should be a
  320. hexadecimal string beginning with 0x, for example: 0x00008000.
  321. If unsure, let this option empty.
  322. config BR2_LINUX_KERNEL_DTS_SUPPORT
  323. bool "Build a Device Tree Blob (DTB)"
  324. help
  325. Compile one or more device tree sources into device tree
  326. blobs.
  327. Select the dts files to compile in the options below.
  328. if BR2_LINUX_KERNEL_DTS_SUPPORT
  329. # We have mainly three cases when it comes to device tree support:
  330. # 1) We don't want any support at all. Then the ..DTS_SUPPORT
  331. # variable won't be set
  332. # 2) We want device tree support, so we need the user to enter the
  333. # device tree name or the path to the custom device he uses, but
  334. # the kernel abstracts this from us and only build an image that
  335. # looks like a regular kernel image. In this case, we only need
  336. # to derive the kernel image name from the given device tree
  337. # name, and all the rest is as usual
  338. # 3) We want device tree support, but the kernel requires us to
  339. # build the device tree blob separately. In this case, some
  340. # more logic will be needed.
  341. # The variable below address the second case, were you only want
  342. # limited actions from buildroot.
  343. config BR2_LINUX_KERNEL_DTB_IS_SELF_BUILT
  344. bool "DTB is built by kernel itself"
  345. help
  346. Normally, the device tree(s) to be built have to be passed
  347. explicitly to the kernel build system. For some binary
  348. formats, however, the kernel build system links in the
  349. device tree directly in the kernel binary. Select this option
  350. if you have such a kernel binary format.
  351. config BR2_LINUX_KERNEL_APPENDED_DTB
  352. bool
  353. config BR2_LINUX_KERNEL_INTREE_DTS_NAME
  354. string "In-tree Device Tree Source file names"
  355. help
  356. Name of in-tree device tree source file, without
  357. the trailing .dts. You can provide a list of
  358. dts files to build, separated by spaces.
  359. config BR2_LINUX_KERNEL_INTREE_DTSO_NAMES
  360. string "In-tree Device Tree Overlay file names"
  361. help
  362. Names of in-tree device tree overlay, without the trailing
  363. .dtso which should be built and installed into the target
  364. system, separated by spaces.
  365. config BR2_LINUX_KERNEL_CUSTOM_DTS_PATH
  366. string "Out-of-tree Device Tree Source file paths"
  367. depends on BR2_LINUX_KERNEL_CUSTOM_DTS_DIR = ""
  368. help
  369. Paths to out-of-tree Device Tree Source (.dts), Device Tree
  370. Source Include (.dtsi) and Device Tree Overlay Source (.dtso)
  371. files, separated by spaces. These files will be copied to the
  372. kernel sources and the .dts files will
  373. be compiled from there.
  374. Due to a kernel build system changes in 6.12,
  375. BR2_LINUX_KERNEL_CUSTOM_DTS_PATH is now deprecated and
  376. replaced by BR2_LINUX_KERNEL_CUSTOM_DTS_DIR
  377. config BR2_LINUX_KERNEL_CUSTOM_DTS_DIR
  378. string "Out-of-tree Device Tree Source overlay directories"
  379. help
  380. Specify a list of directories that are copied as-is over the
  381. arch/<arch>/boot/dts/ directory before building the device
  382. tree blob.
  383. This overlay can contain dts, dtso and dtsi files.
  384. BR2_LINUX_KERNEL_CUSTOM_DTS_DIR should point to one or more
  385. directories containing a vendor subdirectory (e.g. rockchip)
  386. which contains the dts files. This vendor subdirectory should
  387. match the vendor subdirectory used by the board in the kernel
  388. (e.g. arch/arm64/boot/dts/rockchip/).
  389. While most architechtures make use of vendor subdirectories,
  390. like arm, arm64 and riscv, some architectures like powerpc
  391. and xtensa do not.
  392. In this case, BR2_LINUX_KERNEL_CUSTOM_DTS_DIR should point to
  393. a directory containing the dts files directly.
  394. Since the 6.12 release, each out-of-tree Device Tree Source
  395. file must be copied into their corresponding sub-directory.
  396. config BR2_LINUX_KERNEL_DTB_KEEP_DIRNAME
  397. bool "Keep the directory name of the Device Tree"
  398. help
  399. If enabled, the device tree blobs keep their
  400. directory prefixes when they get copied to the
  401. output image directory or the target directory.
  402. config BR2_LINUX_KERNEL_DTB_OVERLAY_SUPPORT
  403. bool "Build Device Tree with overlay support"
  404. help
  405. If enabled, pass the "-@" option to dtc, such that
  406. symbols are generated in the compiled Device Tree.
  407. Choose this option to support Device Tree overlays
  408. on the target system.
  409. endif
  410. config BR2_LINUX_KERNEL_INSTALL_TARGET
  411. bool "Install kernel image to /boot in target"
  412. depends on !BR2_TARGET_ROOTFS_INITRAMFS
  413. help
  414. Select this option to have the kernel image installed to
  415. /boot in the target root filesystem, as is typically done on
  416. x86/x86_64 systems.
  417. Note that this option also installs the Device Tree Blobs to
  418. /boot if DTBs have been generated by the kernel build
  419. process.
  420. config BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL
  421. bool "Needs host OpenSSL"
  422. help
  423. Some Linux kernel configuration options (such as
  424. CONFIG_SYSTEM_TRUSTED_KEYRING) require building a host
  425. program called extract-cert, which itself needs
  426. OpenSSL. Enabling this option will ensure host-openssl gets
  427. built before the Linux kernel.
  428. Enable this option if you get a Linux kernel build failure
  429. such as "scripts/extract-cert.c:21:25: fatal error:
  430. openssl/bio.h: No such file or directory".
  431. config BR2_LINUX_KERNEL_NEEDS_HOST_LIBELF
  432. bool "Needs host libelf"
  433. help
  434. Some Linux kernel configuration options (such as
  435. CONFIG_UNWINDER_ORC) require building a host program that
  436. needs libelf. Enabling this option will ensure host-elfutils
  437. (which provides libelf) gets built before the Linux kernel.
  438. Enable this option if you get a Linux kernel build failure
  439. such as "Cannot generate ORC metadata for
  440. CONFIG_UNWINDER_ORC=y, please install libelf-dev,
  441. libelf-devel or elfutils-libelf-devel".
  442. config BR2_LINUX_KERNEL_NEEDS_HOST_PAHOLE
  443. bool "Needs host pahole"
  444. help
  445. Some Linux kernel configuration options (such as
  446. CONFIG_DEBUG_INFO_BTF) require building a host program
  447. called pahole. Enabling this option will ensure host-pahole
  448. gets built before the Linux kernel.
  449. Enable this option if you get a Linux kernel build failure
  450. such as "BTF: .tmp_vmlinux.btf: pahole (pahole) is not
  451. available".
  452. config BR2_LINUX_KERNEL_NEEDS_HOST_PYTHON3
  453. bool "Needs host python3"
  454. help
  455. Some Linux kernel configuration options (such as the
  456. CONFIG_DRM_MSM in v6.10 and greater) require a host python3
  457. interpreter. Enabling this option will ensure host-python3
  458. gets built before the Linux kernel.
  459. Enable this option if you get a Linux kernel build failure
  460. such as "python3: not found".
  461. # Linux extensions
  462. source "linux/Config.ext.in"
  463. # Linux tools
  464. source "package/linux-tools/Config.in"
  465. endif # BR2_LINUX_KERNEL
  466. endmenu