[Buildroot] [git commit branch/2017.02.x] toolchain: remove no longer relevant comment

Peter Korsgaard peter at korsgaard.com
Mon Mar 13 22:58:43 UTC 2017


commit: https://git.buildroot.net/buildroot/commit/?id=b4e0100cdb500ab0f23c8506e5975a3ca406aedb
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2017.02.x

The somewhat complicated sed expression has been removed in commit
06cd604ec6d34f25b436ab729543418042a87e1c ("toolchain/external: use
-dumpversion to check gcc version"), so let's remove the comment that
was explaining this sed expression.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni at free-electrons.com>
(cherry picked from commit d9fee6b286798d27f45dd6ca6e4b5aabf0cc658d)
Signed-off-by: Peter Korsgaard <peter at korsgaard.com>
---
 toolchain/helpers.mk | 10 ----------
 1 file changed, 10 deletions(-)

diff --git a/toolchain/helpers.mk b/toolchain/helpers.mk
index 0ed8fdc..922c821 100644
--- a/toolchain/helpers.mk
+++ b/toolchain/helpers.mk
@@ -132,16 +132,6 @@ check_kernel_headers_version = \
 # $1: path to gcc
 # $2: expected gcc version
 #
-# Some details about the sed expression:
-# - 1!d
-#   - delete if not line 1
-#
-# - s/^[^)]+\) ([^[:space:]]+).*/\1/
-#   - eat all until the first ')' character followed by a space
-#   - match as many non-space chars as possible
-#   - eat all the remaining chars on the line
-#   - replace by the matched expression
-#
 check_gcc_version = \
 	expected_version="$(strip $2)" ; \
 	if [ -z "$${expected_version}" ]; then \


More information about the buildroot mailing list