[Buildroot] [git commit] configs: stm32f429_disco_xip: use same headers as kernel

Peter Korsgaard peter at korsgaard.com
Fri Jun 14 16:48:05 UTC 2024


commit: https://git.buildroot.net/buildroot/commit/?id=a4d38ef61cb1846871d15f49bdffd70a5ca05a2c
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master

Instead of downloading a different version of the kernel for the headers as
for the runtime kernel itself, use the same one.  By doing so, we now need
to add the hash file for linux-headers.

Signed-off-by: Dario Binacchi <dario.binacchi at amarulasolutions.com>
Signed-off-by: Peter Korsgaard <peter at korsgaard.com>
---
 .../stm32f429-disco/patches/linux-headers/linux-headers.hash            | 1 +
 configs/stm32f429_disco_xip_defconfig                                   | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/board/stmicroelectronics/stm32f429-disco/patches/linux-headers/linux-headers.hash b/board/stmicroelectronics/stm32f429-disco/patches/linux-headers/linux-headers.hash
new file mode 120000
index 0000000000..5808d92afe
--- /dev/null
+++ b/board/stmicroelectronics/stm32f429-disco/patches/linux-headers/linux-headers.hash
@@ -0,0 +1 @@
+../linux/linux.hash
\ No newline at end of file
diff --git a/configs/stm32f429_disco_xip_defconfig b/configs/stm32f429_disco_xip_defconfig
index e3d3cc38ff..11ec6c4bf7 100644
--- a/configs/stm32f429_disco_xip_defconfig
+++ b/configs/stm32f429_disco_xip_defconfig
@@ -1,6 +1,6 @@
 BR2_arm=y
 BR2_cortex_m4=y
-BR2_KERNEL_HEADERS_6_1=y
+BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_1=y
 # BR2_UCLIBC_INSTALL_UTILS is not set
 BR2_ENABLE_LTO=y
 BR2_GLOBAL_PATCH_DIR="board/stmicroelectronics/stm32f429-disco/patches"


More information about the buildroot mailing list