summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Makefile9
1 files changed, 4 insertions, 5 deletions
diff --git a/Makefile b/Makefile
index a083dd9dce4a..f78c50018299 100644
--- a/Makefile
+++ b/Makefile
@@ -1648,6 +1648,10 @@ $(clean-dirs):
1648 1648
1649clean: rm-files := $(KBUILD_EXTMOD)/Module.symvers 1649clean: rm-files := $(KBUILD_EXTMOD)/Module.symvers
1650 1650
1651PHONY += /
1652/:
1653 @echo >&2 '"$(MAKE) /" is no longer supported. Please use "$(MAKE) ./" instead.'
1654
1651PHONY += help 1655PHONY += help
1652help: 1656help:
1653 @echo ' Building external modules.' 1657 @echo ' Building external modules.'
@@ -1783,11 +1787,6 @@ endif
1783 $(Q)$(MAKE) $(build)=$(build-dir) $(build-target:.ko=.mod) 1787 $(Q)$(MAKE) $(build)=$(build-dir) $(build-target:.ko=.mod)
1784 $(Q)echo $(build-target) > $(MODORDER) 1788 $(Q)echo $(build-target) > $(MODORDER)
1785 $(Q)$(MAKE) -f $(srctree)/scripts/Makefile.modpost 1789 $(Q)$(MAKE) -f $(srctree)/scripts/Makefile.modpost
1786
1787# Modules
1788PHONY += /
1789/: ./
1790
1791%/: prepare FORCE 1790%/: prepare FORCE
1792 $(Q)$(MAKE) KBUILD_MODULES=1 $(build)=$(build-dir) need-modorder=1 1791 $(Q)$(MAKE) KBUILD_MODULES=1 $(build)=$(build-dir) need-modorder=1
1793 1792