linux: restore DEPMOD usage
PATCH 1/1 linux: restore DEPMOD usage
The linux.mk rewrite lost the DEPMOD setting while installing modules which means depending on host-module-init-tools has been useless. Instead, the build system has been executing /sbin/depmod.
While we're here, drop the INSTALL_MOD_PATH since LINUX26_MAKE_FLAGS already contains it.
--- linux/linux.mk | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
linux/linux.mk +1 -1
@@ -132,7 +132,7 @@ $(LINUX26_DIR)/.stamp_installed: $(LINUX26_DIR)/.stamp_compiled # directories, not relevant on the target @if [ $(shell grep -c "CONFIG_MODULES=y" $(LINUX26_DIR)/.config) != 0 ] ; then \ $(TARGET_MAKE_ENV) $(MAKE1) $(LINUX26_MAKE_FLAGS) -C $(@D) \ - INSTALL_MOD_PATH=$(TARGET_DIR) modules_install ; \ + DEPMOD="$(HOST_DIR)/usr/sbin/depmod" modules_install ; \ rm -f $(TARGET_DIR)/lib/modules/$(LINUX26_VERSION_PROBED)/build ; \ rm -f $(TARGET_DIR)/lib/modules/$(LINUX26_VERSION_PROBED)/source ; \ fi
Signature · 1 line
1.7.3.3
PATCH 1/1 linux: restore DEPMOD usage
Quoted 8 lines · On Wed, 8 Dec 2010 04:27:06 -0500 Mike Frysinger <[email protected]> wrote:
The linux.mk rewrite lost the DEPMOD setting while installing modules which means depending on host-module-init-tools has been useless. Instead, the build system has been executing
/sbin/depmod.While we're here, drop the
INSTALL_MOD_PATHsinceLINUX26_MAKE_FLAGSalready contains it.Signed-off-by Mike Frysinger <[email protected]>
Thanks,
Thomas
Signature · 4 lines
Thomas Petazzoni, Free Electrons Kernel, drivers, real-time and embedded Linux development, consulting, training and support. http://free-electrons.com
PATCH 1/1 linux: restore DEPMOD usage
In reply to Mike FrysingerQuoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Mike" == Mike Frysinger <[email protected]> writes:
Mike> The linux.mk rewrite lost the DEPMOD setting while installing modules Mike> which means depending on host-module-init-tools has been useless. Mike> Instead, the build system has been executing /sbin/depmod.
Mike> While we're here, drop the INSTALL_MOD_PATH since LINUX26_MAKE_FLAGS Mike> already contains it.
Committed, thanks.
Signature · 1 line
Bye, Peter Korsgaard