From: Rasmus Villemoes Date: Wed, 15 May 2024 07:36:11 +0000 (+0200) Subject: Makefile: refactor ubootrelease target X-Git-Url: http://git.dujemihanovic.xyz/%22/img/sics.gif/%22/static/git-favicon.png?a=commitdiff_plain;h=1bfce599dc68fac4285b0a4fbe247793fd82c156;p=u-boot.git Makefile: refactor ubootrelease target Instead of duplicating the contents of the filechk_uboot.release variable, use it directly. This is preparation for the next patch which will modify filechk_uboot.release, and reflects what the linux kernel does nowadays: kernelrelease: @$(filechk_kernel.release) Signed-off-by: Rasmus Villemoes --- diff --git a/Makefile b/Makefile index 44deb339af..efaf24e58e 100644 --- a/Makefile +++ b/Makefile @@ -2426,7 +2426,7 @@ checkstack: $(PERL) $(src)/scripts/checkstack.pl $(ARCH) ubootrelease: - @echo "$(UBOOTVERSION)$$($(CONFIG_SHELL) $(srctree)/scripts/setlocalversion $(srctree))" + @$(filechk_uboot.release) ubootversion: @echo $(UBOOTVERSION)