diff options
| author | Martin Jansa <Martin.Jansa@gmail.com> | 2021-07-29 17:04:53 +0200 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2021-08-03 10:21:25 -0700 |
| commit | c61dc077bbd81260e4f167fa2251643ba0ba6974 (patch) | |
| tree | 66c3243f8f64ae60f66f70a16e8128c247254a65 /meta-oe/recipes-kernel/kernel-selftest | |
| parent | c5f7cfb8db54cfa4257797db5bd87828dea43296 (diff) | |
| download | meta-openembedded-c61dc077bbd81260e4f167fa2251643ba0ba6974.tar.gz | |
Convert to new override syntax
This is the result of automated script (0.9.1) conversion:
oe-core/scripts/contrib/convert-overrides.py .
converting the metadata to use ":" as the override character instead of "_".
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-oe/recipes-kernel/kernel-selftest')
| -rw-r--r-- | meta-oe/recipes-kernel/kernel-selftest/kernel-selftest.bb | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/meta-oe/recipes-kernel/kernel-selftest/kernel-selftest.bb b/meta-oe/recipes-kernel/kernel-selftest/kernel-selftest.bb index 11cf935c73..d0f246b934 100644 --- a/meta-oe/recipes-kernel/kernel-selftest/kernel-selftest.bb +++ b/meta-oe/recipes-kernel/kernel-selftest/kernel-selftest.bb | |||
| @@ -7,7 +7,7 @@ LIC_FILES_CHKSUM = "file://../COPYING;md5=bbea815ee2795b2f4230826c0c6b8814" | |||
| 7 | DEPENDS = "rsync-native llvm-native" | 7 | DEPENDS = "rsync-native llvm-native" |
| 8 | 8 | ||
| 9 | # for musl libc | 9 | # for musl libc |
| 10 | SRC_URI_append_libc-musl = "\ | 10 | SRC_URI:append:libc-musl = "\ |
| 11 | file://userfaultfd.patch \ | 11 | file://userfaultfd.patch \ |
| 12 | " | 12 | " |
| 13 | SRC_URI += "file://run-ptest \ | 13 | SRC_URI += "file://run-ptest \ |
| @@ -19,17 +19,17 @@ SRC_URI += "file://run-ptest \ | |||
| 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 |
| 21 | PACKAGECONFIG ??= "firmware" | 21 | PACKAGECONFIG ??= "firmware" |
| 22 | PACKAGECONFIG_remove_x86 = "bpf" | 22 | PACKAGECONFIG:remove:x86 = "bpf" |
| 23 | PACKAGECONFIG_remove_arm = "bpf vm" | 23 | PACKAGECONFIG:remove:arm = "bpf vm" |
| 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 |
| 25 | # progs/loop1.c:21:9: error: incomplete definition of type 'struct user_pt_regs' | 25 | # progs/loop1.c:21:9: error: incomplete definition of type 'struct user_pt_regs' |
| 26 | # m = PT_REGS_RC(ctx); | 26 | # m = PT_REGS_RC(ctx); |
| 27 | # vm tests need libhugetlbfs starting 5.8+ (https://lkml.org/lkml/2020/4/22/1654) | 27 | # vm tests need libhugetlbfs starting 5.8+ (https://lkml.org/lkml/2020/4/22/1654) |
| 28 | PACKAGECONFIG_remove_qemumips = "bpf vm" | 28 | PACKAGECONFIG:remove:qemumips = "bpf vm" |
| 29 | 29 | ||
| 30 | # riscv does not support libhugetlbfs yet | 30 | # riscv does not support libhugetlbfs yet |
| 31 | PACKAGECONFIG_remove_riscv64 = "vm" | 31 | PACKAGECONFIG:remove:riscv64 = "vm" |
| 32 | PACKAGECONFIG_remove_riscv32 = "vm" | 32 | PACKAGECONFIG:remove:riscv32 = "vm" |
| 33 | 33 | ||
| 34 | PACKAGECONFIG[bpf] = ",,elfutils libcap libcap-ng rsync-native," | 34 | PACKAGECONFIG[bpf] = ",,elfutils libcap libcap-ng rsync-native," |
| 35 | PACKAGECONFIG[firmware] = ",,libcap, bash" | 35 | PACKAGECONFIG[firmware] = ",,libcap, bash" |
| @@ -125,14 +125,14 @@ remove_unrelated() { | |||
| 125 | PACKAGE_ARCH = "${MACHINE_ARCH}" | 125 | PACKAGE_ARCH = "${MACHINE_ARCH}" |
| 126 | 126 | ||
| 127 | INHIBIT_PACKAGE_DEBUG_SPLIT="1" | 127 | INHIBIT_PACKAGE_DEBUG_SPLIT="1" |
| 128 | FILES_${PN} += "/usr/kernel-selftest" | 128 | FILES:${PN} += "/usr/kernel-selftest" |
| 129 | 129 | ||
| 130 | RDEPENDS_${PN} += "python3" | 130 | RDEPENDS:${PN} += "python3" |
| 131 | # tools/testing/selftests/vm/Makefile doesn't respect LDFLAGS and tools/testing/selftests/Makefile explicitly overrides to empty | 131 | # tools/testing/selftests/vm/Makefile doesn't respect LDFLAGS and tools/testing/selftests/Makefile explicitly overrides to empty |
| 132 | INSANE_SKIP_${PN} += "ldflags" | 132 | INSANE_SKIP:${PN} += "ldflags" |
| 133 | 133 | ||
| 134 | SECURITY_CFLAGS = "" | 134 | SECURITY_CFLAGS = "" |
| 135 | COMPATIBLE_HOST_libc-musl = 'null' | 135 | COMPATIBLE_HOST:libc-musl = 'null' |
| 136 | 136 | ||
| 137 | # It has native clang/llvm dependency, poky distro is reluctant to include them as deps | 137 | # It has native clang/llvm dependency, poky distro is reluctant to include them as deps |
| 138 | # this helps with world builds on AB | 138 | # this helps with world builds on AB |
