Skip to content
Snippets Groups Projects
Commit a29b8232 authored by Michal Marek's avatar Michal Marek
Browse files

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: default avatarMichal Marek <mmarek@suse.cz>
parent 371fdc77
No related branches found
No related tags found
No related merge requests found
...@@ -88,11 +88,6 @@ PHONY += $(subdir-ymn) ...@@ -88,11 +88,6 @@ PHONY += $(subdir-ymn)
$(subdir-ymn): $(subdir-ymn):
$(Q)$(MAKE) $(clean)=$@ $(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 # 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. # information in a variable se we can use it in if_changed and friends.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment