diff options
author | Michal Marek <mmarek@suse.cz> | 2014-11-26 09:09:24 -0500 |
---|---|---|
committer | Michal Marek <mmarek@suse.cz> | 2014-11-26 09:09:24 -0500 |
commit | a29b82326ed4eb5567b03c85b52c6891578d5a03 (patch) | |
tree | adbc949bbd31099866ba3ed914e359d797679c55 /scripts/Makefile.clean | |
parent | 371fdc77af44f4cb32475fd499e1d912ccc30890 (diff) |
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 <mmarek@suse.cz>
Diffstat (limited to 'scripts/Makefile.clean')
-rw-r--r-- | scripts/Makefile.clean | 5 |
1 files changed, 0 insertions, 5 deletions
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) | |||
88 | $(subdir-ymn): | 88 | $(subdir-ymn): |
89 | $(Q)$(MAKE) $(clean)=$@ | 89 | $(Q)$(MAKE) $(clean)=$@ |
90 | 90 | ||
91 | # If quiet is set, only print short version of command | ||
92 | |||
93 | cmd = @$(if $($(quiet)cmd_$(1)),echo ' $($(quiet)cmd_$(1))' &&) $(cmd_$(1)) | ||
94 | |||
95 | |||
96 | # Declare the contents of the .PHONY variable as phony. We keep that | 91 | # Declare the contents of the .PHONY variable as phony. We keep that |
97 | # information in a variable se we can use it in if_changed and friends. | 92 | # information in a variable se we can use it in if_changed and friends. |
98 | 93 | ||