Skip to content

Commit

Permalink
kbuild: remove duplicated comments about PHONY
Browse files Browse the repository at this point in the history
The comment is the same as in the top-level Makefile.

Also, the comments contain typos:
  - the .PHONY variable  ->  the PHONY variable
  - se we can ...        ->  so we can ...

Instead of fixing the typos, just remove the duplicated comments.

Signed-off-by: Masahiro Yamada <[email protected]>
  • Loading branch information
masahir0y committed Jul 6, 2018
1 parent bd412d8 commit 6916162
Show file tree
Hide file tree
Showing 6 changed files with 0 additions and 21 deletions.
3 changes: 0 additions & 3 deletions scripts/Makefile.build
Original file line number Diff line number Diff line change
Expand Up @@ -590,7 +590,4 @@ endif
# We never want them to be removed automatically.
.SECONDARY: $(targets)

# 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.

.PHONY: $(PHONY)
3 changes: 0 additions & 3 deletions scripts/Makefile.clean
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,4 @@ PHONY += $(subdir-ymn)
$(subdir-ymn):
$(Q)$(MAKE) $(clean)=$@

# 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.

.PHONY: $(PHONY)
4 changes: 0 additions & 4 deletions scripts/Makefile.modbuiltin
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,4 @@ PHONY += $(subdir-ym)
$(subdir-ym):
$(Q)$(MAKE) $(modbuiltin)=$@


# 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.

.PHONY: $(PHONY)
4 changes: 0 additions & 4 deletions scripts/Makefile.modinst
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,4 @@ modinst_dir = $(if $(KBUILD_EXTMOD),$(ext-mod-dir),kernel/$(@D))
$(modules):
$(call cmd,modules_install,$(MODLIB)/$(modinst_dir))


# Declare the contents of the .PHONY variable as phony. We keep that
# information in a variable so we can use it in if_changed and friends.

.PHONY: $(PHONY)
4 changes: 0 additions & 4 deletions scripts/Makefile.modpost
Original file line number Diff line number Diff line change
Expand Up @@ -149,8 +149,4 @@ ifneq ($(cmd_files),)
include $(cmd_files)
endif


# 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.

.PHONY: $(PHONY)
3 changes: 0 additions & 3 deletions scripts/Makefile.modsign
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,4 @@ modinst_dir = $(if $(KBUILD_EXTMOD),$(ext-mod-dir),kernel/$(@D))
$(modules):
$(call cmd,sign_ko,$(MODLIB)/$(modinst_dir))

# 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.

.PHONY: $(PHONY)

0 comments on commit 6916162

Please sign in to comment.