diff --git a/docker/Dockerfile b/docker/Dockerfile index 02308a2..b733a83 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -35,3 +35,4 @@ RUN apt-get install -y git RUN apt-get install -y g++-multilib RUN apt-get install -y cmake RUN apt-get install -y file +RUN apt-get install -y kmod diff --git a/rules/linux/default.bash b/rules/linux/default.bash index 1762bf8..99e6c12 100644 --- a/rules/linux/default.bash +++ b/rules/linux/default.bash @@ -128,14 +128,12 @@ build() $cmd_make \ CROSS_COMPILE=$cfg_target_canonical- \ ARCH=$cfg_target_linux \ - DEPMOD="$cfg_dir_toolchain/sbin/depmod" \ modules || return 1 if [ "$(basename $cfg_target_linux_kernel)" = 'uImage' ]; then $cmd_make \ CROSS_COMPILE=$cfg_target_canonical- \ ARCH=$cfg_target_linux \ - DEPMOD="$cfg_dir_toolchain/sbin/depmod" \ uImage || return 1 fi @@ -144,7 +142,6 @@ build() $cmd_make \ CROSS_COMPILE=$cfg_target_canonical- \ ARCH=$cfg_target_linux \ - DEPMOD="$cfg_dir_toolchain/sbin/depmod" \ zImage || return 1 fi @@ -153,7 +150,6 @@ build() $cmd_make \ CROSS_COMPILE=$cfg_target_canonical- \ ARCH=$cfg_target_linux \ - DEPMOD="$cfg_dir_toolchain/sbin/depmod" \ dtbs || return 1 fi @@ -198,7 +194,6 @@ target_install() ARCH="$cfg_target_linux" \ INSTALL_MOD_PATH="$cfg_dir_rootfs/usr" \ KBUILD_VERBOSE=1 \ - DEPMOD="$cfg_dir_toolchain/sbin/depmod" \ modules_install $cmd_make \ @@ -206,6 +201,5 @@ target_install() ARCH="$cfg_target_linux" \ INSTALL_MOD_PATH="$cfg_dir_rootfs/usr" \ KBUILD_VERBOSE=1 \ - DEPMOD="$cfg_dir_toolchain/sbin/depmod" \ firmware_install } diff --git a/rules/linux/v3_14.bash b/rules/linux/v3_14.bash index e39497c..85efd9b 100644 --- a/rules/linux/v3_14.bash +++ b/rules/linux/v3_14.bash @@ -129,14 +129,12 @@ build() $cmd_make \ CROSS_COMPILE=$cfg_target_canonical- \ ARCH=$cfg_target_linux \ - DEPMOD="$cfg_dir_toolchain/sbin/depmod" \ modules || return 1 if [ "$(basename $cfg_target_linux_kernel)" = 'uImage' ]; then $cmd_make \ CROSS_COMPILE=$cfg_target_canonical- \ ARCH=$cfg_target_linux \ - DEPMOD="$cfg_dir_toolchain/sbin/depmod" \ uImage || return 1 fi @@ -145,7 +143,6 @@ build() $cmd_make \ CROSS_COMPILE=$cfg_target_canonical- \ ARCH=$cfg_target_linux \ - DEPMOD="$cfg_dir_toolchain/sbin/depmod" \ zImage || return 1 fi @@ -154,7 +151,6 @@ build() $cmd_make \ CROSS_COMPILE=$cfg_target_canonical- \ ARCH=$cfg_target_linux \ - DEPMOD="$cfg_dir_toolchain/sbin/depmod" \ dtbs || return 1 fi @@ -199,7 +195,6 @@ target_install() ARCH="$cfg_target_linux" \ INSTALL_MOD_PATH="$cfg_dir_rootfs/usr" \ KBUILD_VERBOSE=1 \ - DEPMOD="$cfg_dir_toolchain/sbin/depmod" \ modules_install $cmd_make \ @@ -207,6 +202,5 @@ target_install() ARCH="$cfg_target_linux" \ INSTALL_MOD_PATH="$cfg_dir_rootfs/usr" \ KBUILD_VERBOSE=1 \ - DEPMOD="$cfg_dir_toolchain/sbin/depmod" \ firmware_install }