summaryrefslogtreecommitdiff
path: root/scripts/kconfig
diff options
context:
space:
mode:
authorIlias Apalodimas <[email protected]>2025-06-11 23:24:30 +0300
committerTom Rini <[email protected]>2025-06-11 16:21:36 -0600
commita76fb6981fb502717c7a5b7a601ef5c4c4dc17a0 (patch)
treee97794c7b9181dcf8ae90a0ab79ee404c576cd9e /scripts/kconfig
parent0ebda5f1f0c96679a7d6d365016ca9294a1c5dd9 (diff)
kbuild: use assignment instead of define ... endef for filechk_* rules
Backported from kernel commit ba97df45581f ("kbuild: use assignment instead of define ... endef for filechk_* rules") Signed-off-by: Ilias Apalodimas <[email protected]>
Diffstat (limited to 'scripts/kconfig')
-rw-r--r--scripts/kconfig/Makefile4
1 files changed, 1 insertions, 3 deletions
diff --git a/scripts/kconfig/Makefile b/scripts/kconfig/Makefile
index ba30652f01a..f0f93c56bdb 100644
--- a/scripts/kconfig/Makefile
+++ b/scripts/kconfig/Makefile
@@ -220,9 +220,7 @@ $(obj)/gconf.o: $(obj)/.gconf-cfg
$(obj)/zconf.tab.o: $(obj)/zconf.lex.c
# check if necessary packages are available, and configure build flags
-define filechk_conf_cfg
- $(CONFIG_SHELL) $<
-endef
+filechk_conf_cfg = $(CONFIG_SHELL) $<
$(obj)/.%conf-cfg: $(src)/%conf-cfg.sh FORCE
$(call filechk,conf_cfg)