summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.masahiro@socionext.com>2016-03-13 01:39:22 +0100
committerMichal Marek <mmarek@suse.com>2016-04-20 10:29:20 +0200
commit612e47cec4ad6c5e49fe0a248b0c70849c86b0ee (patch)
tree18ea310a4d3be6975fbd343748e8c0083ef9414b
parentkbuild: drop FORCE from PHONY targets (diff)
downloadlinux-612e47cec4ad6c5e49fe0a248b0c70849c86b0ee.tar.xz
linux-612e47cec4ad6c5e49fe0a248b0c70849c86b0ee.zip
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>
-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
# 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."