package/binutils: install libopcodes to target/
libopcodes was installed in staging/ in commit6a508d9361
(binutils: Also install libopcodes in staging), but was not installed in target/ Starting with linux-5.6, perf (linux-tools) will link to libopcodes when it is present. Since it is available in staging, the build succeeds. However, libopcodes missing in target, perf fails at runtime: perf: ...libopcodes-2.33.1.so: cannot open shared object file Install libopcodes to target as well. Signed-off-by: Lecopzer Chen <lecopzer@gmail.com> [yann.morin.1998@free.fr: reword commit log] Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr> (cherry picked from commitafceb76e43
) Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
parent
2f7183d131
commit
0d2a3c95dd
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user