diff options
| author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2025-01-06 16:01:44 +0000 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2025-01-10 11:23:45 +0000 |
| commit | 68fee9588bc2a3f65f6ece467f6e0d2e0f8d8ec2 (patch) | |
| tree | 4294e0eab0a88e6598ca8d1fefcc8d3566cb3d3d | |
| parent | a619a39d1575b76d9a89d4d7420a321465b8e676 (diff) | |
| download | poky-68fee9588bc2a3f65f6ece467f6e0d2e0f8d8ec2.tar.gz | |
coreutils: Improve core-utils-native dependency handling
bash-dev-native does not exist, nor should it. Tweak the recipe so that if/as/when
we fix native ${PN}-XXX handling, this doesn't break. Use variable indirection
as the least worse solution as an override directly will get overwritten with
variable renaming, resulting in a warning.
(From OE-Core rev: 879590563bc43a303e77541cd99979a449d9bfed)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
| -rw-r--r-- | meta/recipes-core/coreutils/coreutils_9.5.bb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/meta/recipes-core/coreutils/coreutils_9.5.bb b/meta/recipes-core/coreutils/coreutils_9.5.bb index af0fcdcc4c..ae07cba164 100644 --- a/meta/recipes-core/coreutils/coreutils_9.5.bb +++ b/meta/recipes-core/coreutils/coreutils_9.5.bb | |||
| @@ -182,7 +182,9 @@ RDEPENDS:${PN}-ptest += "bash findutils gawk make perl perl-modules python3-core | |||
| 182 | # may need tweaking if DEPENDS changes | 182 | # may need tweaking if DEPENDS changes |
| 183 | # Can't use ${PN}-dev here since flags with overrides and key expansion not supported | 183 | # Can't use ${PN}-dev here since flags with overrides and key expansion not supported |
| 184 | RRECOMMENDS:coreutils-dev[nodeprrecs] = "1" | 184 | RRECOMMENDS:coreutils-dev[nodeprrecs] = "1" |
| 185 | RRECOMMENDS:${PN}-dev += "acl-dev attr-dev gmp-dev libcap-dev bash-dev findutils-dev gawk-dev shadow-dev" | 185 | DEVDEPS = "acl-dev attr-dev gmp-dev libcap-dev bash-dev findutils-dev gawk-dev shadow-dev" |
| 186 | DEVDEPS:class-native = "" | ||
| 187 | RRECOMMENDS:${PN}-dev += "${DEVDEPS}" | ||
| 186 | 188 | ||
| 187 | do_install_ptest () { | 189 | do_install_ptest () { |
| 188 | install -d ${D}${PTEST_PATH}/tests | 190 | install -d ${D}${PTEST_PATH}/tests |
