Kbuild: Handle PREEMPT_RT for version string and magic
authorThomas Gleixner <tglx@linutronix.de>
Sun, 28 Jul 2019 18:27:41 +0000 (20:27 +0200)
committerMasahiro Yamada <yamada.masahiro@socionext.com>
Tue, 13 Aug 2019 16:10:42 +0000 (01:10 +0900)
commit4b950bb9ac0c7246dcf75060040577c3de60c166
tree073ac6d106c27b9107f5f0b53c7fe5f8ed610e89
parentcf8dfd15e5fb280fa1e79e1d373456cb1e701222
Kbuild: Handle PREEMPT_RT for version string and magic

Update the build scripts and the version magic to reflect when
CONFIG_PREEMPT_RT is enabled in the same way as CONFIG_PREEMPT is treated.

The resulting version strings:

  Linux m 5.3.0-rc1+ #100 SMP Fri Jul 26 ...
  Linux m 5.3.0-rc1+ #101 SMP PREEMPT Fri Jul 26 ...
  Linux m 5.3.0-rc1+ #102 SMP PREEMPT_RT Fri Jul 26 ...

The module vermagic:

  5.3.0-rc1+ SMP mod_unload modversions
  5.3.0-rc1+ SMP preempt mod_unload modversions
  5.3.0-rc1+ SMP preempt_rt mod_unload modversions

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
include/linux/vermagic.h
init/Makefile
scripts/Makefile.modpost
scripts/mkcompile_h