* [Buildroot] [PATCH] linux: restore DEPMOD usage
@ 2010-12-08 9:27 Mike Frysinger
2010-12-08 19:23 ` Thomas Petazzoni
2010-12-11 21:57 ` Peter Korsgaard
0 siblings, 2 replies; 3+ messages in thread
From: Mike Frysinger @ 2010-12-08 9:27 UTC (permalink / raw)
To: buildroot
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.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
---
linux/linux.mk | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/linux/linux.mk b/linux/linux.mk
index 5f89b7d..e9c37eb 100644
--- a/linux/linux.mk
+++ b/linux/linux.mk
@@ -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
--
1.7.3.3
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [Buildroot] [PATCH] linux: restore DEPMOD usage
2010-12-08 9:27 [Buildroot] [PATCH] linux: restore DEPMOD usage Mike Frysinger
@ 2010-12-08 19:23 ` Thomas Petazzoni
2010-12-11 21:57 ` Peter Korsgaard
1 sibling, 0 replies; 3+ messages in thread
From: Thomas Petazzoni @ 2010-12-08 19:23 UTC (permalink / raw)
To: buildroot
On Wed, 8 Dec 2010 04:27:06 -0500
Mike Frysinger <vapier@gentoo.org> 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_PATH since LINUX26_MAKE_FLAGS
> already contains it.
>
> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Thanks,
Thomas
--
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Buildroot] [PATCH] linux: restore DEPMOD usage
2010-12-08 9:27 [Buildroot] [PATCH] linux: restore DEPMOD usage Mike Frysinger
2010-12-08 19:23 ` Thomas Petazzoni
@ 2010-12-11 21:57 ` Peter Korsgaard
1 sibling, 0 replies; 3+ messages in thread
From: Peter Korsgaard @ 2010-12-11 21:57 UTC (permalink / raw)
To: buildroot
>>>>> "Mike" == Mike Frysinger <vapier@gentoo.org> 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.
--
Bye, Peter Korsgaard
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2010-12-11 21:57 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-12-08 9:27 [Buildroot] [PATCH] linux: restore DEPMOD usage Mike Frysinger
2010-12-08 19:23 ` Thomas Petazzoni
2010-12-11 21:57 ` Peter Korsgaard
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox