aboutsummaryrefslogtreecommitdiff
path: root/linux
diff options
context:
space:
mode:
authorGravatar Peter Korsgaard <jacmet@sunsite.dk>2013-09-11 13:21:53 +0200
committerGravatar Peter Korsgaard <jacmet@sunsite.dk>2013-09-11 13:21:53 +0200
commit3f817237fdc66f9484a65df7631b48d4103578e0 (patch)
tree8c3774cf1776ea5d68ed59c7ecaeea2b67166761 /linux
parentbe7f613b90b01cdad0e1348ead3d70f72cbcbab2 (diff)
downloadbuildroot-3f817237fdc66f9484a65df7631b48d4103578e0.tar.gz
buildroot-3f817237fdc66f9484a65df7631b48d4103578e0.tar.bz2
linux.mk: target-install: drop extra (invalid) DEPMOD parameter
DEPMOD is already specified in LINUX_MAKE_FLAGS, and is no longer located in HOST_DIR/usr/sbin after the move to host-kmod, so drop it from here. Reported-by: Ryan Coe <bluemrp9@gmail.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'linux')
-rw-r--r--linux/linux.mk3
1 files changed, 1 insertions, 2 deletions
diff --git a/linux/linux.mk b/linux/linux.mk
index 649d06b6d3..901ce25c7c 100644
--- a/linux/linux.mk
+++ b/linux/linux.mk
@@ -273,8 +273,7 @@ define LINUX_INSTALL_TARGET_CMDS
# Install modules and remove symbolic links pointing to build
# directories, not relevant on the target
@if grep -q "CONFIG_MODULES=y" $(@D)/.config; then \
- $(TARGET_MAKE_ENV) $(MAKE1) $(LINUX_MAKE_FLAGS) -C $(@D) \
- DEPMOD="$(HOST_DIR)/usr/sbin/depmod" modules_install ; \
+ $(TARGET_MAKE_ENV) $(MAKE1) $(LINUX_MAKE_FLAGS) -C $(@D) modules_install; \
rm -f $(TARGET_DIR)/lib/modules/$(LINUX_VERSION_PROBED)/build ; \
rm -f $(TARGET_DIR)/lib/modules/$(LINUX_VERSION_PROBED)/source ; \
fi