* [Buildroot] [PATCH 1/1] package/binutils: install libopcodes for perf
@ 2020-05-13 17:02 Lecopzer Chen
2020-05-13 19:55 ` Yann E. MORIN
0 siblings, 1 reply; 3+ messages in thread
From: Lecopzer Chen @ 2020-05-13 17:02 UTC (permalink / raw)
To: buildroot
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
^ permalink raw reply related [flat|nested] 3+ messages in thread* [Buildroot] [PATCH 1/1] package/binutils: install libopcodes for perf
2020-05-13 17:02 [Buildroot] [PATCH 1/1] package/binutils: install libopcodes for perf Lecopzer Chen
@ 2020-05-13 19:55 ` Yann E. MORIN
2020-05-22 7:42 ` Peter Korsgaard
0 siblings, 1 reply; 3+ messages in thread
From: Yann E. MORIN @ 2020-05-13 19:55 UTC (permalink / raw)
To: buildroot
Lecopzer, All,
On 2020-05-14 01:02 +0800, Lecopzer Chen spake thusly:
> 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>
Applied to master, with an expanded commit log to reference the origianl
commit adding libopcodes to staging. Thanks!
Regards,
Yann E. MORIN.
> ---
> 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
>
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot
--
.-----------------.--------------------.------------------.--------------------.
| Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ |
| +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. |
'------------------------------^-------^------------------^--------------------'
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Buildroot] [PATCH 1/1] package/binutils: install libopcodes for perf
2020-05-13 19:55 ` Yann E. MORIN
@ 2020-05-22 7:42 ` Peter Korsgaard
0 siblings, 0 replies; 3+ messages in thread
From: Peter Korsgaard @ 2020-05-22 7:42 UTC (permalink / raw)
To: buildroot
>>>>> "Yann" == Yann E MORIN <yann.morin.1998@free.fr> writes:
> Lecopzer, All,
> On 2020-05-14 01:02 +0800, Lecopzer Chen spake thusly:
>> 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>
> Applied to master, with an expanded commit log to reference the origianl
> commit adding libopcodes to staging. Thanks!
Committed to 2020.02.x, thanks.
--
Bye, Peter Korsgaard
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2020-05-22 7:42 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-05-13 17:02 [Buildroot] [PATCH 1/1] package/binutils: install libopcodes for perf Lecopzer Chen
2020-05-13 19:55 ` Yann E. MORIN
2020-05-22 7:42 ` Peter Korsgaard
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox