* [PATCH] kbuild: specify modules(_install) as PHONY rather than FORCE
@ 2016-03-13 0:39 Masahiro Yamada
2016-04-20 8:30 ` Michal Marek
0 siblings, 1 reply; 2+ messages in thread
From: Masahiro Yamada @ 2016-03-13 0:39 UTC (permalink / raw)
To: linux-kbuild; +Cc: Masahiro Yamada, Michal Marek, linux-kernel
As in other places, PHONY is a better fit for "modules" and
"modules_install".
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
---
Makefile | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/Makefile b/Makefile
index e3ef6b6..64cf099 100644
--- a/Makefile
+++ b/Makefile
@@ -1157,7 +1157,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."
--
1.9.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] kbuild: specify modules(_install) as PHONY rather than FORCE
2016-03-13 0:39 [PATCH] kbuild: specify modules(_install) as PHONY rather than FORCE Masahiro Yamada
@ 2016-04-20 8:30 ` Michal Marek
0 siblings, 0 replies; 2+ messages in thread
From: Michal Marek @ 2016-04-20 8:30 UTC (permalink / raw)
To: Masahiro Yamada; +Cc: linux-kbuild, Michal Marek, linux-kernel
On Sun, Mar 13, 2016 at 09:39:22AM +0900, Masahiro Yamada wrote:
> As in other places, PHONY is a better fit for "modules" and
> "modules_install".
>
> Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Applied to kbuild.git#kbuild.
Michal
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2016-04-20 8:30 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-03-13 0:39 [PATCH] kbuild: specify modules(_install) as PHONY rather than FORCE Masahiro Yamada
2016-04-20 8:30 ` Michal Marek
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.