linux: use the depmod built in HOST_DIR

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
This commit is contained in:
Thomas Petazzoni 2012-01-31 20:39:59 +01:00 committed by Peter Korsgaard
parent f3967173cc
commit 5ba5301cdc

View File

@ -40,7 +40,8 @@ LINUX_MAKE_FLAGS = \
ARCH=$(KERNEL_ARCH) \
INSTALL_MOD_PATH=$(TARGET_DIR) \
CROSS_COMPILE="$(CCACHE) $(TARGET_CROSS)" \
LZMA="$(LZMA)"
LZMA="$(LZMA)" \
DEPMOD=$(HOST_DIR)/usr/sbin/depmod
# Get the real Linux version, which tells us where kernel modules are
# going to be installed in the target filesystem.