From 213e01ae9cdff5937d7022d53212aa9c9dd720e1 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 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 --- package/binutils/binutils.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/package/binutils/binutils.mk b/package/binutils/binutils.mk index 5c5c8fc466..c6a6380be9 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