toolchain: remove no longer relevant comment
The somewhat complicated sed expression has been removed in commit06cd604ec6
("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@free-electrons.com> (cherry picked from commitd9fee6b286
) Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
parent
47793a94b5
commit
b4e0100cdb
@ -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 \
|
||||
|
Loading…
Reference in New Issue
Block a user