]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
kbuild: hardcode genksyms path and remove GENKSYMS variable
authorIlias Apalodimas <ilias.apalodimas@linaro.org>
Tue, 20 May 2025 05:21:31 +0000 (08:21 +0300)
committerTom Rini <trini@konsulko.com>
Fri, 30 May 2025 00:42:38 +0000 (18:42 -0600)
Back port from kernel although it's not used since it makes diffing
easier.
commit 88110713ca9dfb ("kbuild: hardcode genksyms path and remove GENKSYMS variable")

Signed-off-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
scripts/Makefile.build

index 2b2beb01bd3b90e9c9a51f81b87b88865037b2a5..b7611c0300884e76c95991e6d254899e44523735 100644 (file)
@@ -148,7 +148,7 @@ $(obj)/%.i: $(src)/%.c FORCE
 
 cmd_gensymtypes =                                                           \
     $(CPP) -D__GENKSYMS__ $(c_flags) $< |                                   \
-    $(GENKSYMS) $(if $(1), -T $(2))                                         \
+    scripts/genksyms/genksyms $(if $(1), -T $(2))                          \
      $(if $(KBUILD_PRESERVE),-p)                                            \
      -r $(firstword $(wildcard $(2:.symtypes=.symref) /dev/null))