kbuild: specify modules(_install) as PHONY rather than FORCE
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Sun, 13 Mar 2016 00:39:22 +0000 (09:39 +0900)
committerMichal Marek <mmarek@suse.com>
Wed, 20 Apr 2016 08:29:20 +0000 (10:29 +0200)
As in other places, PHONY is a better fit for "modules" and
"modules_install".

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Signed-off-by: Michal Marek <mmarek@suse.com>
Makefile

index f1e5e3bcc217df843440030f7b186415fd703149..ec3dde3f6bb8d1efb7d99113fd8ad52562b186f0 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -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."