kbuild: remove unneeded mkdir for external modules_install
[ Upstream commit 4b97ec0e9cfd5995f41b9726c88566a31f4625cc ] scripts/Makefile.modinst creates directories as needed. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Stable-dep-of: c7b98de745cf ("phy: qcom-qmp-combo: fix runtime suspend") Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:

committed by
Greg Kroah-Hartman

parent
195cb98861
commit
e215512959
2
Makefile
2
Makefile
@@ -1746,10 +1746,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
|
||||||
|
Reference in New Issue
Block a user