summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.masahiro@socionext.com>2016-03-12 19:39:22 -0500
committerMichal Marek <mmarek@suse.com>2016-04-20 04:29:20 -0400
commit612e47cec4ad6c5e49fe0a248b0c70849c86b0ee (patch)
tree18ea310a4d3be6975fbd343748e8c0083ef9414b /Makefile
parent2e8d696b79e9c68d3005a9b09a8c72625d141ea6 (diff)
kbuild: specify modules(_install) as PHONY rather than FORCE
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>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index f1e5e3bcc217..ec3dde3f6bb8 100644
--- a/Makefile
+++ b/Makefile
@@ -1208,7 +1208,8 @@ else # CONFIG_MODULES
1208# Modules not configured 1208# Modules not configured
1209# --------------------------------------------------------------------------- 1209# ---------------------------------------------------------------------------
1210 1210
1211modules modules_install: FORCE 1211PHONY += modules modules_install
1212modules modules_install:
1212 @echo >&2 1213 @echo >&2
1213 @echo >&2 "The present kernel configuration has modules disabled." 1214 @echo >&2 "The present kernel configuration has modules disabled."
1214 @echo >&2 "Type 'make config' and enable loadable module support." 1215 @echo >&2 "Type 'make config' and enable loadable module support."