]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
Makefile: refactor ubootrelease target
authorRasmus Villemoes <rasmus.villemoes@prevas.dk>
Wed, 15 May 2024 07:36:11 +0000 (09:36 +0200)
committerTom Rini <trini@konsulko.com>
Tue, 21 May 2024 22:09:36 +0000 (16:09 -0600)
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 <rasmus.villemoes@prevas.dk>
Makefile

index 44deb339af197140be63f0fd14dc5baac41aca37..efaf24e58e76e7d76db717ea18a3ddd2cfb75a86 100644 (file)
--- 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)