Commit 4b97ec0e authored by Masahiro Yamada's avatar Masahiro Yamada

kbuild: remove unneeded mkdir for external modules_install

scripts/Makefile.modinst creates directories as needed.
Signed-off-by: default avatarMasahiro Yamada <masahiroy@kernel.org>
parent f3945833
...@@ -1779,10 +1779,8 @@ $(MODORDER): descend ...@@ -1779,10 +1779,8 @@ $(MODORDER): descend
PHONY += modules_install PHONY += modules_install
modules_install: _emodinst_ _emodinst_post modules_install: _emodinst_ _emodinst_post
install-dir := $(if $(INSTALL_MOD_DIR),$(INSTALL_MOD_DIR),extra)
PHONY += _emodinst_ PHONY += _emodinst_
_emodinst_: _emodinst_:
$(Q)mkdir -p $(MODLIB)/$(install-dir)
$(Q)$(MAKE) -f $(srctree)/scripts/Makefile.modinst $(Q)$(MAKE) -f $(srctree)/scripts/Makefile.modinst
PHONY += _emodinst_post PHONY += _emodinst_post
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment