Browse Source

configs: stm32f429_disco_xip: use same headers as kernel

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@amarulasolutions.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
(cherry picked from commit a4d38ef61cb1846871d15f49bdffd70a5ca05a2c)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Dario Binacchi 1 year ago
parent
commit
9b2c10bc06

+ 1 - 0
board/stmicroelectronics/stm32f429-disco/patches/linux-headers/linux-headers.hash

@@ -0,0 +1 @@
+../linux/linux.hash

+ 1 - 1
configs/stm32f429_disco_xip_defconfig

@@ -1,6 +1,6 @@
 BR2_arm=y
 BR2_arm=y
 BR2_cortex_m4=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_UCLIBC_INSTALL_UTILS is not set
 BR2_ENABLE_LTO=y
 BR2_ENABLE_LTO=y
 BR2_GLOBAL_PATCH_DIR="board/stmicroelectronics/stm32f429-disco/patches"
 BR2_GLOBAL_PATCH_DIR="board/stmicroelectronics/stm32f429-disco/patches"