Messages in this thread Patch in this message | | | From | Michal Marek <> | Subject | [PATCH] kbuild: Remove duplicate $(cmd) definition in Makefile.clean | Date | Wed, 26 Nov 2014 15:12:11 +0100 |
| |
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 <mmarek@suse.cz> --- scripts/Makefile.clean | 5 ----- 1 file changed, 5 deletions(-)
diff --git a/scripts/Makefile.clean b/scripts/Makefile.clean index 0aa91a0..1bca180 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. -- 2.1.2
| |