From 61cb45869caaed6578a217effaa72d247395d078 Mon Sep 17 00:00:00 2001 From: Tudor Florea Date: Tue, 1 Oct 2013 22:54:40 +0000 Subject: kmod: ptest fixes MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Make kmod-ptest able to compile with separated source and build dir. Since kmod test files contain kernel modules for many different architectures, strip and arch gets confused and throws errors. Signed-off-by: Tudor Florea Signed-off-by: Björn Stenberg Signed-off-by: Maxin B. John Signed-off-by: Saul Wold Signed-off-by: Richard Purdie --- meta/recipes-kernel/kmod/kmod_git.bb | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'meta/recipes-kernel/kmod/kmod_git.bb') diff --git a/meta/recipes-kernel/kmod/kmod_git.bb b/meta/recipes-kernel/kmod/kmod_git.bb index b07c06e7b4..ebecbcc82e 100644 --- a/meta/recipes-kernel/kmod/kmod_git.bb +++ b/meta/recipes-kernel/kmod/kmod_git.bb @@ -41,10 +41,12 @@ do_compile_prepend() { } do_compile_ptest () { - oe_runmake buildtest-TESTS - oe_runmake rootfs + oe_runmake buildtest-TESTS rootfs } +INHIBIT_PACKAGE_STRIP = "${@base_contains("DISTRO_FEATURES", "ptest", "1", "0", d)}" +INSANE_SKIP_${PN}-ptest = "arch" + inherit update-alternatives ALTERNATIVE_PRIORITY = "60" -- cgit v1.2.3