diff mbox series

[09/11] configs/{canaan, sipeed_maix}*: specify kernel headers version

Message ID 20221004195039.931947-9-peter@korsgaard.com
State Accepted
Headers show
Series [01/11] toolchain/Config.in: correct BR2_TOOLCHAIN_HEADERS_AT_LEAST for 5.17 | expand

Commit Message

Peter Korsgaard Oct. 4, 2022, 7:50 p.m. UTC
The defconfigs use a 5.19 kernel, so specify 5.19 kernel headers now that is
available.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
---
 configs/canaan_kd233_defconfig            | 3 +++
 configs/sipeed_maix_bit_defconfig         | 3 +++
 configs/sipeed_maix_bit_sdcard_defconfig  | 3 +++
 configs/sipeed_maix_dock_defconfig        | 3 +++
 configs/sipeed_maix_dock_sdcard_defconfig | 3 +++
 configs/sipeed_maix_go_defconfig          | 3 +++
 configs/sipeed_maix_go_sdcard_defconfig   | 3 +++
 configs/sipeed_maixduino_defconfig        | 3 +++
 configs/sipeed_maixduino_sdcard_defconfig | 3 +++
 9 files changed, 27 insertions(+)

Comments

Damien Le Moal Oct. 4, 2022, 11:08 p.m. UTC | #1
On 10/5/22 04:50, Peter Korsgaard wrote:
> The defconfigs use a 5.19 kernel, so specify 5.19 kernel headers now that is
> available.
> 
> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>

Looks good to me.

Reviewed-by: Damien Le Moal <damien.lemoal@opensource.wdc.com>

