Skip to content

Commit

Permalink
kbuild: specify modules(_install) as PHONY rather than FORCE
Browse files Browse the repository at this point in the history
As in other places, PHONY is a better fit for "modules" and
"modules_install".

Signed-off-by: Masahiro Yamada <[email protected]>
Signed-off-by: Michal Marek <[email protected]>
  • Loading branch information
masahir0y authored and Michal Marek committed Apr 20, 2016
1 parent 2e8d696 commit 612e47c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -1208,7 +1208,8 @@ else # CONFIG_MODULES
# Modules not configured
# ---------------------------------------------------------------------------

modules modules_install: FORCE
PHONY += modules modules_install
modules modules_install:
@echo >&2
@echo >&2 "The present kernel configuration has modules disabled."
@echo >&2 "Type 'make config' and enable loadable module support."
Expand Down

0 comments on commit 612e47c

Please sign in to comment.