diff options
| author | Chen Qi <Qi.Chen@windriver.com> | 2025-04-20 12:05:27 +0800 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2025-04-24 11:27:06 +0100 |
| commit | ced2a38e19afcb8cb1afbf5517168490bfce6afa (patch) | |
| tree | 8cddc06986145ac2f587201b75adb7dae35857b2 | |
| parent | 416a5dff54af51f66c838431d436723537b2af9f (diff) | |
| download | poky-ced2a38e19afcb8cb1afbf5517168490bfce6afa.tar.gz | |
image/populate_sdk.bbclass: drop qemuwrapper-cross from DEPENDS
For packages that need qemuwrapper-cross, they should have it
in PAKAGE_WRITE_DEPS.
Now that we've used 'qemuwrapper-cross' to replace 'qemu-native'
for recipes that need qemu-native for their postinsts, and we've
now mapped PACKAGE_WRITE_DEPS for nativesdk recipes, these
qemuwrapper-cross dependencies can be dropped from image.bbclass
and populate_sdk.bbclass.
(From OE-Core rev: fbac8d025585fe704f79ccdf00f376f677e3a89d)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
| -rw-r--r-- | meta/classes-recipe/image.bbclass | 2 | ||||
| -rw-r--r-- | meta/classes-recipe/populate_sdk_base.bbclass | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/meta/classes-recipe/image.bbclass b/meta/classes-recipe/image.bbclass index 378d3bd0d4..dc4ce5c0a9 100644 --- a/meta/classes-recipe/image.bbclass +++ b/meta/classes-recipe/image.bbclass | |||
| @@ -30,7 +30,7 @@ POPULATE_SDK_POST_TARGET_COMMAND += "rootfs_sysroot_relativelinks" | |||
| 30 | 30 | ||
| 31 | LICENSE ?= "MIT" | 31 | LICENSE ?= "MIT" |
| 32 | PACKAGES = "" | 32 | PACKAGES = "" |
| 33 | DEPENDS += "${@' '.join(["%s-qemuwrapper-cross" % m for m in d.getVar("MULTILIB_VARIANTS").split()])} qemuwrapper-cross depmodwrapper-cross cross-localedef-native" | 33 | DEPENDS += "depmodwrapper-cross cross-localedef-native" |
| 34 | RDEPENDS += "${PACKAGE_INSTALL} ${LINGUAS_INSTALL} ${IMAGE_INSTALL_DEBUGFS}" | 34 | RDEPENDS += "${PACKAGE_INSTALL} ${LINGUAS_INSTALL} ${IMAGE_INSTALL_DEBUGFS}" |
| 35 | RRECOMMENDS += "${PACKAGE_INSTALL_ATTEMPTONLY}" | 35 | RRECOMMENDS += "${PACKAGE_INSTALL_ATTEMPTONLY}" |
| 36 | PATH:prepend = "${@":".join(all_multilib_tune_values(d, 'STAGING_BINDIR_CROSS').split())}:" | 36 | PATH:prepend = "${@":".join(all_multilib_tune_values(d, 'STAGING_BINDIR_CROSS').split())}:" |
diff --git a/meta/classes-recipe/populate_sdk_base.bbclass b/meta/classes-recipe/populate_sdk_base.bbclass index f111466b4c..238cb1ee6e 100644 --- a/meta/classes-recipe/populate_sdk_base.bbclass +++ b/meta/classes-recipe/populate_sdk_base.bbclass | |||
| @@ -109,7 +109,7 @@ python () { | |||
| 109 | } | 109 | } |
| 110 | 110 | ||
| 111 | SDK_RDEPENDS = "${TOOLCHAIN_TARGET_TASK} ${TOOLCHAIN_HOST_TASK}" | 111 | SDK_RDEPENDS = "${TOOLCHAIN_TARGET_TASK} ${TOOLCHAIN_HOST_TASK}" |
| 112 | SDK_DEPENDS = "virtual/fakeroot-native ${SDK_ARCHIVE_DEPENDS} cross-localedef-native nativesdk-qemuwrapper-cross ${@' '.join(["%s-qemuwrapper-cross" % m for m in d.getVar("MULTILIB_VARIANTS").split()])} qemuwrapper-cross" | 112 | SDK_DEPENDS = "virtual/fakeroot-native ${SDK_ARCHIVE_DEPENDS} cross-localedef-native" |
| 113 | PATH:prepend = "${WORKDIR}/recipe-sysroot/${SDKPATHNATIVE}${bindir}/crossscripts:${@":".join(all_multilib_tune_values(d, 'STAGING_BINDIR_CROSS').split())}:" | 113 | PATH:prepend = "${WORKDIR}/recipe-sysroot/${SDKPATHNATIVE}${bindir}/crossscripts:${@":".join(all_multilib_tune_values(d, 'STAGING_BINDIR_CROSS').split())}:" |
| 114 | SDK_DEPENDS += "nativesdk-glibc-locale" | 114 | SDK_DEPENDS += "nativesdk-glibc-locale" |
| 115 | 115 | ||
