diff options
author | Tudor Florea <tudor.florea@enea.com> | 2013-10-01 22:54:40 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-10-07 09:37:31 +0100 |
commit | 17b5f2f16256c9e8c551416a8b7211e44dfa5e91 (patch) | |
tree | 0d3086c6148de85a731e69e70ab5f35c308b2ffe /meta/recipes-kernel/kmod/kmod_git.bb | |
parent | 56ea7aca3e6b4a0db3f699cc0d775d267b36e164 (diff) | |
download | poky-17b5f2f16256c9e8c551416a8b7211e44dfa5e91.tar.gz |
kmod: ptest fixes
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.
(From OE-Core rev: 61cb45869caaed6578a217effaa72d247395d078)
Signed-off-by: Tudor Florea <tudor.florea@enea.com>
Signed-off-by: Björn Stenberg <bjst@enea.com>
Signed-off-by: Maxin B. John <maxin.john@enea.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-kernel/kmod/kmod_git.bb')
-rw-r--r-- | meta/recipes-kernel/kmod/kmod_git.bb | 6 |
1 files changed, 4 insertions, 2 deletions
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() { | |||
41 | } | 41 | } |
42 | 42 | ||
43 | do_compile_ptest () { | 43 | do_compile_ptest () { |
44 | oe_runmake buildtest-TESTS | 44 | oe_runmake buildtest-TESTS rootfs |
45 | oe_runmake rootfs | ||
46 | } | 45 | } |
47 | 46 | ||
47 | INHIBIT_PACKAGE_STRIP = "${@base_contains("DISTRO_FEATURES", "ptest", "1", "0", d)}" | ||
48 | INSANE_SKIP_${PN}-ptest = "arch" | ||
49 | |||
48 | inherit update-alternatives | 50 | inherit update-alternatives |
49 | 51 | ||
50 | ALTERNATIVE_PRIORITY = "60" | 52 | ALTERNATIVE_PRIORITY = "60" |