diff mbox series

[1/2] Makefile: refactor ubootrelease target

Message ID 20240515073612.1511149-2-rasmus.villemoes@prevas.dk
State Accepted
Delegated to: Tom Rini
Headers show
Series scripts/setlocalversion sync with linux 6.9 | expand

Commit Message

Rasmus Villemoes May 15, 2024, 7:36 a.m. UTC
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 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/Makefile b/Makefile
index 44deb339af1..efaf24e58e7 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)