From: Lecopzer Chen <lecopzer@gmail.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 1/1] package/binutils: install libopcodes for perf
Date: Thu, 14 May 2020 01:02:33 +0800 [thread overview]
Message-ID: <20200513170233.2983421-1-lecopzer@gmail.com> (raw)
After 5.6.x linux-tool perf installed, it can't be executed due
to lack of libopcodes:
perf: ...libopcodes-2.33.1.so: cannot open shared object file
Signed-off-by: Lecopzer Chen <lecopzer@gmail.com>
---
package/binutils/binutils.mk | 1 +
1 file changed, 1 insertion(+)
diff --git a/package/binutils/binutils.mk b/package/binutils/binutils.mk
index 876c9c59f8..81308e2e81 100644
--- a/package/binutils/binutils.mk
+++ b/package/binutils/binutils.mk
@@ -112,6 +112,7 @@ endef
ifneq ($(BR2_PACKAGE_BINUTILS_TARGET),y)
define BINUTILS_INSTALL_TARGET_CMDS
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D)/bfd DESTDIR=$(TARGET_DIR) install
+ $(TARGET_MAKE_ENV) $(MAKE) -C $(@D)/opcodes DESTDIR=$(TARGET_DIR) install
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D)/libiberty DESTDIR=$(STAGING_DIR) install
endef
endif
--
2.25.1
next reply other threads:[~2020-05-13 17:02 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-05-13 17:02 Lecopzer Chen [this message]
2020-05-13 19:55 ` [Buildroot] [PATCH 1/1] package/binutils: install libopcodes for perf Yann E. MORIN
2020-05-22 7:42 ` Peter Korsgaard
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20200513170233.2983421-1-lecopzer@gmail.com \
--to=lecopzer@gmail.com \
--cc=buildroot@busybox.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox