All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/1] linux/linux.mk: ensure custom kernel version is set
@ 2022-04-05  1:20 James Hilliard
  2022-04-10 14:50 ` Arnout Vandecappelle
  2022-04-10 19:58 ` Peter Korsgaard
  0 siblings, 2 replies; 5+ messages in thread
From: James Hilliard @ 2022-04-05  1:20 UTC (permalink / raw)
  To: buildroot; +Cc: James Hilliard

Validate that BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE is set when
required.

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

Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
---
 linux/linux.mk | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/linux/linux.mk b/linux/linux.mk
index 102b7a15d4..7ff7b05042 100644
--- a/linux/linux.mk
+++ b/linux/linux.mk
@@ -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
-- 
2.25.1

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2022-04-11  6:30 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-04-05  1:20 [Buildroot] [PATCH 1/1] linux/linux.mk: ensure custom kernel version is set James Hilliard
2022-04-10 14:50 ` Arnout Vandecappelle
2022-04-10 19:58 ` Peter Korsgaard
2022-04-11  4:08   ` Baruch Siach via buildroot
2022-04-11  6:30     ` Peter Korsgaard

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.