aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRasmus Villemoes <rasmus.villemoes@prevas.dk>2024-05-15 09:36:11 +0200
committerTom Rini <trini@konsulko.com>2024-05-21 16:09:36 -0600
commit1bfce599dc68fac4285b0a4fbe247793fd82c156 (patch)
tree61af91f8bfc4c72695e0f4040a2eca5732162610
parent1db973b65f9c1efbfa5370a95d6330f29557b3ab (diff)
downloadu-boot-1bfce599dc68fac4285b0a4fbe247793fd82c156.zip
u-boot-1bfce599dc68fac4285b0a4fbe247793fd82c156.tar.gz
u-boot-1bfce599dc68fac4285b0a4fbe247793fd82c156.tar.bz2
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 <rasmus.villemoes@prevas.dk>
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 44deb33..efaf24e 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)