summaryrefslogtreecommitdiff
path: root/samples/livepatch
diff options
context:
space:
mode:
authorMasahiro Yamada <masahiroy@kernel.org>2020-04-23 17:23:54 +0300
committerMasahiro Yamada <masahiroy@kernel.org>2020-05-12 07:28:33 +0300
commit9a950154668729a472d17b8e307d92e7c60f45f7 (patch)
tree7cc9c6c7533ac3904ec34897788a88098482d2b6 /samples/livepatch
parent30a7729771731971839cc969d2a321e6ea7a144b (diff)
downloadlinux-9a950154668729a472d17b8e307d92e7c60f45f7.tar.xz
kbuild: use CONFIG_CC_VERSION_TEXT to construct LINUX_COMPILER macro
scripts/mkcompile_h runs $(CC) just for getting the version string. Reuse CONFIG_CC_VERSION_TEXT for optimization. For GCC, this slightly changes the version string. I do not think it is a big deal as we do not have the defined format for LINUX_COMPILER. In fact, the recent commit 4dcc9a88448a ("kbuild: mkcompile_h: Include $LD version in /proc/version") added the linker version. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Diffstat (limited to 'samples/livepatch')
0 files changed, 0 insertions, 0 deletions