All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] package: do_package should depend on binutils
@ 2022-03-01 15:25 Ross Burton
  2022-03-02 10:00 ` [OE-core] " Lee, Chee Yang
  0 siblings, 1 reply; 2+ messages in thread
From: Ross Burton @ 2022-03-01 15:25 UTC (permalink / raw)
  To: openembedded-core

splitdebuginfo() in do_package uses objcopy, but there is no dependency.
It usually gets pulled in via the toolchain but if
INHIBIT_DEFAULT_DEPS="1" there is no dependency on a toolchain, so make
it explicit.

Signed-off-by: Ross Burton <ross.burton@arm.com>
---
 meta/classes/package.bbclass | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/meta/classes/package.bbclass b/meta/classes/package.bbclass
index f822258150..4b72bf2039 100644
--- a/meta/classes/package.bbclass
+++ b/meta/classes/package.bbclass
@@ -53,6 +53,8 @@ ALL_MULTILIB_PACKAGE_ARCHS = "${@all_multilib_tune_values(d, 'PACKAGE_ARCHS')}"
 # rpm is used for the per-file dependency identification
 # dwarfsrcfiles is used to determine the list of debug source files
 PACKAGE_DEPENDS += "rpm-native dwarfsrcfiles-native"
+PACKAGE_DEPENDS:append:class-target = " virtual/${TARGET_PREFIX}binutils"
+PACKAGE_DEPENDS:append:class-nativesdk = " virtual/${SDK_PREFIX}binutils-crosssdk"
 
 
 # If your postinstall can execute at rootfs creation time rather than on
-- 
2.25.1



^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-03-02 10:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-03-01 15:25 [PATCH] package: do_package should depend on binutils Ross Burton
2022-03-02 10:00 ` [OE-core] " Lee, Chee Yang

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.