> ---
>  configs/canaan_kd233_defconfig            | 3 +++
>  configs/sipeed_maix_bit_defconfig         | 3 +++
>  configs/sipeed_maix_bit_sdcard_defconfig  | 3 +++
>  configs/sipeed_maix_dock_defconfig        | 3 +++
>  configs/sipeed_maix_dock_sdcard_defconfig | 3 +++
>  configs/sipeed_maix_go_defconfig          | 3 +++
>  configs/sipeed_maix_go_sdcard_defconfig   | 3 +++
>  configs/sipeed_maixduino_defconfig        | 3 +++
>  configs/sipeed_maixduino_sdcard_defconfig | 3 +++
>  9 files changed, 27 insertions(+)
> 
> diff --git a/configs/canaan_kd233_defconfig b/configs/canaan_kd233_defconfig
> index 3aa5dccf08..77b8abf531 100644
> --- a/configs/canaan_kd233_defconfig
> +++ b/configs/canaan_kd233_defconfig
> @@ -10,6 +10,9 @@ BR2_RISCV_ISA_CUSTOM_RVC=y
>  # BR2_RISCV_USE_MMU is not set
>  BR2_RISCV_ABI_LP64D=y
>  
> +# Linux headers same as kernel, a 5.19 series
> +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_19=y
> +
>  # Binary format
>  BR2_BINFMT_FLAT=y
>  BR2_BINFMT_FLAT_ONE=y
> diff --git a/configs/sipeed_maix_bit_defconfig b/configs/sipeed_maix_bit_defconfig
> index d2bac9e0b8..d73ba0266a 100644
> --- a/configs/sipeed_maix_bit_defconfig
> +++ b/configs/sipeed_maix_bit_defconfig
> @@ -10,6 +10,9 @@ BR2_RISCV_ISA_CUSTOM_RVC=y
>  # BR2_RISCV_USE_MMU is not set
>  BR2_RISCV_ABI_LP64D=y
>  
> +# Linux headers same as kernel, a 5.19 series
> +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_19=y
> +
>  # Binary format
>  BR2_BINFMT_FLAT=y
>  BR2_BINFMT_FLAT_ONE=y
> diff --git a/configs/sipeed_maix_bit_sdcard_defconfig b/configs/sipeed_maix_bit_sdcard_defconfig
> index e1c9dc417e..8a19996090 100644
> --- a/configs/sipeed_maix_bit_sdcard_defconfig
> +++ b/configs/sipeed_maix_bit_sdcard_defconfig
> @@ -10,6 +10,9 @@ BR2_RISCV_ISA_CUSTOM_RVC=y
>  # BR2_RISCV_USE_MMU is not set
>  BR2_RISCV_ABI_LP64D=y
>  
> +# Linux headers same as kernel, a 5.19 series
> +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_19=y
> +
>  # System
>  BR2_BINFMT_FLAT=y
>  BR2_BINFMT_FLAT_ONE=y
> diff --git a/configs/sipeed_maix_dock_defconfig b/configs/sipeed_maix_dock_defconfig
> index a7f0441e53..ccb563310e 100644
> --- a/configs/sipeed_maix_dock_defconfig
> +++ b/configs/sipeed_maix_dock_defconfig
> @@ -10,6 +10,9 @@ BR2_RISCV_ISA_CUSTOM_RVC=y
>  # BR2_RISCV_USE_MMU is not set
>  BR2_RISCV_ABI_LP64D=y
>  
> +# Linux headers same as kernel, a 5.19 series
> +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_19=y
> +
>  # Binary format
>  BR2_BINFMT_FLAT=y
>  BR2_BINFMT_FLAT_ONE=y
> diff --git a/configs/sipeed_maix_dock_sdcard_defconfig b/configs/sipeed_maix_dock_sdcard_defconfig
> index 6b7f8d9c68..d3d0f405e1 100644
> --- a/configs/sipeed_maix_dock_sdcard_defconfig
> +++ b/configs/sipeed_maix_dock_sdcard_defconfig
> @@ -10,6 +10,9 @@ BR2_RISCV_ISA_CUSTOM_RVC=y
>  # BR2_RISCV_USE_MMU is not set
>  BR2_RISCV_ABI_LP64D=y
>  
> +# Linux headers same as kernel, a 5.19 series
> +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_19=y
> +
>  # System
>  BR2_BINFMT_FLAT=y
>  BR2_BINFMT_FLAT_ONE=y
> diff --git a/configs/sipeed_maix_go_defconfig b/configs/sipeed_maix_go_defconfig
> index a68f9d3b72..c3bcf98f81 100644
> --- a/configs/sipeed_maix_go_defconfig
> +++ b/configs/sipeed_maix_go_defconfig
> @@ -10,6 +10,9 @@ BR2_RISCV_ISA_CUSTOM_RVC=y
>  # BR2_RISCV_USE_MMU is not set
>  BR2_RISCV_ABI_LP64D=y
>  
> +# Linux headers same as kernel, a 5.19 series
> +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_19=y
> +
>  # Binary format
>  BR2_BINFMT_FLAT=y
>  BR2_BINFMT_FLAT_ONE=y
> diff --git a/configs/sipeed_maix_go_sdcard_defconfig b/configs/sipeed_maix_go_sdcard_defconfig
> index a127872cd8..75300997b8 100644
> --- a/configs/sipeed_maix_go_sdcard_defconfig
> +++ b/configs/sipeed_maix_go_sdcard_defconfig
> @@ -10,6 +10,9 @@ BR2_RISCV_ISA_CUSTOM_RVC=y
>  # BR2_RISCV_USE_MMU is not set
>  BR2_RISCV_ABI_LP64D=y
>  
> +# Linux headers same as kernel, a 5.19 series
> +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_19=y
> +
>  # System
>  BR2_BINFMT_FLAT=y
>  BR2_BINFMT_FLAT_ONE=y
> diff --git a/configs/sipeed_maixduino_defconfig b/configs/sipeed_maixduino_defconfig
> index c52adb5db7..a30596af92 100644
> --- a/configs/sipeed_maixduino_defconfig
> +++ b/configs/sipeed_maixduino_defconfig
> @@ -10,6 +10,9 @@ BR2_RISCV_ISA_CUSTOM_RVC=y
>  # BR2_RISCV_USE_MMU is not set
>  BR2_RISCV_ABI_LP64D=y
>  
> +# Linux headers same as kernel, a 5.19 series
> +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_19=y
> +
>  # Binary format
>  BR2_BINFMT_FLAT=y
>  BR2_BINFMT_FLAT_ONE=y
> diff --git a/configs/sipeed_maixduino_sdcard_defconfig b/configs/sipeed_maixduino_sdcard_defconfig
> index baaa2bc7bb..add9369747 100644
> --- a/configs/sipeed_maixduino_sdcard_defconfig
> +++ b/configs/sipeed_maixduino_sdcard_defconfig
> @@ -10,6 +10,9 @@ BR2_RISCV_ISA_CUSTOM_RVC=y
>  # BR2_RISCV_USE_MMU is not set
>  BR2_RISCV_ABI_LP64D=y
>  
> +# Linux headers same as kernel, a 5.19 series
> +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_19=y
> +
>  # System
>  BR2_BINFMT_FLAT=y
>  BR2_BINFMT_FLAT_ONE=y
diff mbox series

Patch

diff --git a/configs/canaan_kd233_defconfig b/configs/canaan_kd233_defconfig
index 3aa5dccf08..77b8abf531 100644
--- a/configs/canaan_kd233_defconfig
+++ b/configs/canaan_kd233_defconfig
@@ -10,6 +10,9 @@  BR2_RISCV_ISA_CUSTOM_RVC=y
 # BR2_RISCV_USE_MMU is not set
 BR2_RISCV_ABI_LP64D=y
 
+# Linux headers same as kernel, a 5.19 series
+BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_19=y
+
 # Binary format
 BR2_BINFMT_FLAT=y
 BR2_BINFMT_FLAT_ONE=y
diff --git a/configs/sipeed_maix_bit_defconfig b/configs/sipeed_maix_bit_defconfig
index d2bac9e0b8..d73ba0266a 100644
--- a/configs/sipeed_maix_bit_defconfig
+++ b/configs/sipeed_maix_bit_defconfig
@@ -10,6 +10,9 @@  BR2_RISCV_ISA_CUSTOM_RVC=y
 # BR2_RISCV_USE_MMU is not set
 BR2_RISCV_ABI_LP64D=y
 
