[Buildroot] [git commit] toolchain/toolchain-external: warn for untested GCC/kernel version

From: Yann E. MORIN <hidden>
Date: 2020-02-02 07:53:25
Subsystem: the rest · Maintainer: Linus Torvalds

commit: https://git.buildroot.net/buildroot/commit/?id=a4ba0b7bf1aa647f1ec4cd0b01700a2d6d5456f8
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master

The oldest toolchain we test in the autobuilders is the Sourcery ARM
toolchain which is GCC 4.8 and kernel headers 3.13. Therefore, it is
likely that we're missing the required _AT_LEAST dependencies to exclude
packages that don't build with older GCC/headers.

Add a comment to the custom external toolchain that warns when an
untested GCC or kernel headers version is selected.

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <redacted>
Signed-off-by: Yann E. MORIN <redacted>
---
 .../toolchain-external/toolchain-external-custom/Config.in.options  | 6 ++++++
 1 file changed, 6 insertions(+)
diff --git a/toolchain/toolchain-external/toolchain-external-custom/Config.in.options b/toolchain/toolchain-external/toolchain-external-custom/Config.in.options
index 665765a104..9680509a13 100644
--- a/toolchain/toolchain-external/toolchain-external-custom/Config.in.options
+++ b/toolchain/toolchain-external/toolchain-external-custom/Config.in.options
@@ -92,6 +92,9 @@ config BR2_TOOLCHAIN_EXTERNAL_GCC_OLD
 
 endchoice
 
+comment "GCC older than 4.8 is not tested by Buildroot. Use at your own risk."
+	depends on !BR2_TOOLCHAIN_GCC_AT_LEAST_4_8
+
 choice
 	bool "External toolchain kernel headers series"
 	default BR2_TOOLCHAIN_EXTERNAL_HEADERS_REALLY_OLD
@@ -298,6 +301,9 @@ config BR2_TOOLCHAIN_EXTERNAL_HEADERS_REALLY_OLD
 
 endchoice
 
+comment "Kernel headers older than 3.13 is not tested by Buildroot. Use at your own risk."
+	depends on !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_13
+
 choice
 	prompt "External toolchain C library"
 	default BR2_TOOLCHAIN_EXTERNAL_CUSTOM_UCLIBC
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help