diff mbox series

[2/2] configs/stm32f469_disco_xip: explicitly set the kernel version

Message ID 20220102165849.1653228-2-dariobin@libero.it
State Accepted
Headers show
Series [1/2] configs/stm32f469_disco_xip: remove BR2_LINUX_KERNEL_XZ | expand

Commit Message

Dario Binacchi Jan. 2, 2022, 4:58 p.m. UTC
The version of the kernel and its headers must be explicitly set because
if you keep the default setting, the kernel is continuously updated in
buildroot with the risk that its image + dtb grow so much that it again
exceeds the 2 MByte of the flash module.

Signed-off-by: Dario Binacchi <dariobin@libero.it>
---
 configs/stm32f469_disco_xip_defconfig | 3 +++
 1 file changed, 3 insertions(+)
diff mbox series

Patch

diff --git a/configs/stm32f469_disco_xip_defconfig b/configs/stm32f469_disco_xip_defconfig
index 6c4f227f582d..d95b7759f31a 100644
--- a/configs/stm32f469_disco_xip_defconfig
+++ b/configs/stm32f469_disco_xip_defconfig
@@ -1,9 +1,12 @@ 
 BR2_arm=y
 BR2_cortex_m4=y
+BR2_KERNEL_HEADERS_5_15=y
 # BR2_UCLIBC_INSTALL_UTILS is not set
 BR2_GCC_ENABLE_LTO=y
 BR2_ROOTFS_POST_BUILD_SCRIPT="board/stmicroelectronics/common/stm32f4xx/stm32-post-build.sh"
 BR2_LINUX_KERNEL=y
+BR2_LINUX_KERNEL_CUSTOM_VERSION=y
+BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.15.6"
 BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y
 BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/stmicroelectronics/stm32f469-disco/linux-xip.config"
 BR2_LINUX_KERNEL_IMAGE_TARGET_CUSTOM=y