package/linux-headers: ensure headers version is set
PATCH 1/1 package/linux-headers: ensure headers version is set
Validate that BR2_DEFAULT_KERNEL_VERSION is set when required.
Fixes:
http://autobuild.buildroot.net/results/2b9/2b91cb82a290348843a2422c01b10e49f45be9ca
Signed-off-by James Hilliard <[email protected]>
--- package/linux-headers/linux-headers.mk | 6 ++++++ 1 file changed, 6 insertions(+)
package/linux-headers/linux-headers.mk +6 -0
@@ -33,6 +33,12 @@ LINUX_HEADERS_REPO_URL = $(call qstrip,$(BR2_KERNEL_HEADERS_CUSTOM_REPO_URL)) LINUX_HEADERS_CIP = endif # BR2_KERNEL_HEADERS_AS_KERNEL +ifeq ($(BR2_KERNEL_HEADERS_VERSION),y) +ifeq ($(LINUX_HEADERS_VERSION),) +$(error No kernel headers version set, check your BR2_DEFAULT_KERNEL_VERSION setting) +endif +endif + # Compute LINUX_HEADERS_SOURCE and LINUX_HEADERS_SITE from the configuration ifeq ($(LINUX_HEADERS_CUSTOM_TARBALL),y) LINUX_HEADERS_SOURCE = $(notdir $(LINUX_HEADERS_CUSTOM_TARBALL_LOCATION))
Signature · 6 lines
2.25.1 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Quoted 7 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"James" == James Hilliard <[email protected]> writes:
Validate that
BR2_DEFAULT_KERNEL_VERSIONis set when required. Fixes:
http://autobuild.buildroot.net/results/2b9/2b91cb82a290348843a2422c01b10e49f45be9caSigned-off-by James Hilliard <[email protected]>
Committed to 2022.02.x, thanks.
Signature · 5 lines
Bye, Peter Korsgaard _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot