Skip to content

Commit

Permalink
kbuild: Remove duplicate $(cmd) definition in Makefile.clean
Browse files Browse the repository at this point in the history
Makefile.clean includes Kbuild.include since commit 371fdc7
(kbuild: collect shorthands into scripts/Kbuild.include), so there is no
need for a local copy.

Signed-off-by: Michal Marek <[email protected]>
  • Loading branch information
michal42 committed Nov 26, 2014
1 parent 371fdc7 commit a29b823
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions scripts/Makefile.clean
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down

0 comments on commit a29b823

Please sign in to comment.