diff options
author | Masahiro Yamada <masahiroy@kernel.org> | 2023-01-22 23:14:25 +0900 |
---|---|---|
committer | Masahiro Yamada <masahiroy@kernel.org> | 2023-02-05 18:51:20 +0900 |
commit | ec31f868ec674edfcf653cc7c82b365c6f570cd9 (patch) | |
tree | acc3bbbf616ae91164f6c6e67ee421ca7d295a52 /Makefile | |
parent | 75280bdf49b2f563fb5404df7c7b735c118695fe (diff) | |
download | linux-ec31f868ec674edfcf653cc7c82b365c6f570cd9.tar.gz linux-ec31f868ec674edfcf653cc7c82b365c6f570cd9.tar.bz2 linux-ec31f868ec674edfcf653cc7c82b365c6f570cd9.zip |
setlocalversion: absorb $(KERNELVERSION)
Print $(KERNELVERSION) in setlocalversion so that the callers get
simpler.
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -1258,8 +1258,7 @@ vmlinux: vmlinux.o $(KBUILD_LDS) modpost # make sure no implicit rule kicks in $(sort $(KBUILD_LDS) $(KBUILD_VMLINUX_OBJS) $(KBUILD_VMLINUX_LIBS)): . ; -filechk_kernel.release = \ - echo "$(KERNELVERSION)$$($(CONFIG_SHELL) $(srctree)/scripts/setlocalversion $(srctree))" +filechk_kernel.release = $(srctree)/scripts/setlocalversion $(srctree) # Store (new) KERNELRELEASE string in include/config/kernel.release include/config/kernel.release: FORCE @@ -2124,7 +2123,7 @@ checkstack: $(PERL) $(srctree)/scripts/checkstack.pl $(CHECKSTACK_ARCH) kernelrelease: - @echo "$(KERNELVERSION)$$($(CONFIG_SHELL) $(srctree)/scripts/setlocalversion $(srctree))" + @$(srctree)/scripts/setlocalversion $(srctree) kernelversion: @echo $(KERNELVERSION) |