FROMLIST: kbuild: add __cc-ifversion and compiler-specific variants
authorSami Tolvanen <samitolvanen@google.com>
Fri, 17 Nov 2017 23:37:42 +0000 (15:37 -0800)
committerSami Tolvanen <samitolvanen@google.com>
Thu, 26 Apr 2018 23:03:35 +0000 (16:03 -0700)
commit23fb7597e6df2935bbfd0cca5a4c3ad837043aa4
treedae13dbc3f4c069f29d356ea36a5ece9cc9809db
parent85ccd0ce462d87109a6041fb8f42fc0d33b49a72
FROMLIST: kbuild: add __cc-ifversion and compiler-specific variants

This change adds macros for testing both compiler name and
version. Current cc-version, cc-ifversion etc. macros that test
gcc version are left unchanged to prevent compatibility issues
with existing tests.

Bug: 62093296
Bug: 67506682
Change-Id: I14965fcc21dae8dfe31881b172214bf6f8a9f440
(am from https://patchwork.kernel.org/patch/10085767/)
Signed-off-by: Sami Tolvanen <samitolvanen@google.com>
scripts/Kbuild.include