aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Yann E. MORIN <yann.morin.1998@free.fr>2018-04-08 10:11:51 +0200
committerGravatar Thomas Petazzoni <thomas.petazzoni@bootlin.com>2018-04-09 11:18:29 +0200
commitdac25351e6453b35ded611ff367b95bb4b10a9cf (patch)
tree270fa86c460041c8d24e3740478fad6e5ba8aa64
parent9269d9984ad39e1b2e47b506bb70e68abd89ed5a (diff)
downloadbuildroot-dac25351e6453b35ded611ff367b95bb4b10a9cf.tar.gz
buildroot-dac25351e6453b35ded611ff367b95bb4b10a9cf.tar.bz2
package/kmod: fix host install
The host directory no longer uses /usr. This currently works because we still have the legacy /usr symlink, but for correctness it is better that we just fix it. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Cc: Yegor Yefremov <yegorslists@googlemail.com> Cc: Arnout Vandecappelle <arnout@mind.be> Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com> Cc: Peter Korsgaard <peter@korsgaard.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
-rw-r--r--package/kmod/kmod.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/kmod/kmod.mk b/package/kmod/kmod.mk
index bd676108aa..e1149b7b65 100644
--- a/package/kmod/kmod.mk
+++ b/package/kmod/kmod.mk
@@ -74,7 +74,7 @@ endif
# host.
define HOST_KMOD_INSTALL_TOOLS
mkdir -p $(HOST_DIR)/sbin/
- ln -sf ../usr/bin/kmod $(HOST_DIR)/sbin/depmod
+ ln -sf ../bin/kmod $(HOST_DIR)/sbin/depmod
endef
HOST_KMOD_POST_INSTALL_HOOKS += HOST_KMOD_INSTALL_TOOLS