1
0
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:
Chen Qi
2015-04-13 09:55:04 +08:00
committed by Richard Purdie
parent 710b01e01e
commit 7ad628e0ef
5 changed files with 57 additions and 40 deletions
-15
View File
@@ -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"