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 | |
| 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')
16 files changed, 90 insertions, 90 deletions
diff --git a/meta-oe/recipes-kernel/bpftool/bpftool.bb b/meta-oe/recipes-kernel/bpftool/bpftool.bb index f0696db59b..76a749644b 100644 --- a/meta-oe/recipes-kernel/bpftool/bpftool.bb +++ b/meta-oe/recipes-kernel/bpftool/bpftool.bb | |||
| @@ -25,7 +25,7 @@ SECURITY_CFLAGS = "" | |||
| 25 | do_configure[depends] += "virtual/kernel:do_shared_workdir" | 25 | do_configure[depends] += "virtual/kernel:do_shared_workdir" |
| 26 | 26 | ||
| 27 | COMPATIBLE_HOST = "(x86_64).*-linux" | 27 | COMPATIBLE_HOST = "(x86_64).*-linux" |
| 28 | COMPATIBLE_HOST_libc-musl = 'null' | 28 | COMPATIBLE_HOST:libc-musl = 'null' |
| 29 | 29 | ||
| 30 | do_compile() { | 30 | do_compile() { |
| 31 | oe_runmake | 31 | oe_runmake |
| @@ -37,7 +37,7 @@ do_install() { | |||
| 37 | 37 | ||
| 38 | PACKAGE_ARCH = "${MACHINE_ARCH}" | 38 | PACKAGE_ARCH = "${MACHINE_ARCH}" |
| 39 | 39 | ||
| 40 | python do_package_prepend() { | 40 | python do_package:prepend() { |
| 41 | d.setVar('PKGV', d.getVar("KERNEL_VERSION").split("-")[0]) | 41 | d.setVar('PKGV', d.getVar("KERNEL_VERSION").split("-")[0]) |
| 42 | } | 42 | } |
| 43 | 43 | ||
diff --git a/meta-oe/recipes-kernel/broadcom-bt-firmware/broadcom-bt-firmware_12.0.1.1105_p2.bb b/meta-oe/recipes-kernel/broadcom-bt-firmware/broadcom-bt-firmware_12.0.1.1105_p2.bb index e861ddb723..bc00e3d326 100644 --- a/meta-oe/recipes-kernel/broadcom-bt-firmware/broadcom-bt-firmware_12.0.1.1105_p2.bb +++ b/meta-oe/recipes-kernel/broadcom-bt-firmware/broadcom-bt-firmware_12.0.1.1105_p2.bb | |||
| @@ -47,30 +47,30 @@ PACKAGES =+ " \ | |||
| 47 | ${PN}-license \ | 47 | ${PN}-license \ |
| 48 | " | 48 | " |
| 49 | 49 | ||
| 50 | RDEPENDS_${PN}-bcm20702a1 = "${PN}-license" | 50 | RDEPENDS:${PN}-bcm20702a1 = "${PN}-license" |
| 51 | RDEPENDS_${PN}-bcm20702b0 = "${PN}-license" | 51 | RDEPENDS:${PN}-bcm20702b0 = "${PN}-license" |
| 52 | RDEPENDS_${PN}-bcm20703a1 = "${PN}-license" | 52 | RDEPENDS:${PN}-bcm20703a1 = "${PN}-license" |
| 53 | RDEPENDS_${PN}-bcm43142a0 = "${PN}-license" | 53 | RDEPENDS:${PN}-bcm43142a0 = "${PN}-license" |
| 54 | RDEPENDS_${PN}-bcm4335c0 = "${PN}-license" | 54 | RDEPENDS:${PN}-bcm4335c0 = "${PN}-license" |
| 55 | RDEPENDS_${PN}-bcm4350c5 = "${PN}-license" | 55 | RDEPENDS:${PN}-bcm4350c5 = "${PN}-license" |
| 56 | RDEPENDS_${PN}-bcm4356a2 = "${PN}-license" | 56 | RDEPENDS:${PN}-bcm4356a2 = "${PN}-license" |
| 57 | RDEPENDS_${PN}-bcm4371c2 = "${PN}-license" | 57 | RDEPENDS:${PN}-bcm4371c2 = "${PN}-license" |
| 58 | 58 | ||
| 59 | FILES_${PN}-bcm20702a1 = "${nonarch_base_libdir}/firmware/brcm/BCM20702A1*hcd" | 59 | FILES:${PN}-bcm20702a1 = "${nonarch_base_libdir}/firmware/brcm/BCM20702A1*hcd" |
| 60 | FILES_${PN}-bcm20702b0 = "${nonarch_base_libdir}/firmware/brcm/BCM20702B0*hcd" | 60 | FILES:${PN}-bcm20702b0 = "${nonarch_base_libdir}/firmware/brcm/BCM20702B0*hcd" |
| 61 | FILES_${PN}-bcm20703a1 = "${nonarch_base_libdir}/firmware/brcm/BCM20703A1*hcd" | 61 | FILES:${PN}-bcm20703a1 = "${nonarch_base_libdir}/firmware/brcm/BCM20703A1*hcd" |
| 62 | FILES_${PN}-bcm43142a0 = "${nonarch_base_libdir}/firmware/brcm/BCM43142A0*hcd" | 62 | FILES:${PN}-bcm43142a0 = "${nonarch_base_libdir}/firmware/brcm/BCM43142A0*hcd" |
| 63 | FILES_${PN}-bcm4335c0 = "${nonarch_base_libdir}/firmware/brcm/BCM4335C0*hcd" | 63 | FILES:${PN}-bcm4335c0 = "${nonarch_base_libdir}/firmware/brcm/BCM4335C0*hcd" |
| 64 | FILES_${PN}-bcm4350c5 = "${nonarch_base_libdir}/firmware/brcm/BCM4350C5*hcd" | 64 | FILES:${PN}-bcm4350c5 = "${nonarch_base_libdir}/firmware/brcm/BCM4350C5*hcd" |
| 65 | FILES_${PN}-bcm4356a2 = "${nonarch_base_libdir}/firmware/brcm/BCM4356A2*hcd" | 65 | FILES:${PN}-bcm4356a2 = "${nonarch_base_libdir}/firmware/brcm/BCM4356A2*hcd" |
| 66 | FILES_${PN}-bcm4371c2 = "${nonarch_base_libdir}/firmware/brcm/BCM4371C2*hcd" | 66 | FILES:${PN}-bcm4371c2 = "${nonarch_base_libdir}/firmware/brcm/BCM4371C2*hcd" |
| 67 | FILES_${PN}-license += "${nonarch_base_libdir}/firmware/brcm/LICENSE.broadcom_bcm20702" | 67 | FILES:${PN}-license += "${nonarch_base_libdir}/firmware/brcm/LICENSE.broadcom_bcm20702" |
| 68 | 68 | ||
| 69 | FILES_${PN} += "${nonarch_base_libdir}/firmware/brcm/*" | 69 | FILES:${PN} += "${nonarch_base_libdir}/firmware/brcm/*" |
| 70 | RDEPENDS_${PN} += "${PN}-license" | 70 | RDEPENDS:${PN} += "${PN}-license" |
| 71 | 71 | ||
| 72 | # Make broadcom-bt-firmware depend on all of the split-out packages. | 72 | # Make broadcom-bt-firmware depend on all of the split-out packages. |
| 73 | python populate_packages_prepend () { | 73 | python populate_packages:prepend () { |
| 74 | firmware_pkgs = oe.utils.packages_filter_out_system(d) | 74 | firmware_pkgs = oe.utils.packages_filter_out_system(d) |
| 75 | d.appendVar('RDEPENDS_broadcom-bt-firmware', ' ' + ' '.join(firmware_pkgs)) | 75 | d.appendVar('RDEPENDS:broadcom-bt-firmware', ' ' + ' '.join(firmware_pkgs)) |
| 76 | } | 76 | } |
diff --git a/meta-oe/recipes-kernel/cpupower/cpupower.bb b/meta-oe/recipes-kernel/cpupower/cpupower.bb index cf70eb2c87..c31ccbb4a9 100644 --- a/meta-oe/recipes-kernel/cpupower/cpupower.bb +++ b/meta-oe/recipes-kernel/cpupower/cpupower.bb | |||
| @@ -26,9 +26,9 @@ do_install() { | |||
| 26 | 26 | ||
| 27 | PACKAGE_ARCH = "${MACHINE_ARCH}" | 27 | PACKAGE_ARCH = "${MACHINE_ARCH}" |
| 28 | 28 | ||
| 29 | RDEPENDS_${PN} = "bash" | 29 | RDEPENDS:${PN} = "bash" |
| 30 | 30 | ||
| 31 | python do_package_prepend() { | 31 | python do_package:prepend() { |
| 32 | d.setVar('PKGV', d.getVar("KERNEL_VERSION").split("-")[0]) | 32 | d.setVar('PKGV', d.getVar("KERNEL_VERSION").split("-")[0]) |
| 33 | } | 33 | } |
| 34 | 34 | ||
diff --git a/meta-oe/recipes-kernel/crash/crash_7.2.9.bb b/meta-oe/recipes-kernel/crash/crash_7.2.9.bb index 0b6883a49a..c2d83cb4f0 100644 --- a/meta-oe/recipes-kernel/crash/crash_7.2.9.bb +++ b/meta-oe/recipes-kernel/crash/crash_7.2.9.bb | |||
| @@ -38,13 +38,13 @@ UPSTREAM_CHECK_URI = "https://github.com/crash-utility/crash/releases" | |||
| 38 | inherit gettext | 38 | inherit gettext |
| 39 | 39 | ||
| 40 | BBCLASSEXTEND = "native cross" | 40 | BBCLASSEXTEND = "native cross" |
| 41 | TARGET_CC_ARCH_append = " ${SELECTED_OPTIMIZATION}" | 41 | TARGET_CC_ARCH:append = " ${SELECTED_OPTIMIZATION}" |
| 42 | 42 | ||
| 43 | # crash 7.1.3 and before don't support mips64/riscv64 | 43 | # crash 7.1.3 and before don't support mips64/riscv64 |
| 44 | COMPATIBLE_HOST_riscv64 = "null" | 44 | COMPATIBLE_HOST:riscv64 = "null" |
| 45 | COMPATIBLE_HOST_riscv32 = "null" | 45 | COMPATIBLE_HOST:riscv32 = "null" |
| 46 | COMPATIBLE_HOST_mipsarchn64 = "null" | 46 | COMPATIBLE_HOST:mipsarchn64 = "null" |
| 47 | COMPATIBLE_HOST_mipsarchn32 = "null" | 47 | COMPATIBLE_HOST:mipsarchn32 = "null" |
| 48 | 48 | ||
| 49 | 49 | ||
| 50 | EXTRA_OEMAKE = 'RPMPKG="${PV}" \ | 50 | EXTRA_OEMAKE = 'RPMPKG="${PV}" \ |
| @@ -54,20 +54,20 @@ EXTRA_OEMAKE = 'RPMPKG="${PV}" \ | |||
| 54 | LDFLAGS="${LDFLAGS}" \ | 54 | LDFLAGS="${LDFLAGS}" \ |
| 55 | ' | 55 | ' |
| 56 | 56 | ||
| 57 | EXTRA_OEMAKE_class-cross = 'RPMPKG="${PV}" \ | 57 | EXTRA_OEMAKE:class-cross = 'RPMPKG="${PV}" \ |
| 58 | GDB_TARGET="${BUILD_SYS} --target=${TARGET_SYS}" \ | 58 | GDB_TARGET="${BUILD_SYS} --target=${TARGET_SYS}" \ |
| 59 | GDB_HOST="${BUILD_SYS}" \ | 59 | GDB_HOST="${BUILD_SYS}" \ |
| 60 | GDB_MAKE_JOBS="${PARALLEL_MAKE}" \ | 60 | GDB_MAKE_JOBS="${PARALLEL_MAKE}" \ |
| 61 | ' | 61 | ' |
| 62 | 62 | ||
| 63 | EXTRA_OEMAKE_append_class-native = " LDFLAGS='${BUILD_LDFLAGS}'" | 63 | EXTRA_OEMAKE:append:class-native = " LDFLAGS='${BUILD_LDFLAGS}'" |
| 64 | EXTRA_OEMAKE_append_class-cross = " LDFLAGS='${BUILD_LDFLAGS}'" | 64 | EXTRA_OEMAKE:append:class-cross = " LDFLAGS='${BUILD_LDFLAGS}'" |
| 65 | 65 | ||
| 66 | do_configure() { | 66 | do_configure() { |
| 67 | : | 67 | : |
| 68 | } | 68 | } |
| 69 | 69 | ||
| 70 | do_compile_prepend() { | 70 | do_compile:prepend() { |
| 71 | case ${TARGET_ARCH} in | 71 | case ${TARGET_ARCH} in |
| 72 | aarch64*) ARCH=ARM64 ;; | 72 | aarch64*) ARCH=ARM64 ;; |
| 73 | arm*) ARCH=ARM ;; | 73 | arm*) ARCH=ARM ;; |
| @@ -87,7 +87,7 @@ do_compile() { | |||
| 87 | oe_runmake ${EXTRA_OEMAKE} RECIPE_SYSROOT=${RECIPE_SYSROOT} | 87 | oe_runmake ${EXTRA_OEMAKE} RECIPE_SYSROOT=${RECIPE_SYSROOT} |
| 88 | } | 88 | } |
| 89 | 89 | ||
| 90 | do_install_prepend () { | 90 | do_install:prepend () { |
| 91 | install -d ${D}${bindir} | 91 | install -d ${D}${bindir} |
| 92 | install -d ${D}/${mandir}/man8 | 92 | install -d ${D}/${mandir}/man8 |
| 93 | install -d ${D}${includedir}/crash | 93 | install -d ${D}${includedir}/crash |
| @@ -96,25 +96,25 @@ do_install_prepend () { | |||
| 96 | install -m 0644 ${S}/defs.h ${D}${includedir}/crash | 96 | install -m 0644 ${S}/defs.h ${D}${includedir}/crash |
| 97 | } | 97 | } |
| 98 | 98 | ||
| 99 | do_install_class-target () { | 99 | do_install:class-target () { |
| 100 | oe_runmake DESTDIR=${D} install | 100 | oe_runmake DESTDIR=${D} install |
| 101 | } | 101 | } |
| 102 | 102 | ||
| 103 | do_install_class-native () { | 103 | do_install:class-native () { |
| 104 | oe_runmake DESTDIR=${D}${STAGING_DIR_NATIVE} install | 104 | oe_runmake DESTDIR=${D}${STAGING_DIR_NATIVE} install |
| 105 | } | 105 | } |
| 106 | 106 | ||
| 107 | do_install_class-cross () { | 107 | do_install:class-cross () { |
| 108 | install -m 0755 ${S}/crash ${D}/${bindir} | 108 | install -m 0755 ${S}/crash ${D}/${bindir} |
| 109 | } | 109 | } |
| 110 | 110 | ||
| 111 | RDEPENDS_${PN} += "liblzma" | 111 | RDEPENDS:${PN} += "liblzma" |
| 112 | RDEPENDS_${PN}_class-native = "" | 112 | RDEPENDS:${PN}:class-native = "" |
| 113 | RDEPENDS_${PN}_class-cross = "" | 113 | RDEPENDS:${PN}:class-cross = "" |
| 114 | 114 | ||
| 115 | # Causes gcc to get stuck and eat all available memory in qemuarm builds | 115 | # Causes gcc to get stuck and eat all available memory in qemuarm builds |
| 116 | # jenkins 15161 100 12.5 10389596 10321284 ? R 11:40 28:17 /home/jenkins/oe/world/shr-core/tmp-glibc/sysroots/x86_64-linux/usr/libexec/arm-oe-linux-gnueabi/gcc/arm-oe-linux-gnueabi/4.9.2/cc1 -quiet -I . -I . -I ./common -I ./config -I ./../include/opcode -I ./../opcodes/.. -I ./../readline/.. -I ../bfd -I ./../bfd -I ./../include -I ../libdecnumber -I ./../libdecnumber -I ./gnulib/import -I build-gnulib/import -isysroot /home/jenkins/oe/world/shr-core/tmp-glibc/sysroots/qemuarm -MMD eval.d -MF .deps/eval.Tpo -MP -MT eval.o -D LOCALEDIR="/usr/local/share/locale" -D CRASH_MERGE -D HAVE_CONFIG_H -D TUI=1 eval.c -quiet -dumpbase eval.c -march=armv5te -mthumb -mthumb-interwork -mtls-dialect=gnu -auxbase-strip eval.o -g -O2 -Wall -Wpointer-arith -Wformat-nonliteral -Wno-pointer-sign -Wno-unused -Wunused-value -Wunused-function -Wno-switch -Wno-char-subscripts -Wmissing-prototypes -Wdeclaration-after-statement -Wempty-body -feliminate-unused-debug-types -o - | 116 | # jenkins 15161 100 12.5 10389596 10321284 ? R 11:40 28:17 /home/jenkins/oe/world/shr-core/tmp-glibc/sysroots/x86_64-linux/usr/libexec/arm-oe-linux-gnueabi/gcc/arm-oe-linux-gnueabi/4.9.2/cc1 -quiet -I . -I . -I ./common -I ./config -I ./../include/opcode -I ./../opcodes/.. -I ./../readline/.. -I ../bfd -I ./../bfd -I ./../include -I ../libdecnumber -I ./../libdecnumber -I ./gnulib/import -I build-gnulib/import -isysroot /home/jenkins/oe/world/shr-core/tmp-glibc/sysroots/qemuarm -MMD eval.d -MF .deps/eval.Tpo -MP -MT eval.o -D LOCALEDIR="/usr/local/share/locale" -D CRASH_MERGE -D HAVE_CONFIG_H -D TUI=1 eval.c -quiet -dumpbase eval.c -march=armv5te -mthumb -mthumb-interwork -mtls-dialect=gnu -auxbase-strip eval.o -g -O2 -Wall -Wpointer-arith -Wformat-nonliteral -Wno-pointer-sign -Wno-unused -Wunused-value -Wunused-function -Wno-switch -Wno-char-subscripts -Wmissing-prototypes -Wdeclaration-after-statement -Wempty-body -feliminate-unused-debug-types -o - |
| 117 | ARM_INSTRUCTION_SET = "arm" | 117 | ARM_INSTRUCTION_SET = "arm" |
| 118 | 118 | ||
| 119 | # http://errors.yoctoproject.org/Errors/Details/186964/ | 119 | # http://errors.yoctoproject.org/Errors/Details/186964/ |
| 120 | COMPATIBLE_HOST_libc-musl = 'null' | 120 | COMPATIBLE_HOST:libc-musl = 'null' |
diff --git a/meta-oe/recipes-kernel/intel-speed-select/intel-speed-select.bb b/meta-oe/recipes-kernel/intel-speed-select/intel-speed-select.bb index 53f6de1068..109a46c4dd 100644 --- a/meta-oe/recipes-kernel/intel-speed-select/intel-speed-select.bb +++ b/meta-oe/recipes-kernel/intel-speed-select/intel-speed-select.bb | |||
| @@ -9,7 +9,7 @@ LICENSE = "GPLv2" | |||
| 9 | inherit kernelsrc | 9 | inherit kernelsrc |
| 10 | 10 | ||
| 11 | COMPATIBLE_HOST = '(x86_64|i.86).*-linux' | 11 | COMPATIBLE_HOST = '(x86_64|i.86).*-linux' |
| 12 | COMPATIBLE_HOST_libc-musl = 'null' | 12 | COMPATIBLE_HOST:libc-musl = 'null' |
| 13 | 13 | ||
| 14 | do_populate_lic[depends] += "virtual/kernel:do_patch" | 14 | do_populate_lic[depends] += "virtual/kernel:do_patch" |
| 15 | 15 | ||
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 |
diff --git a/meta-oe/recipes-kernel/kpatch/kpatch.inc b/meta-oe/recipes-kernel/kpatch/kpatch.inc index 1f70f72054..9e626179f5 100644 --- a/meta-oe/recipes-kernel/kpatch/kpatch.inc +++ b/meta-oe/recipes-kernel/kpatch/kpatch.inc | |||
| @@ -32,22 +32,22 @@ PACKAGES =+ "kpatch-build" | |||
| 32 | PROVIDES += "kpatch-build" | 32 | PROVIDES += "kpatch-build" |
| 33 | 33 | ||
| 34 | COMPATIBLE_HOST = "(x86_64).*-linux" | 34 | COMPATIBLE_HOST = "(x86_64).*-linux" |
| 35 | COMPATIBLE_HOST_libc-musl = "null" | 35 | COMPATIBLE_HOST:libc-musl = "null" |
| 36 | 36 | ||
| 37 | RDEPENDS_${PN} = "bash binutils" | 37 | RDEPENDS:${PN} = "bash binutils" |
| 38 | RDEPENDS_kpatch-build = "bash glibc-utils" | 38 | RDEPENDS:kpatch-build = "bash glibc-utils" |
| 39 | 39 | ||
| 40 | FILES_${PN} = " \ | 40 | FILES:${PN} = " \ |
| 41 | ${sbindir}/kpatch \ | 41 | ${sbindir}/kpatch \ |
| 42 | ${systemd_system_unitdir}/kpatch.service \ | 42 | ${systemd_system_unitdir}/kpatch.service \ |
| 43 | ${mandir}/man1/kpatch.1.gz \ | 43 | ${mandir}/man1/kpatch.1.gz \ |
| 44 | ${sysconfdir}/init/kpatch.conf \ | 44 | ${sysconfdir}/init/kpatch.conf \ |
| 45 | " | 45 | " |
| 46 | FILES_kpatch-build = " \ | 46 | FILES:kpatch-build = " \ |
| 47 | ${bindir}/kpatch-build \ | 47 | ${bindir}/kpatch-build \ |
| 48 | ${libexecdir}/* \ | 48 | ${libexecdir}/* \ |
| 49 | ${datadir}/kpatch \ | 49 | ${datadir}/kpatch \ |
| 50 | ${mandir}/man1/kpatch-build.1.gz \ | 50 | ${mandir}/man1/kpatch-build.1.gz \ |
| 51 | " | 51 | " |
| 52 | 52 | ||
| 53 | SYSTEMD_SERVICE_${PN} = "kpatch.service" | 53 | SYSTEMD_SERVICE:${PN} = "kpatch.service" |
diff --git a/meta-oe/recipes-kernel/libpfm/libpfm4_4.11.0.bb b/meta-oe/recipes-kernel/libpfm/libpfm4_4.11.0.bb index 8ffc99f91b..e476370e05 100644 --- a/meta-oe/recipes-kernel/libpfm/libpfm4_4.11.0.bb +++ b/meta-oe/recipes-kernel/libpfm/libpfm4_4.11.0.bb | |||
| @@ -21,10 +21,10 @@ SRC_URI[sha256sum] = "5da5f8872bde14b3634c9688d980f68bda28b510268723cc12973eedba | |||
| 21 | UPSTREAM_CHECK_URI = "http://sourceforge.net/projects/perfmon2/files/libpfm4/" | 21 | UPSTREAM_CHECK_URI = "http://sourceforge.net/projects/perfmon2/files/libpfm4/" |
| 22 | 22 | ||
| 23 | EXTRA_OEMAKE = "DESTDIR=\"${D}\" PREFIX=\"${prefix}\" LIBDIR=\"${libdir}\" LDCONFIG=\"true\"" | 23 | EXTRA_OEMAKE = "DESTDIR=\"${D}\" PREFIX=\"${prefix}\" LIBDIR=\"${libdir}\" LDCONFIG=\"true\"" |
| 24 | EXTRA_OEMAKE_append_powerpc = " ARCH=\"powerpc\"" | 24 | EXTRA_OEMAKE:append:powerpc = " ARCH=\"powerpc\"" |
| 25 | EXTRA_OEMAKE_append_powerpc64 = " ARCH=\"powerpc\" BITMODE=\"64\"" | 25 | EXTRA_OEMAKE:append:powerpc64 = " ARCH=\"powerpc\" BITMODE=\"64\"" |
| 26 | EXTRA_OEMAKE_append_powerpc64le = " ARCH=\"powerpc\" BITMODE=\"64\"" | 26 | EXTRA_OEMAKE:append:powerpc64le = " ARCH=\"powerpc\" BITMODE=\"64\"" |
| 27 | EXTRA_OEMAKE_append_aarch64 = " ARCH=\"arm64\"" | 27 | EXTRA_OEMAKE:append:aarch64 = " ARCH=\"arm64\"" |
| 28 | 28 | ||
| 29 | S = "${WORKDIR}/libpfm-${PV}" | 29 | S = "${WORKDIR}/libpfm-${PV}" |
| 30 | 30 | ||
diff --git a/meta-oe/recipes-kernel/linux/linux.inc b/meta-oe/recipes-kernel/linux/linux.inc index 9f14370cd8..f134244762 100644 --- a/meta-oe/recipes-kernel/linux/linux.inc +++ b/meta-oe/recipes-kernel/linux/linux.inc | |||
| @@ -34,7 +34,7 @@ kernel_conf_variable() { | |||
| 34 | fi | 34 | fi |
| 35 | } | 35 | } |
| 36 | 36 | ||
| 37 | do_configure_prepend() { | 37 | do_configure:prepend() { |
| 38 | echo "" > ${B}/.config | 38 | echo "" > ${B}/.config |
| 39 | CONF_SED_SCRIPT="" | 39 | CONF_SED_SCRIPT="" |
| 40 | 40 | ||
| @@ -117,15 +117,15 @@ do_configure_prepend() { | |||
| 117 | yes '' | oe_runmake -C ${S} O=${B} oldconfig | 117 | yes '' | oe_runmake -C ${S} O=${B} oldconfig |
| 118 | } | 118 | } |
| 119 | 119 | ||
| 120 | do_configure_append() { | 120 | do_configure:append() { |
| 121 | if test -e scripts/Makefile.fwinst ; then | 121 | if test -e scripts/Makefile.fwinst ; then |
| 122 | sed -i -e "s:-m0644:-m 0644:g" scripts/Makefile.fwinst | 122 | sed -i -e "s:-m0644:-m 0644:g" scripts/Makefile.fwinst |
| 123 | fi | 123 | fi |
| 124 | } | 124 | } |
| 125 | 125 | ||
| 126 | do_install_append() { | 126 | do_install:append() { |
| 127 | oe_runmake headers_install INSTALL_HDR_PATH=${D}${exec_prefix}/src/linux-${KERNEL_VERSION} ARCH=$ARCH | 127 | oe_runmake headers_install INSTALL_HDR_PATH=${D}${exec_prefix}/src/linux-${KERNEL_VERSION} ARCH=$ARCH |
| 128 | } | 128 | } |
| 129 | 129 | ||
| 130 | PACKAGES =+ "kernel-headers" | 130 | PACKAGES =+ "kernel-headers" |
| 131 | FILES_kernel-headers = "${exec_prefix}/src/linux*" | 131 | FILES:kernel-headers = "${exec_prefix}/src/linux*" |
diff --git a/meta-oe/recipes-kernel/makedumpfile/makedumpfile_1.6.9.bb b/meta-oe/recipes-kernel/makedumpfile/makedumpfile_1.6.9.bb index 79bad0a01c..cf34d34d93 100644 --- a/meta-oe/recipes-kernel/makedumpfile/makedumpfile_1.6.9.bb +++ b/meta-oe/recipes-kernel/makedumpfile/makedumpfile_1.6.9.bb | |||
| @@ -14,14 +14,14 @@ SRCBRANCH ?= "master" | |||
| 14 | SRCREV = "a9ad811c15e769c8e6d8d915a05cebc32f2ea2f5" | 14 | SRCREV = "a9ad811c15e769c8e6d8d915a05cebc32f2ea2f5" |
| 15 | 15 | ||
| 16 | DEPENDS = "bzip2 zlib elfutils xz" | 16 | DEPENDS = "bzip2 zlib elfutils xz" |
| 17 | RDEPENDS_${PN}-tools = "perl ${PN}" | 17 | RDEPENDS:${PN}-tools = "perl ${PN}" |
| 18 | 18 | ||
| 19 | # arm and aarch64 would compile but has never been tested upstream. mips would not compile. | 19 | # arm and aarch64 would compile but has never been tested upstream. mips would not compile. |
| 20 | # | 20 | # |
| 21 | COMPATIBLE_HOST = "(x86_64|i.86|powerpc|arm|aarch64).*-linux" | 21 | COMPATIBLE_HOST = "(x86_64|i.86|powerpc|arm|aarch64).*-linux" |
| 22 | 22 | ||
| 23 | PACKAGES =+ "${PN}-tools" | 23 | PACKAGES =+ "${PN}-tools" |
| 24 | FILES_${PN}-tools = "${bindir}/*.pl" | 24 | FILES:${PN}-tools = "${bindir}/*.pl" |
| 25 | 25 | ||
| 26 | SRC_URI = "\ | 26 | SRC_URI = "\ |
| 27 | git://github.com/makedumpfile/makedumpfile;branch=${SRCBRANCH} \ | 27 | git://github.com/makedumpfile/makedumpfile;branch=${SRCBRANCH} \ |
diff --git a/meta-oe/recipes-kernel/minicoredumper/minicoredumper_2.0.1.bb b/meta-oe/recipes-kernel/minicoredumper/minicoredumper_2.0.1.bb index 6a04e78919..1b578d33bb 100644 --- a/meta-oe/recipes-kernel/minicoredumper/minicoredumper_2.0.1.bb +++ b/meta-oe/recipes-kernel/minicoredumper/minicoredumper_2.0.1.bb | |||
| @@ -21,14 +21,14 @@ SRC_URI = "git://github.com/diamon/minicoredumper;protocol=https \ | |||
| 21 | 21 | ||
| 22 | S = "${WORKDIR}/git" | 22 | S = "${WORKDIR}/git" |
| 23 | 23 | ||
| 24 | SYSTEMD_SERVICE_${PN} = "minicoredumper.service" | 24 | SYSTEMD_SERVICE:${PN} = "minicoredumper.service" |
| 25 | SYSTEMD_AUTO_ENABLE = "enable" | 25 | SYSTEMD_AUTO_ENABLE = "enable" |
| 26 | 26 | ||
| 27 | INITSCRIPT_PACKAGES = "${PN}" | 27 | INITSCRIPT_PACKAGES = "${PN}" |
| 28 | INITSCRIPT_NAME_${PN} = "minicoredumper" | 28 | INITSCRIPT_NAME:${PN} = "minicoredumper" |
| 29 | INITSCRIPT_PARAMS_${PN} = "defaults 89" | 29 | INITSCRIPT_PARAMS:${PN} = "defaults 89" |
| 30 | 30 | ||
| 31 | do_install_append() { | 31 | do_install:append() { |
| 32 | rmdir ${D}${localstatedir}/run | 32 | rmdir ${D}${localstatedir}/run |
| 33 | install -d ${D}/${sysconfdir}/minicoredumper | 33 | install -d ${D}/${sysconfdir}/minicoredumper |
| 34 | cp -rf ${S}/etc/* ${D}/${sysconfdir}/ | 34 | cp -rf ${S}/etc/* ${D}/${sysconfdir}/ |
| @@ -44,4 +44,4 @@ do_install_append() { | |||
| 44 | } | 44 | } |
| 45 | 45 | ||
| 46 | # http://errors.yoctoproject.org/Errors/Details/186966/ | 46 | # http://errors.yoctoproject.org/Errors/Details/186966/ |
| 47 | COMPATIBLE_HOST_libc-musl = 'null' | 47 | COMPATIBLE_HOST:libc-musl = 'null' |
diff --git a/meta-oe/recipes-kernel/oprofile/oprofile_1.4.0.bb b/meta-oe/recipes-kernel/oprofile/oprofile_1.4.0.bb index 7a18446823..ee37b6c6b7 100644 --- a/meta-oe/recipes-kernel/oprofile/oprofile_1.4.0.bb +++ b/meta-oe/recipes-kernel/oprofile/oprofile_1.4.0.bb | |||
| @@ -11,11 +11,11 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f \ | |||
| 11 | SECTION = "devel" | 11 | SECTION = "devel" |
| 12 | 12 | ||
| 13 | DEPENDS = "popt binutils" | 13 | DEPENDS = "popt binutils" |
| 14 | DEPENDS_append_powerpc64 = " libpfm4" | 14 | DEPENDS:append:powerpc64 = " libpfm4" |
| 15 | DEPENDS_append_powerpc64le = " libpfm4" | 15 | DEPENDS:append:powerpc64le = " libpfm4" |
| 16 | 16 | ||
| 17 | COMPATIBLE_HOST_riscv64 = "null" | 17 | COMPATIBLE_HOST:riscv64 = "null" |
| 18 | COMPATIBLE_HOST_riscv32 = "null" | 18 | COMPATIBLE_HOST:riscv32 = "null" |
| 19 | 19 | ||
| 20 | SRC_URI = "${SOURCEFORGE_MIRROR}/${BPN}/${BPN}-${PV}.tar.gz \ | 20 | SRC_URI = "${SOURCEFORGE_MIRROR}/${BPN}/${BPN}-${PV}.tar.gz \ |
| 21 | file://acinclude.m4 \ | 21 | file://acinclude.m4 \ |
| @@ -68,8 +68,8 @@ do_install_ptest() { | |||
| 68 | libutil++/tests/file_manip_tests.o ${D}${PTEST_PATH}/libutil++/tests | 68 | libutil++/tests/file_manip_tests.o ${D}${PTEST_PATH}/libutil++/tests |
| 69 | } | 69 | } |
| 70 | 70 | ||
| 71 | RDEPENDS_${PN} = "binutils-symlinks" | 71 | RDEPENDS:${PN} = "binutils-symlinks" |
| 72 | 72 | ||
| 73 | FILES_${PN} = "${bindir} ${libdir}/${BPN}/lib*${SOLIBS} ${datadir}/${BPN}" | 73 | FILES:${PN} = "${bindir} ${libdir}/${BPN}/lib*${SOLIBS} ${datadir}/${BPN}" |
| 74 | FILES_${PN}-dev += "${libdir}/${BPN}/lib*${SOLIBSDEV} ${libdir}/${BPN}/lib*.la" | 74 | FILES:${PN}-dev += "${libdir}/${BPN}/lib*${SOLIBSDEV} ${libdir}/${BPN}/lib*.la" |
| 75 | FILES_${PN}-staticdev += "${libdir}/${BPN}/lib*.a" | 75 | FILES:${PN}-staticdev += "${libdir}/${BPN}/lib*.a" |
diff --git a/meta-oe/recipes-kernel/pm-graph/pm-graph_5.5.bb b/meta-oe/recipes-kernel/pm-graph/pm-graph_5.5.bb index 4d7a1b2d45..06a02bb1c3 100644 --- a/meta-oe/recipes-kernel/pm-graph/pm-graph_5.5.bb +++ b/meta-oe/recipes-kernel/pm-graph/pm-graph_5.5.bb | |||
| @@ -30,6 +30,6 @@ do_install() { | |||
| 30 | install -Dm 0755 ${S}/analyze_suspend.py ${D}${bindir}/analyze_suspend.py | 30 | install -Dm 0755 ${S}/analyze_suspend.py ${D}${bindir}/analyze_suspend.py |
| 31 | } | 31 | } |
| 32 | 32 | ||
| 33 | RDEPENDS_${PN} += "python3-core python3-threading python3-datetime python3-compression" | 33 | RDEPENDS:${PN} += "python3-core python3-threading python3-datetime python3-compression" |
| 34 | RPROVIDES_${PN} = "analyze-suspend" | 34 | RPROVIDES:${PN} = "analyze-suspend" |
| 35 | BBCLASSEXTEND = "native nativesdk" | 35 | BBCLASSEXTEND = "native nativesdk" |
diff --git a/meta-oe/recipes-kernel/spidev-test/spidev-test.bb b/meta-oe/recipes-kernel/spidev-test/spidev-test.bb index 974cb1e93c..3907ed59f3 100644 --- a/meta-oe/recipes-kernel/spidev-test/spidev-test.bb +++ b/meta-oe/recipes-kernel/spidev-test/spidev-test.bb | |||
| @@ -22,7 +22,7 @@ do_install() { | |||
| 22 | 22 | ||
| 23 | PACKAGE_ARCH = "${MACHINE_ARCH}" | 23 | PACKAGE_ARCH = "${MACHINE_ARCH}" |
| 24 | 24 | ||
| 25 | python do_package_prepend() { | 25 | python do_package:prepend() { |
| 26 | d.setVar('PKGV', d.getVar("KERNEL_VERSION", True).split("-")[0]) | 26 | d.setVar('PKGV', d.getVar("KERNEL_VERSION", True).split("-")[0]) |
| 27 | } | 27 | } |
| 28 | 28 | ||
diff --git a/meta-oe/recipes-kernel/trace-cmd/trace-cmd_2.9.1.bb b/meta-oe/recipes-kernel/trace-cmd/trace-cmd_2.9.1.bb index 906ca2c1f3..2735ee78a5 100644 --- a/meta-oe/recipes-kernel/trace-cmd/trace-cmd_2.9.1.bb +++ b/meta-oe/recipes-kernel/trace-cmd/trace-cmd_2.9.1.bb | |||
| @@ -16,4 +16,4 @@ do_install() { | |||
| 16 | mv ${D}/${libdir}/traceevent/plugins/*.so ${D}${libdir}/traceevent/plugins/${BPN}/ | 16 | mv ${D}/${libdir}/traceevent/plugins/*.so ${D}${libdir}/traceevent/plugins/${BPN}/ |
| 17 | } | 17 | } |
| 18 | 18 | ||
| 19 | FILES_${PN} += "${libdir}/traceevent/plugins" | 19 | FILES:${PN} += "${libdir}/traceevent/plugins" |
diff --git a/meta-oe/recipes-kernel/turbostat/turbostat_3.4.bb b/meta-oe/recipes-kernel/turbostat/turbostat_3.4.bb index 48c72140c8..c9f946459e 100644 --- a/meta-oe/recipes-kernel/turbostat/turbostat_3.4.bb +++ b/meta-oe/recipes-kernel/turbostat/turbostat_3.4.bb | |||
| @@ -14,7 +14,7 @@ processors." | |||
| 14 | LICENSE = "GPLv2" | 14 | LICENSE = "GPLv2" |
| 15 | LIC_FILES_CHKSUM = "file://../COPYING;md5=bbea815ee2795b2f4230826c0c6b8814" | 15 | LIC_FILES_CHKSUM = "file://../COPYING;md5=bbea815ee2795b2f4230826c0c6b8814" |
| 16 | COMPATIBLE_HOST = '(x86_64.*|i.86.*)-linux' | 16 | COMPATIBLE_HOST = '(x86_64.*|i.86.*)-linux' |
| 17 | COMPATIBLE_HOST_libc-musl = "null" | 17 | COMPATIBLE_HOST:libc-musl = "null" |
| 18 | 18 | ||
| 19 | SRC_URI += "\ | 19 | SRC_URI += "\ |
| 20 | file://COPYING \ | 20 | file://COPYING \ |
| @@ -38,7 +38,7 @@ EXTRA_OEMAKE = '\ | |||
| 38 | # do_configure() is invoked so we can safely copy from it. | 38 | # do_configure() is invoked so we can safely copy from it. |
| 39 | # | 39 | # |
| 40 | do_configure[depends] += "virtual/kernel:do_shared_workdir" | 40 | do_configure[depends] += "virtual/kernel:do_shared_workdir" |
| 41 | do_configure_prepend() { | 41 | do_configure:prepend() { |
| 42 | mkdir -p ${S} | 42 | mkdir -p ${S} |
| 43 | cp -r ${STAGING_KERNEL_DIR}/arch/x86/include/asm/msr-index.h ${S} | 43 | cp -r ${STAGING_KERNEL_DIR}/arch/x86/include/asm/msr-index.h ${S} |
| 44 | cp -r ${STAGING_KERNEL_DIR}/arch/x86/include/asm/intel-family.h ${S} | 44 | cp -r ${STAGING_KERNEL_DIR}/arch/x86/include/asm/intel-family.h ${S} |
