Skip to contentSkip to conversation

linux/linux.mk: ensure custom kernel version is set

PATCH Applied James Hilliard 4 participants 5 messages Apr 5, 2022 – Apr 11, 2022

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 linux/linux.mk: ensure custom kernel version is set

Validate that BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE is set when required.

Fixes:
http://autobuild.buildroot.net/results/117/117c08e414776202446a9fdb96d084aa3c16af48

---
 linux/linux.mk | 6 ++++++
 1 file changed, 6 insertions(+)
linux/linux.mk +6 -0
index 102b7a15d4..7ff7b05042 100644
@@ -566,6 +566,12 @@ endif
 
 ifeq ($(BR_BUILDING),y)
 
+ifeq ($(BR2_LINUX_KERNEL_CUSTOM_VERSION),y)
+ifeq ($(LINUX_VERSION),)
+$(error No custom kernel version set. Check your BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE setting)
+endif
+endif
+
 ifeq ($(BR2_LINUX_KERNEL_USE_DEFCONFIG),y)
 # We must use the user-supplied kconfig value, because
 # LINUX_KCONFIG_DEFCONFIG will at least contain the
Signature · 6 lines
2.25.1

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#1 lore raw
Quoted 7 lines · James Hilliard

Validate that BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE is set when required.

Fixes:
http://autobuild.buildroot.net/results/117/117c08e414776202446a9fdb96d084aa3c16af48

Applied to master, thanks.

Regards,
Arnout

Quoted 11 lines
---
  linux/linux.mk | 6 ++++++
  1 file changed, 6 insertions(+)
linux/linux.mk +0 -0
index 102b7a15d4..7ff7b05042 100644
@@ -566,6 +566,12 @@ endif
 
  ifeq ($(BR_BUILDING),y)

linux/linux.mk endif · line 577

Quoted 10 lines
linux/linux.mk +6 -0
 
+ifeq ($(BR2_LINUX_KERNEL_CUSTOM_VERSION),y)
+ifeq ($(LINUX_VERSION),)
+$(error No custom kernel version set. Check your BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE setting)
+endif
+endif
+
  ifeq ($(BR2_LINUX_KERNEL_USE_DEFCONFIG),y)
  # We must use the user-supplied kconfig value, because
  # LINUX_KCONFIG_DEFCONFIG will at least contain the

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot

#2 lore raw
In reply to James Hilliard
Quoted 9 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"James" == James Hilliard <[email protected]> writes:

Validate that BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE is set when required.

Fixes:
http://autobuild.buildroot.net/results/117/117c08e414776202446a9fdb96d084aa3c16af48

Committed to 2022.02.x, thanks.

Signature · 5 lines
Bye, Peter Korsgaard
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#3 lore raw

Hi Peter,

Quoted 11 lines · Peter Korsgaard
Quoted 9 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"James" == James Hilliard <[email protected]> writes:

Validate that BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE is set when required.

Fixes:
http://autobuild.buildroot.net/results/117/117c08e414776202446a9fdb96d084aa3c16af48

Committed to 2022.02.x, thanks.

Not in 2022.02.x as of commit 989c7c8f7b6e ("package/vim: security bump to version 8.2.4732").

baruch

Signature · 7 lines
                                                     ~. .~   Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
   - [email protected] - tel: +972.52.368.4656, http://www.tkos.co.il -
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#4 lore raw
Quoted 12 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Baruch" == Baruch Siach <[email protected]> writes:

Hi Peter,

Quoted 8 lines · Peter Korsgaard
Quoted 7 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"James" == James Hilliard <[email protected]> writes:

Validate that BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE is set when required.

Fixes:
http://autobuild.buildroot.net/results/117/117c08e414776202446a9fdb96d084aa3c16af48

Quoted 6 lines
Quoted 3 lines
Quoted 1 line

Committed to 2022.02.x, thanks.

Not in 2022.02.x as of commit 989c7c8f7b6e ("package/vim: security bump to version 8.2.4732").

Ups, fixed now - Thanks!

Signature · 5 lines
Bye, Peter Korsgaard
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot