浏览代码

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>
Thomas Petazzoni 13 年之前
父节点
当前提交
5ba5301cdc
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. 2 1
      linux/linux.mk

+ 2 - 1
linux/linux.mk

@@ -40,7 +40,8 @@ LINUX_MAKE_FLAGS = \
 	ARCH=$(KERNEL_ARCH) \
 	ARCH=$(KERNEL_ARCH) \
 	INSTALL_MOD_PATH=$(TARGET_DIR) \
 	INSTALL_MOD_PATH=$(TARGET_DIR) \
 	CROSS_COMPILE="$(CCACHE) $(TARGET_CROSS)" \
 	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
 # Get the real Linux version, which tells us where kernel modules are
 # going to be installed in the target filesystem.
 # going to be installed in the target filesystem.