From: Michal Marek Date: Wed, 26 Nov 2014 14:09:24 +0000 (+0100) Subject: kbuild: Remove duplicate $(cmd) definition in Makefile.clean X-Git-Tag: firefly_0821_release~176^2~2606^2~5 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=a29b82326ed4eb5567b03c85b52c6891578d5a03;p=firefly-linux-kernel-4.4.55.git kbuild: Remove duplicate $(cmd) definition in Makefile.clean Makefile.clean includes Kbuild.include since commit 371fdc77 (kbuild: collect shorthands into scripts/Kbuild.include), so there is no need for a local copy. Signed-off-by: Michal Marek --- diff --git a/scripts/Makefile.clean b/scripts/Makefile.clean index 0aa91a07d968..1bca180db8ad 100644 --- a/scripts/Makefile.clean +++ b/scripts/Makefile.clean @@ -88,11 +88,6 @@ PHONY += $(subdir-ymn) $(subdir-ymn): $(Q)$(MAKE) $(clean)=$@ -# If quiet is set, only print short version of command - -cmd = @$(if $($(quiet)cmd_$(1)),echo ' $($(quiet)cmd_$(1))' &&) $(cmd_$(1)) - - # Declare the contents of the .PHONY variable as phony. We keep that # information in a variable se we can use it in if_changed and friends.