diff options
author | Claus Stovgaard <claus.stovgaard@gmail.com> | 2024-02-01 16:46:52 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2024-02-03 21:43:35 +0000 |
commit | 4c1eefd0c3de5669f0841b8b336eb67f2d7bfc10 (patch) | |
tree | d1f665f99af85feccd42afea15ece439ccb71894 /meta | |
parent | 11b804bbf1bda2dd57c3632062890a9d59edcd3a (diff) | |
download | poky-4c1eefd0c3de5669f0841b8b336eb67f2d7bfc10.tar.gz |
kernel-devsrc: RDEPENDS on gawk
In reality all architectures have been depending on awk / gawk for
significant time.
gawk directly since v5.10 as it introduced scripts/check-sysctl-docs
grep for /usr/bin/awk results in
* arch/x86/tools/gen-insn-attr-x86.awk:#!/usr/bin/awk -f
* scripts/ver_linux:#!/usr/bin/awk -f
* tools/arch/x86/tools/gen-insn-attr-86.awk:#!/usr/bin/awk -f
So instead of relying on other recipes adding gawk - RDEPEND on it.
(From OE-Core rev: b55b07cd3660c7ff151e9456e85c5163978a1027)
Signed-off-by: Claus Stovgaard <claus.stovgaard@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/recipes-kernel/linux/kernel-devsrc.bb | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/meta/recipes-kernel/linux/kernel-devsrc.bb b/meta/recipes-kernel/linux/kernel-devsrc.bb index 4ff751d9f0..9c3c09e714 100644 --- a/meta/recipes-kernel/linux/kernel-devsrc.bb +++ b/meta/recipes-kernel/linux/kernel-devsrc.bb | |||
@@ -390,7 +390,7 @@ do_install[lockfiles] = "${TMPDIR}/kernel-scripts.lock" | |||
390 | FILES:${PN} = "${KERNEL_BUILD_ROOT} ${KERNEL_SRC_PATH}" | 390 | FILES:${PN} = "${KERNEL_BUILD_ROOT} ${KERNEL_SRC_PATH}" |
391 | FILES:${PN}-dbg += "${KERNEL_BUILD_ROOT}*/build/scripts/*/.debug/*" | 391 | FILES:${PN}-dbg += "${KERNEL_BUILD_ROOT}*/build/scripts/*/.debug/*" |
392 | 392 | ||
393 | RDEPENDS:${PN} = "bc python3-core flex bison ${TCLIBC}-utils" | 393 | RDEPENDS:${PN} = "bc python3-core flex bison ${TCLIBC}-utils gawk" |
394 | # 4.15+ needs these next two RDEPENDS | 394 | # 4.15+ needs these next two RDEPENDS |
395 | RDEPENDS:${PN} += "openssl-dev util-linux" | 395 | RDEPENDS:${PN} += "openssl-dev util-linux" |
396 | # and x86 needs a bit more for 4.15+ | 396 | # and x86 needs a bit more for 4.15+ |
@@ -399,7 +399,5 @@ RDEPENDS:${PN} += "${@bb.utils.contains('ARCH', 'x86', 'elfutils-dev', '', d)}" | |||
399 | RDEPENDS:${PN} += "${@bb.utils.contains('ARCH', 'powerpc', 'elfutils-dev', '', d)}" | 399 | RDEPENDS:${PN} += "${@bb.utils.contains('ARCH', 'powerpc', 'elfutils-dev', '', d)}" |
400 | # 5.8+ needs gcc-plugins libmpc-dev | 400 | # 5.8+ needs gcc-plugins libmpc-dev |
401 | RDEPENDS:${PN} += "gcc-plugins libmpc-dev" | 401 | RDEPENDS:${PN} += "gcc-plugins libmpc-dev" |
402 | # 5.13+ needs awk for arm64 | ||
403 | RDEPENDS:${PN}:append:aarch64 = " gawk" | ||
404 | # 5.13+ needs grep for powerpc | 402 | # 5.13+ needs grep for powerpc |
405 | RDEPENDS:${PN}:append:powerpc = " grep" | 403 | RDEPENDS:${PN}:append:powerpc = " grep" |