mirror of
https://git.yoctoproject.org/poky
synced 2026-06-02 01:19:52 +00:00
kmod: upgrade to 20
The following patches are rebased. -- Change-to-calling-bswap_-instead-of-htobe-and-be-toh.patch -- avoid_parallel_tests.patch The ptest part of kmod is removed because new version of kmod port all tests to use modules from module-playground instead of copying prebuilt modules to the repository. So, we cannot use ptest as before. Remove it so that kmod can build successfully. (From OE-Core rev: f80d136bdd578468035a88125fa1b84973fd912b) Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
@@ -33,27 +33,12 @@ do_install_append () {
|
||||
|
||||
# install depmod.d file for search/ dir
|
||||
install -Dm644 "${WORKDIR}/depmod-search.conf" "${D}${base_libdir}/depmod.d/search.conf"
|
||||
|
||||
if ${@base_contains('DISTRO_FEATURES', 'ptest', 'true', 'false', d)}; then
|
||||
find testsuite -name *.ko -exec tar rf testmodule.tar {} \;
|
||||
find testsuite -name *.ko -exec rm -f {} \;
|
||||
fi
|
||||
}
|
||||
|
||||
do_compile_prepend() {
|
||||
sed -i 's/ac_pwd=/#ac_pwd=/' config.status ; sed -i "/#ac_pwd=/a\ac_pwd='.'" config.status
|
||||
}
|
||||
|
||||
do_compile_ptest () {
|
||||
oe_runmake buildtest-TESTS rootfs
|
||||
}
|
||||
|
||||
do_install_ptest () {
|
||||
install testmodule.tar ${D}${PTEST_PATH}
|
||||
}
|
||||
|
||||
INSANE_SKIP_${PN}-ptest = "arch"
|
||||
|
||||
inherit update-alternatives
|
||||
|
||||
ALTERNATIVE_PRIORITY = "60"
|
||||
|
||||
Reference in New Issue
Block a user