* [Buildroot] [PATCH 1/1] package/linux-headers: ensure tarball location is set
@ 2022-04-02 3:29 James Hilliard
2022-04-09 10:28 ` Peter Korsgaard
0 siblings, 1 reply; 2+ messages in thread
From: James Hilliard @ 2022-04-02 3:29 UTC (permalink / raw)
To: buildroot; +Cc: James Hilliard
Validate that BR2_KERNEL_HEADERS_CUSTOM_TARBALL_LOCATION is set when
required.
Fixes:
http://autobuild.buildroot.net/results/f5e/f5e25cbb571c42f8a1728afa856a4fd54f4ad105
Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
---
| 3 +++
1 file changed, 3 insertions(+)
--git a/package/linux-headers/linux-headers.mk b/package/linux-headers/linux-headers.mk
index a8d1c2ccaf..2a62dc2026 100644
--- a/package/linux-headers/linux-headers.mk
+++ b/package/linux-headers/linux-headers.mk
@@ -35,6 +35,9 @@ endif # BR2_KERNEL_HEADERS_AS_KERNEL
# Compute LINUX_HEADERS_SOURCE and LINUX_HEADERS_SITE from the configuration
ifeq ($(LINUX_HEADERS_CUSTOM_TARBALL),y)
+ifeq ($(LINUX_HEADERS_CUSTOM_TARBALL_LOCATION),)
+$(error No kernel headers tarball location set, check your BR2_KERNEL_HEADERS_CUSTOM_TARBALL_LOCATION setting)
+endif
LINUX_HEADERS_SOURCE = $(notdir $(LINUX_HEADERS_CUSTOM_TARBALL_LOCATION))
LINUX_HEADERS_SITE = $(patsubst %/,%,$(dir $(LINUX_HEADERS_CUSTOM_TARBALL_LOCATION)))
else ifeq ($(LINUX_HEADERS_CUSTOM_GIT),y)
--
2.25.1
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-04-09 10:28 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-04-02 3:29 [Buildroot] [PATCH 1/1] package/linux-headers: ensure tarball location is set James Hilliard
2022-04-09 10:28 ` Peter Korsgaard
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox