From: Masahiro Yamada Date: Tue, 17 Dec 2019 04:18:19 +0000 (+0900) Subject: kconfig: use $(PERL) in Makefile X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=c8138a57bbd1a13a2e23d34d3f8f338dd5b526ca;p=linux.git kconfig: use $(PERL) in Makefile The top Makefile defines and exports the variable 'PERL'. Use it in case somebody wants to specify a particular version of perl from the command line. Signed-off-by: Masahiro Yamada --- diff --git a/scripts/kconfig/Makefile b/scripts/kconfig/Makefile index f826a257d5766..953a2859302c1 100644 --- a/scripts/kconfig/Makefile +++ b/scripts/kconfig/Makefile @@ -47,7 +47,7 @@ build_gconfig: $(obj)/gconf build_xconfig: $(obj)/qconf localyesconfig localmodconfig: $(obj)/conf - $(Q)perl $(srctree)/$(src)/streamline_config.pl --$@ $(srctree) $(Kconfig) > .tmp.config + $(Q)$(PERL) $(srctree)/$(src)/streamline_config.pl --$@ $(srctree) $(Kconfig) > .tmp.config $(Q)if [ -f .config ]; then \ cmp -s .tmp.config .config || \ (mv -f .config .config.old.1; \