kbuild: Remove duplicate $(cmd) definition in Makefile.clean
authorMichal Marek <mmarek@suse.cz>
Wed, 26 Nov 2014 14:09:24 +0000 (15:09 +0100)
committerMichal Marek <mmarek@suse.cz>
Wed, 26 Nov 2014 14:09:24 +0000 (15:09 +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

index 0aa91a07d9681a47adb9cb08a4a63e001ae08f57..1bca180db8ad0b6475464f3ca8ea78c881c1b1c5 100644 (file)
@@ -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.