From 8b5a8f2cc62d6505b7b2fbef3ec009a790c82754 Mon Sep 17 00:00:00 2001 From: Sergey Matyukevich Date: Tue, 27 Aug 2024 00:44:24 +0300 Subject: [PATCH] package/binutils: install libsframe to target MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Starting from v2.40, binutils provides libsframe, a library for manipulating the SFRAME debug format. Buildroot installs libsframe to the target image only if BR2_PACKAGE_BINUTILS_TARGET option is enabled. However other dynamic libraries from binutils are linked against libsframe, including libbfd and libopcodes. Any binary linked dynamically against libbfd, e.g. perf, will need libsframe as well. So libsframe should always be installed the target together with other binutils libraries such as libbfd and libopcodes. Signed-off-by: Sergey Matyukevich Signed-off-by: Thomas Petazzoni (cherry picked from commit 213e01ae9cdff5937d7022d53212aa9c9dd720e1) Signed-off-by: Raphaël Mélotte --- package/binutils/binutils.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/package/binutils/binutils.mk b/package/binutils/binutils.mk index 3ee47793c5..fa57e3c5da 100644 --- a/package/binutils/binutils.mk +++ b/package/binutils/binutils.mk @@ -126,6 +126,7 @@ 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)/libsframe DESTDIR=$(TARGET_DIR) install endef endif