diff mbox

kbuild: specify modules(_install) as PHONY rather than FORCE

Message ID 1457829562-31752-1-git-send-email-yamada.masahiro@socionext.com (mailing list archive)
State New, archived
Headers show

Commit Message

Masahiro Yamada March 13, 2016, 12:39 a.m. UTC
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(-)

Comments

Michal Marek April 20, 2016, 8:30 a.m. UTC | #1
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
--
To unsubscribe from this list: send the line "unsubscribe linux-kbuild" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

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."