Skip to contentSkip to conversation

configs/bananapi_m2_ultra: add kernel headers version option

PATCH New Thomas Petazzoni 3 participants 4 messages Dec 8, 2018 – Dec 16, 2018

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 configs/bananapi_m2_ultra: add kernel headers version option

The bananapi_m2_plus defconfig uses a 4.18 kernel, but doesn't specify anything for the kernel headers version, so the Buildroot default gets used, which currently is 4.19. Since 4.19 is newer than 4.18, Buildroot rightfully whines:

Incorrect selection of kernel headers: expected 4.19.x, got 4.18.x

Let's fix this by telling this defconfig to use the headers from the kernel, and that they are of version 4.18.

Fixes:

https://gitlab.com/buildroot.org/buildroot/-/jobs/131216938

---
 configs/bananapi_m2_ultra_defconfig | 1 +
 1 file changed, 1 insertion(+)
configs/bananapi_m2_ultra_defconfig +1 -0
index 5dd3edd664..bc1d31a60a 100644
@@ -1,5 +1,6 @@
 BR2_arm=y
 BR2_cortex_a7=y
+BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_18=y
 BR2_TARGET_GENERIC_ISSUE="Welcome to Bananapi M2 Ultra"
 BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh"
 BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/bananapi/bananapi-m2-ultra/genimage.cfg"
Signature · 1 line
2.19.2
#1 lore raw

PATCH 1/1 configs/bananapi_m2_ultra: add kernel headers version option

Thomas, All,

On 2018-12-08 15:50 +0100, Thomas Petazzoni spake thusly:

Quoted 7 lines

The bananapi_m2_plus defconfig uses a 4.18 kernel, but doesn't specify anything for the kernel headers version, so the Buildroot default gets used, which currently is 4.19. Since 4.19 is newer than 4.18, Buildroot rightfully whines:

Incorrect selection of kernel headers: expected 4.19.x, got 4.18.x

Quoted 8 lines

Let's fix this by telling this defconfig to use the headers from the kernel, and that they are of version 4.18.

Fixes:

https://gitlab.com/buildroot.org/buildroot/-/jobs/131216938

Regards,
Yann E. MORIN.

Quoted 22 lines
---
 configs/bananapi_m2_ultra_defconfig | 1 +
 1 file changed, 1 insertion(+)
configs/bananapi_m2_ultra_defconfig +1 -0
index 5dd3edd664..bc1d31a60a 100644
@@ -1,5 +1,6 @@
 BR2_arm=y
 BR2_cortex_a7=y
+BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_18=y
 BR2_TARGET_GENERIC_ISSUE="Welcome to Bananapi M2 Ultra"
 BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh"
 BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/bananapi/bananapi-m2-ultra/genimage.cfg"
Signature · 6 lines
2.19.2

_______________________________________________
buildroot mailing list
buildroot at busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot
Signature · 6 lines
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 223 225 172 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'
#2 lore raw

PATCH 1/1 configs/bananapi_m2_ultra: add kernel headers version option

In reply to Thomas Petazzoni
Quoted 9 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Thomas" == Thomas Petazzoni <[email protected]> writes:

The bananapi_m2_plus defconfig uses a 4.18 kernel, but doesn't specify anything for the kernel headers version, so the Buildroot default gets used, which currently is 4.19. Since 4.19 is newer than 4.18, Buildroot rightfully whines:

Incorrect selection of kernel headers: expected 4.19.x, got 4.18.x

Quoted 8 lines

Let's fix this by telling this defconfig to use the headers from the kernel, and that they are of version 4.18.

Fixes:

https://gitlab.com/buildroot.org/buildroot/-/jobs/131216938

Committed, thanks.

Signature · 1 line
Bye, Peter Korsgaard
#3 lore raw

PATCH 1/1 configs/bananapi_m2_ultra: add kernel headers version option

In reply to Thomas Petazzoni
Quoted 9 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Thomas" == Thomas Petazzoni <[email protected]> writes:

The bananapi_m2_plus defconfig uses a 4.18 kernel, but doesn't specify anything for the kernel headers version, so the Buildroot default gets used, which currently is 4.19. Since 4.19 is newer than 4.18, Buildroot rightfully whines:

Incorrect selection of kernel headers: expected 4.19.x, got 4.18.x

Quoted 8 lines

Let's fix this by telling this defconfig to use the headers from the kernel, and that they are of version 4.18.

Fixes:

https://gitlab.com/buildroot.org/buildroot/-/jobs/131216938

Committed to 2018.11.x, thanks.

Signature · 1 line
Bye, Peter Korsgaard