summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorMasahiro Yamada <masahiroy@kernel.org>2021-03-31 22:38:02 +0900
committerMasahiro Yamada <masahiroy@kernel.org>2021-04-25 05:21:50 +0900
commit4b97ec0e9cfd5995f41b9726c88566a31f4625cc (patch)
tree3b0795941ffb0b02ecf8367eb8faf19898122e35 /Makefile
parentf3945833e436d79d9a97e776c4986af8c9cbb483 (diff)
downloadlinux-4b97ec0e9cfd5995f41b9726c88566a31f4625cc.tar.gz
kbuild: remove unneeded mkdir for external modules_install
scripts/Makefile.modinst creates directories as needed. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 0 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index ed8bd815e8a3..0e06db5ed9d8 100644
--- a/Makefile
+++ b/Makefile
@@ -1779,10 +1779,8 @@ $(MODORDER): descend
PHONY += modules_install
modules_install: _emodinst_ _emodinst_post
-install-dir := $(if $(INSTALL_MOD_DIR),$(INSTALL_MOD_DIR),extra)
PHONY += _emodinst_
_emodinst_:
- $(Q)mkdir -p $(MODLIB)/$(install-dir)
$(Q)$(MAKE) -f $(srctree)/scripts/Makefile.modinst
PHONY += _emodinst_post