[PATCH] kbuild: fix dependency on sorttable

Masahiro Yamada posted 1 patch 9 months ago
scripts/Makefile.vmlinux | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH] kbuild: fix dependency on sorttable
Posted by Masahiro Yamada 9 months ago
Commit ac4f06789b4f ("kbuild: Create intermediate vmlinux build with
relocations preserved") missed replacing one occurrence of "vmlinux"
that was added during the same development cycle.

Fixes: ac4f06789b4f ("kbuild: Create intermediate vmlinux build with relocations preserved")
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
---

 scripts/Makefile.vmlinux | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/Makefile.vmlinux b/scripts/Makefile.vmlinux
index b0a6cd5b818c..d14ab3409da6 100644
--- a/scripts/Makefile.vmlinux
+++ b/scripts/Makefile.vmlinux
@@ -94,7 +94,7 @@ $(vmlinux-final): $(RESOLVE_BTFIDS)
 endif
 
 ifdef CONFIG_BUILDTIME_TABLE_SORT
-vmlinux: scripts/sorttable
+$(vmlinux-final): scripts/sorttable
 endif
 
 # module.builtin.ranges
-- 
2.43.0
Re: [PATCH] kbuild: fix dependency on sorttable
Posted by Ard Biesheuvel 9 months ago
On Sun, 11 May 2025 at 05:55, Masahiro Yamada <masahiroy@kernel.org> wrote:
>
> Commit ac4f06789b4f ("kbuild: Create intermediate vmlinux build with
> relocations preserved") missed replacing one occurrence of "vmlinux"
> that was added during the same development cycle.
>
> Fixes: ac4f06789b4f ("kbuild: Create intermediate vmlinux build with relocations preserved")
> Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>

Acked-by: Ard Biesheuvel <ardb@kernel.org>

> ---
>
>  scripts/Makefile.vmlinux | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/scripts/Makefile.vmlinux b/scripts/Makefile.vmlinux
> index b0a6cd5b818c..d14ab3409da6 100644
> --- a/scripts/Makefile.vmlinux
> +++ b/scripts/Makefile.vmlinux
> @@ -94,7 +94,7 @@ $(vmlinux-final): $(RESOLVE_BTFIDS)
>  endif
>
>  ifdef CONFIG_BUILDTIME_TABLE_SORT
> -vmlinux: scripts/sorttable
> +$(vmlinux-final): scripts/sorttable
>  endif
>
>  # module.builtin.ranges
> --
> 2.43.0
>