summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScott Branden <scott.branden@broadcom.com>2020-03-31 20:33:52 -0700
committerKhem Raj <raj.khem@gmail.com>2020-03-31 21:32:50 -0700
commita3df40b1ba8e086700f63c63f353f69a673d501c (patch)
tree3ef435bb316eb31e949b1b57bc21aefb9798ce42
parent10f72cb1f8a2874daa793ad25cdac46b7e99d698 (diff)
downloadmeta-openembedded-a3df40b1ba8e086700f63c63f353f69a673d501c.tar.gz
kernel-selftest: add firmware tests
Add firmware tests to kernel-selftest. Signed-off-by: Scott Branden <scott.branden@broadcom.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r--meta-oe/recipes-kernel/kernel-selftest/kernel-selftest.bb5
1 files changed, 3 insertions, 2 deletions
diff --git a/meta-oe/recipes-kernel/kernel-selftest/kernel-selftest.bb b/meta-oe/recipes-kernel/kernel-selftest/kernel-selftest.bb
index 299c1f28e5..172767b9a6 100644
--- a/meta-oe/recipes-kernel/kernel-selftest/kernel-selftest.bb
+++ b/meta-oe/recipes-kernel/kernel-selftest/kernel-selftest.bb
@@ -18,7 +18,7 @@ SRC_URI += "file://run-ptest \
18# we will append other kernel selftest in the future 18# we will append other kernel selftest in the future
19# bpf was added in 4.10 with: https://github.com/torvalds/linux/commit/5aa5bd14c5f8660c64ceedf14a549781be47e53d 19# bpf was added in 4.10 with: https://github.com/torvalds/linux/commit/5aa5bd14c5f8660c64ceedf14a549781be47e53d
20# if you have older kernel than that you need to remove it from PACKAGECONFIG 20# if you have older kernel than that you need to remove it from PACKAGECONFIG
21PACKAGECONFIG ??= "bpf vm" 21PACKAGECONFIG ??= "bpf firmware vm"
22PACKAGECONFIG_remove_x86 = "bpf" 22PACKAGECONFIG_remove_x86 = "bpf"
23PACKAGECONFIG_remove_arm = "bpf" 23PACKAGECONFIG_remove_arm = "bpf"
24# host ptrace.h is used to compile BPF target but mips ptrace.h is needed 24# host ptrace.h is used to compile BPF target but mips ptrace.h is needed
@@ -27,6 +27,7 @@ PACKAGECONFIG_remove_arm = "bpf"
27PACKAGECONFIG_remove_qemumips = "bpf" 27PACKAGECONFIG_remove_qemumips = "bpf"
28 28
29PACKAGECONFIG[bpf] = ",,elfutils libcap libcap-ng rsync-native," 29PACKAGECONFIG[bpf] = ",,elfutils libcap libcap-ng rsync-native,"
30PACKAGECONFIG[firmware] = ",,libcap, bash"
30PACKAGECONFIG[vm] = ",,libcap,libgcc bash" 31PACKAGECONFIG[vm] = ",,libcap,libgcc bash"
31 32
32do_patch[depends] += "virtual/kernel:do_shared_workdir" 33do_patch[depends] += "virtual/kernel:do_shared_workdir"
@@ -36,7 +37,7 @@ inherit linux-kernel-base kernel-arch ptest
36S = "${WORKDIR}/${BP}" 37S = "${WORKDIR}/${BP}"
37 38
38TEST_LIST = "\ 39TEST_LIST = "\
39 ${@bb.utils.filter('PACKAGECONFIG', 'bpf vm', d)} \ 40 ${@bb.utils.filter('PACKAGECONFIG', 'bpf firmware vm', d)} \
40 rtc \ 41 rtc \
41" 42"
42 43