mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-07-17 04:37:19 +00:00
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>
This commit is contained in:
@@ -7,7 +7,7 @@ LIC_FILES_CHKSUM = "file://../COPYING;md5=bbea815ee2795b2f4230826c0c6b8814"
|
||||
DEPENDS = "rsync-native llvm-native"
|
||||
|
||||
# for musl libc
|
||||
SRC_URI_append_libc-musl = "\
|
||||
SRC_URI:append:libc-musl = "\
|
||||
file://userfaultfd.patch \
|
||||
"
|
||||
SRC_URI += "file://run-ptest \
|
||||
@@ -19,17 +19,17 @@ SRC_URI += "file://run-ptest \
|
||||
# bpf was added in 4.10 with: https://github.com/torvalds/linux/commit/5aa5bd14c5f8660c64ceedf14a549781be47e53d
|
||||
# if you have older kernel than that you need to remove it from PACKAGECONFIG
|
||||
PACKAGECONFIG ??= "firmware"
|
||||
PACKAGECONFIG_remove_x86 = "bpf"
|
||||
PACKAGECONFIG_remove_arm = "bpf vm"
|
||||
PACKAGECONFIG:remove:x86 = "bpf"
|
||||
PACKAGECONFIG:remove:arm = "bpf vm"
|
||||
# host ptrace.h is used to compile BPF target but mips ptrace.h is needed
|
||||
# progs/loop1.c:21:9: error: incomplete definition of type 'struct user_pt_regs'
|
||||
# m = PT_REGS_RC(ctx);
|
||||
# vm tests need libhugetlbfs starting 5.8+ (https://lkml.org/lkml/2020/4/22/1654)
|
||||
PACKAGECONFIG_remove_qemumips = "bpf vm"
|
||||
PACKAGECONFIG:remove:qemumips = "bpf vm"
|
||||
|
||||
# riscv does not support libhugetlbfs yet
|
||||
PACKAGECONFIG_remove_riscv64 = "vm"
|
||||
PACKAGECONFIG_remove_riscv32 = "vm"
|
||||
PACKAGECONFIG:remove:riscv64 = "vm"
|
||||
PACKAGECONFIG:remove:riscv32 = "vm"
|
||||
|
||||
PACKAGECONFIG[bpf] = ",,elfutils libcap libcap-ng rsync-native,"
|
||||
PACKAGECONFIG[firmware] = ",,libcap, bash"
|
||||
@@ -125,14 +125,14 @@ remove_unrelated() {
|
||||
PACKAGE_ARCH = "${MACHINE_ARCH}"
|
||||
|
||||
INHIBIT_PACKAGE_DEBUG_SPLIT="1"
|
||||
FILES_${PN} += "/usr/kernel-selftest"
|
||||
FILES:${PN} += "/usr/kernel-selftest"
|
||||
|
||||
RDEPENDS_${PN} += "python3"
|
||||
RDEPENDS:${PN} += "python3"
|
||||
# tools/testing/selftests/vm/Makefile doesn't respect LDFLAGS and tools/testing/selftests/Makefile explicitly overrides to empty
|
||||
INSANE_SKIP_${PN} += "ldflags"
|
||||
INSANE_SKIP:${PN} += "ldflags"
|
||||
|
||||
SECURITY_CFLAGS = ""
|
||||
COMPATIBLE_HOST_libc-musl = 'null'
|
||||
COMPATIBLE_HOST:libc-musl = 'null'
|
||||
|
||||
# It has native clang/llvm dependency, poky distro is reluctant to include them as deps
|
||||
# this helps with world builds on AB
|
||||
|
||||
Reference in New Issue
Block a user