+# Linux headers same as kernel, a 5.19 series
+BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_19=y
+
 # Binary format
 BR2_BINFMT_FLAT=y
 BR2_BINFMT_FLAT_ONE=y
diff --git a/configs/sipeed_maix_bit_sdcard_defconfig b/configs/sipeed_maix_bit_sdcard_defconfig
index e1c9dc417e..8a19996090 100644
--- a/configs/sipeed_maix_bit_sdcard_defconfig
+++ b/configs/sipeed_maix_bit_sdcard_defconfig
@@ -10,6 +10,9 @@  BR2_RISCV_ISA_CUSTOM_RVC=y
 # BR2_RISCV_USE_MMU is not set
 BR2_RISCV_ABI_LP64D=y
 
+# Linux headers same as kernel, a 5.19 series
+BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_19=y
+
 # System
 BR2_BINFMT_FLAT=y
 BR2_BINFMT_FLAT_ONE=y
diff --git a/configs/sipeed_maix_dock_defconfig b/configs/sipeed_maix_dock_defconfig
index a7f0441e53..ccb563310e 100644
--- a/configs/sipeed_maix_dock_defconfig
+++ b/configs/sipeed_maix_dock_defconfig
@@ -10,6 +10,9 @@  BR2_RISCV_ISA_CUSTOM_RVC=y
 # BR2_RISCV_USE_MMU is not set
 BR2_RISCV_ABI_LP64D=y
 
+# Linux headers same as kernel, a 5.19 series
+BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_19=y
+
 # Binary format
 BR2_BINFMT_FLAT=y
 BR2_BINFMT_FLAT_ONE=y
diff --git a/configs/sipeed_maix_dock_sdcard_defconfig b/configs/sipeed_maix_dock_sdcard_defconfig
index 6b7f8d9c68..d3d0f405e1 100644
--- a/configs/sipeed_maix_dock_sdcard_defconfig
+++ b/configs/sipeed_maix_dock_sdcard_defconfig
@@ -10,6 +10,9 @@  BR2_RISCV_ISA_CUSTOM_RVC=y
 # BR2_RISCV_USE_MMU is not set
 BR2_RISCV_ABI_LP64D=y
 
+# Linux headers same as kernel, a 5.19 series
+BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_19=y
+
 # System
 BR2_BINFMT_FLAT=y
 BR2_BINFMT_FLAT_ONE=y
diff --git a/configs/sipeed_maix_go_defconfig b/configs/sipeed_maix_go_defconfig
index a68f9d3b72..c3bcf98f81 100644
--- a/configs/sipeed_maix_go_defconfig
+++ b/configs/sipeed_maix_go_defconfig
@@ -10,6 +10,9 @@  BR2_RISCV_ISA_CUSTOM_RVC=y
 # BR2_RISCV_USE_MMU is not set
 BR2_RISCV_ABI_LP64D=y
 
+# Linux headers same as kernel, a 5.19 series
+BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_19=y
+
 # Binary format
 BR2_BINFMT_FLAT=y
 BR2_BINFMT_FLAT_ONE=y
diff --git a/configs/sipeed_maix_go_sdcard_defconfig b/configs/sipeed_maix_go_sdcard_defconfig
index a127872cd8..75300997b8 100644
--- a/configs/sipeed_maix_go_sdcard_defconfig
+++ b/configs/sipeed_maix_go_sdcard_defconfig
@@ -10,6 +10,9 @@  BR2_RISCV_ISA_CUSTOM_RVC=y
 # BR2_RISCV_USE_MMU is not set
 BR2_RISCV_ABI_LP64D=y
 
+# Linux headers same as kernel, a 5.19 series
+BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_19=y
+
 # System
 BR2_BINFMT_FLAT=y
 BR2_BINFMT_FLAT_ONE=y
diff --git a/configs/sipeed_maixduino_defconfig b/configs/sipeed_maixduino_defconfig
index c52adb5db7..a30596af92 100644
--- a/configs/sipeed_maixduino_defconfig
+++ b/configs/sipeed_maixduino_defconfig
@@ -10,6 +10,9 @@  BR2_RISCV_ISA_CUSTOM_RVC=y
 # BR2_RISCV_USE_MMU is not set
 BR2_RISCV_ABI_LP64D=y
 
+# Linux headers same as kernel, a 5.19 series
+BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_19=y
+
 # Binary format
 BR2_BINFMT_FLAT=y
 BR2_BINFMT_FLAT_ONE=y
diff --git a/configs/sipeed_maixduino_sdcard_defconfig b/configs/sipeed_maixduino_sdcard_defconfig
index baaa2bc7bb..add9369747 100644
--- a/configs/sipeed_maixduino_sdcard_defconfig
+++ b/configs/sipeed_maixduino_sdcard_defconfig
@@ -10,6 +10,9 @@  BR2_RISCV_ISA_CUSTOM_RVC=y
 # BR2_RISCV_USE_MMU is not set
 BR2_RISCV_ABI_LP64D=y
 
+# Linux headers same as kernel, a 5.19 series
+BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_5_19=y
+
 # System
 BR2_BINFMT_FLAT=y
 BR2_BINFMT_FLAT_ONE=y