aboutsummaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-kernel
diff options
context:
space:
mode:
authorMartin Jansa <martin.jansa@gmail.com>2018-08-18 11:32:26 +0000
committerKhem Raj <raj.khem@gmail.com>2018-08-19 16:09:28 -0700
commit0d614c4220d29da14eba7fccbb21fa6b53d63fec (patch)
treeeab99758c96be3a0084acd3b462e6771c85b67ce /meta-oe/recipes-kernel
parent49b9003bf9ffb687cb83adf8a9ca05dabe5c24a9 (diff)
downloadmeta-openembedded-contrib-0d614c4220d29da14eba7fccbb21fa6b53d63fec.tar.gz
meta-openembedded-contrib-0d614c4220d29da14eba7fccbb21fa6b53d63fec.tar.bz2
meta-openembedded-contrib-0d614c4220d29da14eba7fccbb21fa6b53d63fec.zip
kernel-selftest: add dependency on libcap
* vm selftest uses it as well: i586-webos-linux-gcc -m32 -march=i586 -fstack-protector-strong -Wformat -Wformat-security -Werror=format-security --sysroot=kernel-selftest/1.0-r0/recipe-sysroot -Wall -I ../../../../usr/include -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -fstack-protector-strong -Wl,-z,relro,-z,now mlock-random-test.c -lrt -lcap -o kernel-selftest/1.0-r0/kernel-selftest-1.0/tools/testing/selftests/vm/mlock-random-test mlock-random-test.c:8:10: fatal error: sys/capability.h: No such file or directory #include <sys/capability.h> ^~~~~~~~~~~~~~~~~~ compilation terminated. Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-oe/recipes-kernel')
-rw-r--r--meta-oe/recipes-kernel/kernel-selftest/kernel-selftest.bb2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta-oe/recipes-kernel/kernel-selftest/kernel-selftest.bb b/meta-oe/recipes-kernel/kernel-selftest/kernel-selftest.bb
index f407d077ba..0d0aa6c5df 100644
--- a/meta-oe/recipes-kernel/kernel-selftest/kernel-selftest.bb
+++ b/meta-oe/recipes-kernel/kernel-selftest/kernel-selftest.bb
@@ -20,7 +20,7 @@ SRC_URI += "file://run-ptest \
PACKAGECONFIG ??= "bpf vm"
PACKAGECONFIG[bpf] = ",,elfutils libcap libcap-ng rsync-native,"
-PACKAGECONFIG[vm] = ",,,libgcc bash"
+PACKAGECONFIG[vm] = ",,libcap,libgcc bash"
do_patch[depends] += "virtual/kernel:do_shared_workdir"