aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/tasks.py
diff options
context:
space:
mode:
authorNick Desaulniers <[email protected]>2021-02-05 14:01:25 -0800
committerMasahiro Yamada <[email protected]>2021-02-24 15:11:17 +0900
commitdb07562aeac77923370bff4733d8b0e09cbc93c4 (patch)
treeb69799d84344cbf543cbf5b810c56e7c2f93d18c /scripts/gdb/linux/tasks.py
parent02aff85922043cf175ebbe5fc3430acfeaeb8393 (diff)
Makefile: reuse CC_VERSION_TEXT
I noticed we're invoking $(CC) via $(shell) more than once to check the version. Let's reuse the first string captured in $CC_VERSION_TEXT. Signed-off-by: Nick Desaulniers <[email protected]> [masahiro.yamada: CC_VERSION_TEXT is assigned by = instead of :=, so this $(shell ) is evaluated multiple times anyway. The number of $(CC) invocations will be still the same. Replacing 'grep' with the built-in $(findstring ) will give real performance benefit.] Signed-off-by: Masahiro Yamada <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/tasks.py')
0 files changed, 0 insertions, 0 deletions