linux: use system kmod.
This commit is contained in:
parent
bbbd691fb3
commit
a8a131e19c
@ -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
|
||||
}
|
||||
|
@ -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
|
||||
}
|
||||
|
Reference in New Issue
Block a user