diff options
Diffstat (limited to 'meta-oe/recipes-kernel')
-rw-r--r-- | meta-oe/recipes-kernel/bpftool/bpftool.bb | 2 | ||||
-rw-r--r-- | meta-oe/recipes-kernel/cpupower/cpupower.bb | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/meta-oe/recipes-kernel/bpftool/bpftool.bb b/meta-oe/recipes-kernel/bpftool/bpftool.bb index dd7eaa2aa..f75ac6f81 100644 --- a/meta-oe/recipes-kernel/bpftool/bpftool.bb +++ b/meta-oe/recipes-kernel/bpftool/bpftool.bb | |||
@@ -27,7 +27,7 @@ do_install() { | |||
27 | PACKAGE_ARCH = "${MACHINE_ARCH}" | 27 | PACKAGE_ARCH = "${MACHINE_ARCH}" |
28 | 28 | ||
29 | python do_package_prepend() { | 29 | python do_package_prepend() { |
30 | d.setVar('PKGV', d.getVar("KERNEL_VERSION", True).split("-")[0]) | 30 | d.setVar('PKGV', d.getVar("KERNEL_VERSION").split("-")[0]) |
31 | } | 31 | } |
32 | 32 | ||
33 | B = "${WORKDIR}/${BPN}-${PV}" | 33 | B = "${WORKDIR}/${BPN}-${PV}" |
diff --git a/meta-oe/recipes-kernel/cpupower/cpupower.bb b/meta-oe/recipes-kernel/cpupower/cpupower.bb index 4544f5b2e..928973871 100644 --- a/meta-oe/recipes-kernel/cpupower/cpupower.bb +++ b/meta-oe/recipes-kernel/cpupower/cpupower.bb | |||
@@ -30,7 +30,7 @@ PACKAGE_ARCH = "${MACHINE_ARCH}" | |||
30 | RDEPENDS_${PN} = "bash" | 30 | RDEPENDS_${PN} = "bash" |
31 | 31 | ||
32 | python do_package_prepend() { | 32 | python do_package_prepend() { |
33 | d.setVar('PKGV', d.getVar("KERNEL_VERSION", True).split("-")[0]) | 33 | d.setVar('PKGV', d.getVar("KERNEL_VERSION").split("-")[0]) |
34 | } | 34 | } |
35 | 35 | ||
36 | B = "${WORKDIR}/${BPN}-${PV}" | 36 | B = "${WORKDIR}/${BPN}-${PV}" |