Skip to contentSkip to conversation

package/linux-headers: ensure tarball location is set

PATCH In review James Hilliard 2 participants 2 messages Apr 2, 2022 – Apr 9, 2022

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/linux-headers: ensure tarball location is set

Validate that BR2_KERNEL_HEADERS_CUSTOM_TARBALL_LOCATION is set when required.

Fixes:
http://autobuild.buildroot.net/results/f5e/f5e25cbb571c42f8a1728afa856a4fd54f4ad105

---
 package/linux-headers/linux-headers.mk | 3 +++
 1 file changed, 3 insertions(+)
package/linux-headers/linux-headers.mk +3 -0
index a8d1c2ccaf..2a62dc2026 100644
@@ -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)
Signature · 6 lines
2.25.1

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#1 lore raw
Quoted 9 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

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

Validate that BR2_KERNEL_HEADERS_CUSTOM_TARBALL_LOCATION is set when required.

Fixes:
http://autobuild.buildroot.net/results/f5e/f5e25cbb571c42f8a1728afa856a4fd54f4ad105

Committed to 2022.02.x, thanks.

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